2025-01-29, 04:43 PM
(This post was last modified: 2025-01-29, 04:44 PM by TheDreadPirate. Edited 1 time in total.)
We forgot to map the video. lol
You could also simply do this to map all input streams to the output file. You'd remove all the per stream type mappings and replace it with this.
If you are specifying a mapping per stream type, you should also add this to ensure you also grab all the attachments, often fonts for text based subtitles.
Code:
-map 0:v
You could also simply do this to map all input streams to the output file. You'd remove all the per stream type mappings and replace it with this.
Code:
-map 0
If you are specifying a mapping per stream type, you should also add this to ensure you also grab all the attachments, often fonts for text based subtitles.
Code:
-map 0:t?
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +nobuffer+discardcorrupt+genpts+flush_packets -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -extra_hw_frames 40 -i ballon.1080p.mkv -map 0:v -c:v av1_qsv -preset veryslow -extbrc 1 -low_delay_brc 1 -look_ahead_depth 40 -b:v 1M -bufsize 2M -rc_init_occupancy 512K -adaptive_i 1 -adaptive_b 1 -b_strategy 1 -bf 7 -map 0:a? -c:a copy -map 0:s? -c:s copy -map 0:t? -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled ballon.av1.mkv