Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
11th March 2023, 03:21 | #1 | Link |
Registered User
Join Date: Dec 2003
Posts: 487
|
Difference between ffmpeg vs ffmpeg pipe svtav1encapp
I have been trying to understand AV1 and beyond the bitrate oddly low testing multiple videos, I encoded the same video two ways, one straight ffmpeg using libsvtav1. The other ffmpeg piped to svtav1encapp. Content is 4k HDR10 and 1 hour 47 minutes. Below are the results:
Straight libsvtav1: ffmpeg.exe -y -i <video>.mkv -map 0:V:0 -c:v:0 libsvtav1 -pix_fmt yuv420p10le -svtav1-params "preset=3:keyint=300:crf=26:tune=0:enable-hdr=1:color-primaries=bt2020:transfer-characteristics=smpte2084:matrix-coefficients=bt2020-ncl:mastering-display=G(0.17,0.797)B(0.131,0.046)R(0.708,0.292)WP(0.3127,0.329)L(1000,0.0005):content-light=639,243:chroma-sample-position=topleft:film-grain-denoise=0:film-grain=0: profile=main:level=51" converted.ivf Output was:
------------- Pipe to SVTAV1ENCAPP: ffmpeg -i <video>.mkv -map 0:v:0 -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | SvtAv1EncApp -i stdin --preset 3 --keyint 300 --crf 26 --tune 0 --enable-hdr 1 --color-primaries bt2020 --transfer-characteristics smpte2084 --matrix-coefficients bt2020-ncl --mastering-display "G(0.17,0.797)B(0.131,0.046)R(0.708,0.292)WP(0.3127,0.329)L(1000,0.0005)" --content-light 639,243 --chroma-sample-position topleft --film-grain-denoise 0 --film-grain 0 --profile main --level 5.1 -b pipe.ivf Output was:
So technically these encodes should be identical as far as values. Any idea if these bitrates make sense What is causing the difference in encoding duration? Note I can't really compare the output as my monitors are like 14 years old and trying to compare one at a time on my TV won't be easy to tell when I have to watch one and stop and load the other. All i can say is there is no pixilation and things look clear this just seems wrong. Last edited by jriker1; 11th March 2023 at 19:08. |
Tags |
av1, ffmpeg |
Thread Tools | Search this Thread |
Display Modes | |
|
|