2024-08-05, 10:46 PM
That thread is old and using a much older version of ffmpeg. Let's simplify the command to something that should run on the current ffmpeg.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames:0 -codec:a:0 aac -ac 2 -ab 384000 -af "volume=2" -avoid_negative_ts disabled output.mkv