Is this doing what I think it's doing? Source is 8-bit x265 movie encode using BT.709 + limited color range (ie default I think).ffmpeg -i test.mkv -vf "select='eq(n\,1121)'" -frames:v 1 -c:v libaom-av1 -cpu-used 4 -crf 0 out.avif>Use -crf 0 for lossless encoding.https://trac.ffmpeg.org/wiki/Encode/AV1407KB 1920x816 4:2:0 8-bit using BT.709 + limited color rangehttps://files.catbox.moe/l39tsm.avif[STREAM]index=0codec_name=av1codec_long_name=Alliance for Open Media AV1profile=Maincodec_type=videocodec_tag_string=av01codec_tag=0x31307661width=1920height=816coded_width=1920coded_height=816closed_captions=0film_grain=0has_b_frames=0sample_aspect_ratio=1:1display_aspect_ratio=40:17pix_fmt=yuv420plevel=8color_range=tvcolor_space=bt709color_transfer=bt709color_primaries=bt709chroma_location=unspecifiedfield_order=unknownrefs=1id=0x1r_frame_rate=1/1avg_frame_rate=1/1time_base=1/1start_pts=0start_time=0.000000duration_ts=N/Aduration=N/Abit_rate=N/Amax_bit_rate=N/Abits_per_raw_sample=N/Anb_frames=1nb_read_frames=N/Anb_read_packets=N/Aextradata_size=4
ffmpeg -i test.mkv -vf "select='eq(n\,1121)'" -frames:v 1 -c:v libaom-av1 -cpu-used 4 -crf 0 out.avif
[STREAM]index=0codec_name=av1codec_long_name=Alliance for Open Media AV1profile=Maincodec_type=videocodec_tag_string=av01codec_tag=0x31307661width=1920height=816coded_width=1920coded_height=816closed_captions=0film_grain=0has_b_frames=0sample_aspect_ratio=1:1display_aspect_ratio=40:17pix_fmt=yuv420plevel=8color_range=tvcolor_space=bt709color_transfer=bt709color_primaries=bt709chroma_location=unspecifiedfield_order=unknownrefs=1id=0x1r_frame_rate=1/1avg_frame_rate=1/1time_base=1/1start_pts=0start_time=0.000000duration_ts=N/Aduration=N/Abit_rate=N/Amax_bit_rate=N/Abits_per_raw_sample=N/Anb_frames=1nb_read_frames=N/Anb_read_packets=N/Aextradata_size=4
PNG related is what I'm talking about, which I obviously expected to be around if not smaller than the lossless AVIF file. Since we've all unanimously agreed that lossless AVIF compression is DOGSHIT, right?The file size makes 0 sense and going from full 444 chroma to 420 chroma shouldn't slice file size in half...
93KB in the high quality range. Huh...ffmpeg -i test.mkv -vf "select='eq(n\,1121)'" -frames:v 1 -c:v libaom-av1 -cpu-used 4 -crf 10 out.avifhttps://files.catbox.moe/3w8ove.avif
ffmpeg -i test.mkv -vf "select='eq(n\,1121)'" -frames:v 1 -c:v libaom-av1 -cpu-used 4 -crf 10 out.avif
Bump. Don't any of you fucking nerds think it's cool that we can create lossless screenshots from blu-rays without the bloat of RGB lossless compression? It seems to work on any frame, as if the video was encodede with jpeg2000...Sure you might have to split your video if you don't like waiting an hour but this sounds like a pretty cool powershell script in the making.
AVIF a shit, real niggas waiting for Google to stop cucking JXL