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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th June 2021, 14:02   #1  |  Link
PCU
Registered User
 
Join Date: Oct 2017
Posts: 327
Overall what's the best H.264 encoder in 2021?

Overall what's the best H.264 encoder in 2021?
What H.264 encoders are used in BD & Netflix?

Last edited by PCU; 10th June 2021 at 15:29.
PCU is offline   Reply With Quote
Old 10th June 2021, 14:18   #2  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Still x264

For BD, I think MainConcept is used (might be wrong)
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 10th June 2021, 15:26   #3  |  Link
PCU
Registered User
 
Join Date: Oct 2017
Posts: 327
Quote:
Originally Posted by microchip8 View Post
Still x264

For BD, I think MainConcept is used (might be wrong)
So why does MSU say the Chinese version of these encoders is better?
PCU is offline   Reply With Quote
Old 10th June 2021, 15:29   #4  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by PCU View Post
So why does MSU say the Chinese version of these encoders is better?
Because their testing is flawed and biased
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 10th June 2021, 16:11   #5  |  Link
PCU
Registered User
 
Join Date: Oct 2017
Posts: 327
Quote:
Originally Posted by microchip8 View Post
Because their testing is flawed and biased
So why doesn't Doom9 itself make a comparison?
PCU is offline   Reply With Quote
Old 10th June 2021, 16:37   #6  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by PCU View Post
So why doesn't Doom9 itself make a comparison?
Doom9 is not an official test entity. All tests are limited and done by users of the forum using different settings to find a balance between compression and speed. There are not many that can get all encoders like MC/Ateme/Chinese ones and do a thorough test, unbiased
__________________
ffx264 || ffhevc || ffxvid || microenc

Last edited by microchip8; 10th June 2021 at 16:39.
microchip8 is offline   Reply With Quote
Old 26th September 2021, 12:55   #7  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by PCU View Post
So why does MSU say the Chinese version of these encoders is better?
Where? For hevc Ticktock's hevc encoder is indeed better, just like Mainconcept.

If we are talking about 2012 tests of AVC those are wrong now.

x264 devs are still fixing in 2021 quite hillarious mistakes... https://code.videolan.org/videolan/x264/-/issues/28 So no surprises there.

No surprises about this about Beamr too is bad and is still based on x264 (what changed from 2013?). https://gist.github.com/Daiz/5043109

Last edited by Balling; 26th September 2021 at 14:58.
Balling is offline   Reply With Quote
Old 26th September 2021, 14:52   #8  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
Quote:
Originally Posted by Balling View Post
x264 devs are still fixing in 2021 quite hillarious mistakes...


lol >=

Yeah well, that happens...
It shouldn't but it does...
FranceBB is offline   Reply With Quote
Old 27th September 2021, 08:23   #9  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Posts: 349
Quote:
Originally Posted by FranceBB View Post

lol >=

Yeah well, that happens...
It shouldn't but it does...
In my opinion using CAVLC with High Profile is somewhat retarded. Never understood AVCI reasoning...
rwill is offline   Reply With Quote
Old 26th September 2021, 18:02   #10  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by Balling View Post
Where? For hevc Ticktock's hevc encoder is indeed better, just like Mainconcept.

If we are talking about 2012 tests of AVC those are wrong now.

x264 devs are still fixing in 2021 quite hillarious mistakes... https://code.videolan.org/videolan/x264/-/issues/28 So no surprises there.

No surprises about this about Beamr too is bad and is still based on x264 (what changed from 2013?). https://gist.github.com/Daiz/5043109

Same as Telestream GPU accelerated x264 in Vantage.
If you use no acceleration you get 2x slower encoding than x264 itself (one same machine).
If you use GPU acceleration (by buying crazy expensive Tesla card and burning 100s of extra watts) you get about same speed as vanilla x264 on CPU

Amazing technology...
kolak is offline   Reply With Quote
Old 27th September 2021, 08:27   #11  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
Quote:
Originally Posted by kolak View Post
Same as Telestream GPU accelerated x264 in Vantage.

Amazing technology...
Lightspeed or whatever they're called in Vantage are crap.
Seeing how bad and expensive Vantage was is the whole reason why I decided to contribute to FFAStrans in the first place.
And if it wasn't for closed source proprietary stuff like VANC OP47 .stl subtitles mux in mxf and DolbyE encoding we would have succeeded in recreating a better open source transcoder...
FranceBB is offline   Reply With Quote
Old 11th June 2021, 15:03   #12  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Quote:
Originally Posted by microchip8 View Post
Still x264

For BD, I think MainConcept is used (might be wrong)
For official BDs (I mean, pressed and made by authoring houses), MainConcept is still used by "cheap" companies and most of the times the MainConcept version is the old one that comes with old "CineVision for Bluray" encoder (something made years ago).

The encoder used for A+ blurays titles comes from SiriusPixels.
Anyway these are very specific encoders for bluray, you can't compare them with x264. x264 is a multi-purposes encoder that can be restricted to output valid BD streams. BD encoders, on the other side, are built to meet the BD specs and nothing more. Even the encoding engine is made to work better at high bitrates because nobody wants a bluray encoded at 8 mbps. If you encode a video at 4 Mbps with such BD encoders, you'll get total garbage as output.

Last edited by mp3dom; 11th June 2021 at 17:14.
mp3dom is offline   Reply With Quote
Old 10th June 2021, 19:27   #13  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
I've seem some pretty impressive Beamr examples showing ~20% bitrate reduction versus x264. The genius features of x264 are CRF and mbtree. And Beamr's psychovisual optimization is now a lot more advanced than CRF.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 10th June 2021, 19:34   #14  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by benwaggoner View Post
I've seem some pretty impressive Beamr examples showing ~20% bitrate reduction versus x264. The genius features of x264 are CRF and mbtree. And Beamr's psychovisual optimization is now a lot more advanced than CRF.
I disagree. Look at their example on their site where they compare a 1 Mbps source to a 0.6 Mbps encoded Beamr stream. It's pretty blurry to my eyes.
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 10th June 2021, 22:44   #15  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by microchip8 View Post
I disagree. Look at their example on their site where they compare a 1 Mbps source to a 0.6 Mbps encoded Beamr stream. It's pretty blurry to my eyes.
I've not looked at Beamr for reencoding purposes for a long time. I'm speaking of the Beamr 4x encoder where combines the core Vanguard encoder with Beamr perceptual optimization.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 10th June 2021, 22:59   #16  |  Link
PCU
Registered User
 
Join Date: Oct 2017
Posts: 327
YouTube encoded video benchmarking results with my eyes:
x264: best quality
Google's AV1: blurry comparing to x264
VP9: On2 Technology (now Google) is the worst codec dev company I ever saw in my life!
x264 is so good, see what happens to x266 in the future.

Last edited by PCU; 10th June 2021 at 23:01.
PCU is offline   Reply With Quote
Old 10th June 2021, 23:09   #17  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by PCU View Post
YouTube encoded video benchmarking results with my eyes:
x264: best quality
Google's AV1: blurry comparing to x264
VP9: On2 Technology (now Google) is the worst codec dev company I ever saw in my life!
x264 is so good, see what happens to x266 in the future.
YouTube uses some quite performance-tuned instead of quality-tuned x264 settings last I looked.

VP9 and AV1 suffer from a lot of PSNR tuning, which tends to blur quite a bit due to poor adaptive quantization. Unfortunately the VMAF metric wasn't tested with a variety of adaptive quantization modes, so doesn't score different modes as having different quality even when they perceptually do.

And AV1 and aomenc were tuned against VMAF much more than subjective quality evaluations, which yields the results you describe. Other AV1 encoders are improving that, but YouTube doesn't use them.

But in general, YouTube isn't a great reference for codec comparisons, as they are very performance-tuned, do a whole lot of segmented encoding. And YouTube gives higher bitrates and encoding time for their politically preferred AV1 and VP9 codecs.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 10th June 2021, 23:34   #18  |  Link
PCU
Registered User
 
Join Date: Oct 2017
Posts: 327
Quote:
Originally Posted by benwaggoner View Post
YouTube uses some quite performance-tuned instead of quality-tuned x264 settings last I looked.

VP9 and AV1 suffer from a lot of PSNR tuning, which tends to blur quite a bit due to poor adaptive quantization. Unfortunately the VMAF metric wasn't tested with a variety of adaptive quantization modes, so doesn't score different modes as having different quality even when they perceptually do.

And AV1 and aomenc were tuned against VMAF much more than subjective quality evaluations, which yields the results you describe. Other AV1 encoders are improving that, but YouTube doesn't use them.

But in general, YouTube isn't a great reference for codec comparisons, as they are very performance-tuned, do a whole lot of segmented encoding. And YouTube gives higher bitrates and encoding time for their politically preferred AV1 and VP9 codecs.
IDK much about AV1, But in 2004, I converted an original video of a game from Bink format to VP4, the quality of everything I did was very blurry, even all EA games using VP4 were blurry too.

Last edited by PCU; 11th June 2021 at 12:10.
PCU is offline   Reply With Quote
Old 11th June 2021, 19:24   #19  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by PCU View Post
IDK much about AV1, But in 2004, I converted an original video of a game from Bink format to VP4, the quality of everything I did was very blurry, even all EA games using VP4 were blurry too.
Yep, none of the VPx series did a good job of adaptive quantization. On2 was very focused on the core encoder being highly tuned for PSNR, and then using advanced postprocessing to suppress defects.

Early Flash video used the VP6 codec, which was a pretty mediocre codec coupled with a really advanced postprocessor. It could do sharpening, smoothing, even synthesize noise. If those got turned off with a flag, the native quality wasn't good at all. And quality was unpredictable as the degree of postprocessing varied with CPU power.

VP3 was the ancient Ogg Theora codec, and VP4 was a mild update of that, without the VP6 postprocessing. VP4 and VP5 were only ever used in vertical products like games AFAIK.

I actually used the original TrueMotion and TrueMotion-S for some games in the 90's. Those were retroactively defined as VP1 and VP2.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 13th June 2021, 08:02   #20  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Yeah x264 and Beamr 4x are tough to beat today for typical VOD streaming use cases. Ateme does a really good job in live encoding (to my eyes). Pretty tough to beat.
Blue_MiSfit is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.