View Single Post
Old 9th May 2023, 13:06   #29  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
And... I'm back, 'cause I have to encode more trailers for the website.
I'm experimenting a bit with -row-mt -tile-columns -tile-rows -tiles and -cpu-used.
For FULL HD 25p contents, what do you think it's the sweet spot between quality and speed?

I'm trying with:

Quote:
ffmpeg.exe -i "AVS Script.avs" -hide_banner -strict -2 -c:v libaom-av1 -profile:v 0 -level:v 4.1 -refs 4 -crf 22 -keyint_min 25 -g 25 -enable-cdef true -enable-global-motion true -arnr-strength 4 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -field_order progressive -c:a libopus -b:a 510k -ar 48000 -max_muxing_queue_size 700 -map_metadata -1 -metadata creation_time=now -row-mt 1 -tile-columns 1 -tile-rows 0 -tiles 2x1 -cpu-used 5 -f webm -y "A:\MEDIA\temp\test.webm"

pause
on my PC (an old i7 5930K 6c/12th) and it definitely improved things. CPU usage is much higher at 68% and I'm seeing 22fps vs the original 0.8fps.





and it's about the same on a 56c/112th Xeon server, with 23fps as top speed and 11% total usage:





Did I get the settings right? Is it gonna affect the quality in a significant way or can I just set this as default?
I mean, 23fps is definitely way more acceptable than 0.8fps as it's at least almost 1:1 (25fps would be realtime).
FranceBB is offline   Reply With Quote