[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: giphy (1).gif (140 KB, 500x382)
140 KB
140 KB GIF
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/AV1

407KB 1920x816 4:2:0 8-bit using BT.709 + limited color range
https://files.catbox.moe/l39tsm.avif

[STREAM]
index=0
codec_name=av1
codec_long_name=Alliance for Open Media AV1
profile=Main
codec_type=video
codec_tag_string=av01
codec_tag=0x31307661
width=1920
height=816
coded_width=1920
coded_height=816
closed_captions=0
film_grain=0
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=40:17
pix_fmt=yuv420p
level=8
color_range=tv
color_space=bt709
color_transfer=bt709
color_primaries=bt709
chroma_location=unspecified
field_order=unknown
refs=1
id=0x1
r_frame_rate=1/1
avg_frame_rate=1/1
time_base=1/1
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=1
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=4
>>
File: out.png (1.14 MB, 1920x816)
1.14 MB
1.14 MB PNG
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...
>>
File: 1730716111027074-fs8.png (2.68 MB, 3000x4544)
2.68 MB
2.68 MB PNG
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.avif


https://files.catbox.moe/3w8ove.avif
>>
File: in.gif (428 KB, 540x540)
428 KB
428 KB GIF
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



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.