2024-08-06, 04:56 PM
surprisingly it gives an error.
Tried to fix it but it didn't work. Should I change something?
I tried to change it to
and it returned
anything else I can check?
Many thanks for your help!
Tried to fix it but it didn't work. Should I change something?
Code:
[NULL @ 0x5583fa73b700] Unable to find a suitable output format for 'aac'
aac: Invalid argument
I tried to change it to
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "/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 -c:v h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames 0 -c:a aac -ac 2 -b:a 384k -af "volume=2" -avoid_negative_ts disabled output.mkv
and it returned
Code:
[h264_vaapi @ 0x556b12d57840] No usable encoding profile found.
[vost#0:0/h264_vaapi @ 0x556b12d57540] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x556b12e154c0] Qavg: 64051.414
[aac @ 0x556b12e154c0] 2 frames left in the queue on closing
anything else I can check?
Many thanks for your help!
(2024-08-05, 10:46 PM)TheDreadPirate Wrote: 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