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. |
![]() |
#221 | Link | |
Registered User
Join Date: Aug 2009
Posts: 423
|
Quote:
In this sense, it's good that x266 is commercially sponsored, since we may eventually see it happening. Who knows, it might prove useful in the future. |
|
![]() |
![]() |
![]() |
#222 | Link | |
Registered User
Join Date: Aug 2024
Posts: 488
|
Quote:
That being said, having HW decoder is certainly better. |
|
![]() |
![]() |
![]() |
#224 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,212
|
There are two main software decoders: VVDec and Libav.
The latter was created later compared to VVDec and was originally written in plain C, but then it got manually written intrinsics in assembly and it has been closing the gap over the last year. In particular, the open source decoder inside libav was written by Nou Mi and Frank Plowman. I was able to chat to them both but in particular Frank recently held a workshop at Sky in which he detailed what led to the creation of the decoder and how to detect issues with it. ![]() The reason why this is particularly important is that when they introduced the decoder, it ended up spreading everywhere, from Avisynth and VapourSynth indexers like LWLibavVideoSource() and FFVideoSource(), to players like MPV and VLC and of course FFMpeg itself which is used pretty much universally. It was a major thing. When it was first released, it surely struggled to decode videos on most CPUs, but then again, it was just plain C without any assembly, while nowadays the picture is very different. Here's the decoding benchmark (and remember that you only really need the fps to match the one of the content when you're actually watching something and not indexing to re-encode): Test 1: Chicago Fire FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts 120 fps Intel Xeon E5-2637 v4 3.50GHz dual socket 8c/16th, 64GB RAM 111 fps Intel i7 5930K 3.50GHz single socket 6c/12th 32GB RAM Test 2: Judas and the Black Messiah SD H266 Main10 3Mbits 25p YV12 BT601 SDR 10bit AC3 2ch 48000Hz.ts 620 fps Intel Xeon E5-2637 v4 3.50GHz dual socket 8c/16th, 64GB RAM 631 fps Intel i7 5930K 3.50GHz single socket 6c/12th 32GB RAM Test 3: The Creator FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts 121 fps Intel Xeon E5-2637 v4 3.50GHz dual socket 8c/16th, 64GB RAM 116 fps Intel i7 5930K 3.50GHz single socket 6c/12th 32GB RAM If you need the samples let me know and I'll send them over (trimmed down obviously, not the whole thing). To test it yourself you just need to download the latest version of MPV from master ![]() I'll generate some UHD files too to see how well it copes, but the future definitely looks exciting, software wise. ![]() Last edited by FranceBB; 15th February 2025 at 19:24. |
![]() |
![]() |
![]() |
#225 | Link | |
Registered User
Join Date: Aug 2024
Posts: 488
|
Quote:
Eventually libvvenc did get into official FFmpeg, but not libvvdec. vvdec is still faster than libav vvcdec, by 1.37x (1T) or more depending on the requested threads, on Zen 5. I think FFmpeg has a "tradition" of implementing MPEG decoders natively AND not support 3rd party ones? (while VP series have libvpx and libdav1d as well as native VP9 and AV1(HW decoding only)) Is it OK for you to share some stories? Last edited by Z2697; 15th February 2025 at 21:29. |
|
![]() |
![]() |
![]() |
#226 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 319
|
Quote:
|
|
![]() |
![]() |
![]() |
#227 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 319
|
Quote:
Indeed, there's probably compression and quality to be had by backporting some modern techniques to x264. |
|
![]() |
![]() |
![]() |
#228 | Link |
Registered User
Join Date: Mar 2020
Posts: 152
|
Hmm...... VVC is already being software decoded on Smartphone for nearly 3 years in Apps for certain regions.
__________________
Previously iwod |
![]() |
![]() |
![]() |
#230 | Link | |
Registered User
Join Date: Aug 2024
Posts: 488
|
Quote:
Or anything. It will be a new codec anyway. New codec means incompatible with existing decoders, you need to at least hack the decoder for it to work. |
|
![]() |
![]() |
![]() |
#231 | Link | |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 416
|
Quote:
Would be great if you compared ffmpeg's native H266 decoder with VVdec. |
|
![]() |
![]() |
![]() |
#233 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,992
|
Quote:
Arguably, x264's brilliance was from ignoring PSNR and focusing on all sorts of nonsense like adaptive quantization, psychovisually weighted QP, tuning for anime content, etc. It was really a big departure from how encoders had traditionally been designed and tuned, by a very different set of people than normally worked on encoders historically. We can forget what a brilliant weirdo x264 was sometimes because so many of its crazy ideas inspired so much that followed that they seem obvious and standard in retrospect. But CRF and MB-Tree were not obvious before x264 implemented them. Single pass at constant perceptual quality but VBV enforcement was also very novel. |
|
![]() |
![]() |
![]() |
#234 | Link |
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 439
|
Did not take long for the industry to go full "VMAF approved" style after that. I blame people being too lazy to look at their videos after encoding, they just want the computer to say "its ok" and be done.
__________________
My github... |
![]() |
![]() |
![]() |
#236 | Link | |
Registered User
Join Date: Mar 2020
Posts: 152
|
Quote:
With Larger block size, macroblock, more / higher aggressive transform adaptivity basically brute force everything we have in H.264. I am wondering if we could reach compression that is HEVC+.
__________________
Previously iwod |
|
![]() |
![]() |
![]() |
#237 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,992
|
Quote:
Alas, quality is only as good as humans perceive it to be, not AIs, and subjective correlation still isn't great. P1204.3 can outdo VMAF, but they are both ML-trained metrics and such reliant on the quality of their ground truth training data. VMAF was quite limited originally by being tested only on a relatively small set of x264 variations (mainly just varying CRF and frame size). But AI optimizing for AI scoring can yield some weird results. For example, as VMAF excludes chroma, enabling chroma qp offset turning for VMAF will make chroma look much worse in exchange for slightly improved luma. And no one has a good, practical metric for noise/grain similarity yet. |
|
![]() |
![]() |
![]() |
#238 | Link | |
Registered User
Join Date: Aug 2009
Posts: 423
|
Quote:
Problem is hardware support for standalone players. OEMs add support for formats only when they are needed to implement some headline feature. Last edited by kurkosdr; 24th February 2025 at 21:55. |
|
![]() |
![]() |
![]() |
#239 | Link | |
Registered User
Join Date: Aug 2024
Posts: 488
|
Quote:
XEVE is not of that level of quality... yet? Or will it? |
|
![]() |
![]() |
![]() |
#240 | Link | |
Registered User
Join Date: Aug 2009
Posts: 423
|
Quote:
So it can probably achieve x264-level quality. |
|
![]() |
![]() |
![]() |
Tags |
vvc, x266 |
Thread Tools | Search this Thread |
Display Modes | |
|
|