2023-07-18, 05:17 PM
Your experience lines up with the linked documentation, unless you add the flag to enable HEVC support. (I believe this is a fairly recent addition to Chrome, which did not support it for a long time.)
I would like to know why a video is being transcoded despite the documentation stating that both the video and audio codecs are supported, and looking for help figuring out why it flags the audio codec as not supported, but then copies it with ffmpeg:
Note especially:
after flagging this as the reason for transcoding
I would like to know why a video is being transcoded despite the documentation stating that both the video and audio codecs are supported, and looking for help figuring out why it flags the audio codec as not supported, but then copies it with ffmpeg:
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -ss 00:02:48.000 -f matroska,webm -autorotate 0 -i file:"/media/jellyfin/series/Community/Season 3/Community s03e10 - av1.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 3600668 -bufsize 7201336 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,168+n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -codec:a:0 copy -copyts ...
Note especially:
Code:
-codec:a:0 copy