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. |
|
![]() |
#1 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Benwaggoner HEVC encoding challenge
With all the talk about VP9 and AV1 and VVC and different encoder implementations for all of them, I thought it might be fun to set up an open challenge for folks to deliver the best possible quality for each.
To that end, in a semi-inebriated late-night conversation at IBC, we defined a scenario relevant to some important real-world scenarios that reasonably stress current encoders.
Here's the source I used (.y4m.7z): https://1drv.ms/u/s!AlvIQZWsyeO-kKpoG5f3PHAFhWcGig And my current best HEVC x265 encodes: 1.0: https://1drv.ms/v/s!AlvIQZWsyeO-kKpmDQlxoY-00rk3AQ 1.5: https://1drv.ms/v/s!AlvIQZWsyeO-kKplp2EQ8-Q4bCNVZw 2.0: https://1drv.ms/v/s!AlvIQZWsyeO-kKpZkpw-WQKF1dSF_g I didn't do any content specific encoding in these. I just did the slowest, highest quality encode 2-pass I had the patience for. Basically
If I had infinite patience I'd add --me sea and --subme 7 for PlusUltraPlacebo. Update 6/3/2021 To evaluate anime/line art encoding I'm adding Netflix's Sol Levante as a second source for testing. It's an interesting compression challenge with a lot of titles/credits that can be shrunk down enormously, and some very complex hybrid line art/CGI sequences that x265 can't make look great at even 12 Mbps. It should be very interesting for rate control! Sol Levante's 4K HDR source is available under Creative Commons, from which I derived an 8-bit SDR 1080p .y4m, as 8-bit SDR playback and testing is still a lot more available. I've kicked off a 1000 Kbps test encode with x265 for reference that I should post tomorrow. The challenge follows the same constraints for bitrate, VBV, etcetera. Last edited by benwaggoner; 3rd June 2021 at 22:28. Reason: Added Sol Levante as second source to test |
![]() |
![]() |
![]() |
#2 | Link |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 558
|
Thanks. But why not set this? --profile main10
10-bits might help a little with banding maybe. Is there any reason not to set --profile main10 in x265? Most of latest years GPU:s supports 10-bit H.265-decoding partially or fully. EDIT: OK, thanks Blue_MiSfit, although watching video at this high resolution on an Android phone (small screen) is just wasteful. Last edited by Forteen88; 2nd October 2018 at 09:58. Reason: thanking for answer |
![]() |
![]() |
![]() |
#3 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Quote:
Also, I wanted to be able to compare 8-bit only codecs. I'd love to do a HDR-10 test as a followup. I've not found good HDR test content with an appropriate license yet, though. Quote:
|
||
![]() |
![]() |
![]() |
#4 | Link | |
Registered User
Join Date: Aug 2009
Posts: 91
|
Quote:
It's all open source... https://media.xiph.org/tearsofsteel/ |
|
![]() |
![]() |
![]() |
#5 | Link | |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Quote:
It's all SDR. You can find custom edits on youtube where users graded it themselves.
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
|
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Aug 2009
Posts: 91
|
Thats why I mention the exr files and not the actual exported movie... The source files are exr which are 32bit (or 16bit at worst, but standard exr is 32bit) thus you can safely grade/master them to 10 HDR, even 12bit if you want. There's plenty of dynamic range/headroom. I'm not sure in which format the actual filmed/video parts are available though... I'm quite busy so i haven't checked. I suppose they are in raw format with sufficient dynamic range aswell... but that would be a guess Last edited by K.i.N.G; 8th October 2018 at 21:05. |
![]() |
![]() |
![]() |
#9 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Quote:
I like Tears of Steel as something that's reasonably short that has a variety of appropriate characteristics. Live action, CGI, film grain, motion graphics in credits. Any test is going to be somewhat arbitrary and focused on a particular scenario. The one here is very much about encoder features at least as much as bitstreams. It stresses psychovisual tuning and rate control, and ignores encoding performance. An obvious followup test would be 1-pass CBR with fixed 2 second Closed GOP. Something incorporating quality @ perf would be interesting, but it's way harder to compare and verify performance. |
|
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: May 2018
Posts: 9
|
Increase me-range (or whatever it's called in x265) for a ultra small increase in quality for a massive increase in encoding time.
Not sure if it applies to x265 but there is an ultra small quality bump for single thread encoding. Noting 4 encodes running on 1 core each will complete much faster than 4x single encodes running on all 4 cores. |
![]() |
![]() |
![]() |
#13 | Link | |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,909
|
Quote:
Single Hair visible and stays through motion, a little mosquito around titles the girl's moving robotic arm pulls only minimum morphing artefacts through the leaves. Giving bitrate of 1921 even that arm's morphing wake is almost gone, titles mosquito improve, not missing any detail from a good blu-ray encode... How was encoding time if I may ask ? BTW, back in 2009 DS had test-encoded Big Buck Bunny with x264 Build 999+1 at around 0.03bpp, yielding good results, but BBB is not as challenging as TOS motionwise, good parts of the picture stay static in BBB.. https://forum.doom9.org/showthread.p...ow#post1247874
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." Last edited by Emulgator; 7th November 2018 at 01:20. |
|
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: Oct 2017
Posts: 56
|
The xvc repo has been updated with the latest changes related to integration with ffmpeg: https://github.com/divideon/xvc/commits/master
As mentioned in an earlier post, the ffmpeg version with xvc support is available here: https://github.com/perher/FFmpeg/tree/release/4.0-xvc That ffmpeg version can be built using the normal process (e.g. as described at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu) with the additional steps of checking out and building xvc: Code:
cd ~/ffmpeg_sources && \ git -C xvc pull 2> /dev/null || git clone --depth 1 https://github.com/divideon/xvc && \ mkdir xvc_build && \ cd xvc_build && \ PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DBUILD_TESTS=OFF ../xvc && \ PATH="$HOME/bin:$PATH" make && \ make install We have not tested integration with HandBrake which as far as I understand would require creation of a new module definition for xvc in HandBrake's contrib folder. |
![]() |
![]() |
![]() |
#16 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Quote:
I'll do a test encode to the same ABR this weekend with all the whistles on and see what x265 can do. Probably not as good, but it'd be nice to have an apples-to-apples comparison. Still hoping someone will provide their best-effort AV1 and/or VP9 encodes! |
|
![]() |
![]() |
![]() |
#17 | Link | |
I am maddo saientisto!
Join Date: Aug 2018
Posts: 95
|
Quote:
In a recent set of tests I run I used this: Code:
vpxenc --codec=vp9 --frame-parallel=0 --tile-columns=2 --good --cpu-used=0 --tune=psnr --passes=2 --threads=2 --end-usage=q --cq-level={} --test-decode=fatal --ivf -o test.vp9.cq{}.ivf orig.i420.y4m EDIT: just to make sure, I'm downloading the ToS_1920x800_xdither.7z file. Is this good for the test? Last edited by SmilingWolf; 17th November 2018 at 15:28. |
|
![]() |
![]() |
![]() |
#18 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,929
|
Quote:
![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 10th November 2018 at 17:29. |
|
![]() |
![]() |
![]() |
#20 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,929
|
Easy if you divide movie in chunks...
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|