[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: AV1_logo_2018.png (151 KB, 2780x1543)
151 KB PNG
What other places besides this one support AV1 uploads?

https://umigalaxy.com/explore/technology/629/ssimav1-script-v21

Also windows script to automatically get an AV1 encode that hits a desired SSIM score:

@echo off & setlocal enabledelayedexpansion & set "crf=60" & set "mincrf=20"

set "base_av1=-c:v libsvtav1 -preset 4 -pix_fmt yuv420p10le -svtav1-params"
set "psy_av1=keyint=5s:lookahead=120:tune=0:enable-variance-boost=1:variance-boost-strength=3:variance-octile=4"
set "opus=-c:a libopus -b:a 128k" & set "ffquiet=-hide_banner -loglevel quiet"

echo Weclome to my auto-SSIM AV1 encoder, only input.mp4 accepted, choose desired SSIM:
echo 1= 0.995 (autism quality) & echo 2= 0.990 (very high quality) & echo 3= 0.980 (high quality)
choice /c 123 /m "Enter number option on keyboard: "
if errorlevel 3 set ssim_target=980
if errorlevel 2 set ssim_target=990
if errorlevel 1 set ssim_target=995
echo:
:loop
ffmpeg !ffquiet! -i input.mp4 -crf !crf! !base_av1! !psy_av1! !opus! -y AV1_CRF-!crf!.webm 2>nul

for /f "delims=" %%A in ('ffmpeg -nostdin -r 30 -i AV1_CRF-!crf!.webm -nostdin -r 30 -i input.mp4 ^
-filter_complex "[0:v]format=yuv420p10le[v0];[1:v]format=yuv420p10le[v1];[v0][v1]ssim" -f null - 2^>^&1 ^| findstr "All:"') do set "a=%%A"

set "a=!a:*All:0.=!" & set "ssim=!a:~0,3!" & echo SSIM: 0.!ssim! @ CRF !crf! & echo:

if !ssim! lss !ssim_target! (if !crf! gtr !mincrf! (del /s /q AV1_CRF-!crf!.webm >nul 2>&1 & set /a crf-=2 & goto loop) )
:end

for %%Y in ("input.mp4") do set /a kb_mp4=(%%~zY+1023)/1024 & for %%Y in ("AV1_CRF-!crf!.webm") do set /a kb_webm=(%%~zY+1023)/1024
set /a saved_pct=(kb_mp4-kb_webm)*100/kb_mp4 & echo MP4= !kb_mp4! KB & echo AV1= !kb_webm! KB
echo **** !saved_pct!%% filesize reduction achieved with AV1 ****

pause
>>
>encoding to hit an algorithmic metric
no fucking wonder modern video looks like blurry dogshit
>>
File: Untitled23.png (143 KB, 649x884)
143 KB PNG
>>110055065
picrel

You can swap this out for whatever flavor of the month metric that calculates at 0.1 FPS if you so desire but SSIM is a good approximate quality marker used by big industry giants that can be calculated quickly.
>>
>>110055065
OP is using SSIM not VMAF. I thought VMAF was the thing netflix was using for their bit starved trash streams?
>>
File: 1776954200695393.png (464 KB, 697x646)
464 KB PNG
>>110055055
I found one.

https://kissu.moe/b/thread/16349
>>
http://lambdaplusjs35padjaiz4jw2fugdoeutse
262phqr72uf634s2wdbqd.onion/tech/762#P1260
Honestly, it's not hard at all for an imageboard to support AV1; all the work has been done on ffmpeg's side, so it's just a matter of adding the codec to your imageboard's whitelist. (All you imageboard owners do have a codec whitelist instead of letting ffmpeg decode whatever codec it autodetects, right? Very bad for security if you don't.)
>>
>>110055754
Onions are scary desu.
>>
>>110055055
go away umischizo
>>
>>110057010
WRONG, this is the AV1shizo
>>
File: 1762290277218646.png (8 KB, 588x330)
8 KB PNG
Since AV1 is now considered outdated will 4chan adopt it?

Or do we have to wait until AV3 comes out?



[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.