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 15th August 2009, 15:28   #101  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Chengbin View Post
Many Blu-rays disable that because they blur too much.
Please provide evidence for this claim.
Guest is offline   Reply With Quote
Old 15th August 2009, 15:30   #102  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Revgen View Post

1) Are there limits to subme? Megui's blu-ray profile has "--subme 2" toggled.
2) Are there limits to me? Megui's blu-ray profile has "--me dia" toggled.
Can you clarify: Do you mean for 1st pass settings? Because they are set differently in the Megui blu-ray profile
poisondeathray is offline   Reply With Quote
Old 15th August 2009, 15:46   #103  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Quote:
Originally Posted by poisondeathray View Post
Can you clarify: Do you mean for 1st pass settings? Because they are set differently in the Megui blu-ray profile
They are 2nd pass.

When I open the MEGui Blu-Ray preset, the options are shown in the box.

Code:
program --profile high --level 4.1 --preset fast --pass 2 --bitrate 8000 --stats ".stats" --thread-input --deblock -1:-1 --keyint 24 --min-keyint 2 --b-adapt 2 --direct auto --ref 1 --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 30000 --vbv-maxrate 40000 --qcomp 0.5 --no-mbtree --me dia --subme 2 --partitions none --trellis 0 --no-mixed-refs --mvrange 511 --nal-hrd --sar 1:1--output "output" "input"
Clearly 4.1 cannot be compatible without slices, so it needs to be modified. I'm just trying to figure out exactly what needs to be changed.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.

Last edited by Revgen; 15th August 2009 at 15:52.
Revgen is offline   Reply With Quote
Old 15th August 2009, 16:17   #104  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Revgen View Post
They are 2nd pass.

When I open the MEGui Blu-Ray preset, the options are shown in the box.
We must be using different builds/presets because your commandline looks completely different (fast preset, partitions none !? )

Quote:
Clearly 4.1 cannot be compatible without slices, so it needs to be modified. I'm just trying to figure out exactly what needs to be changed.
I don't think the profile needs to be modified, because it works on the majority of SAPs just fine. This thread is about replication and that's a different story...
poisondeathray is offline   Reply With Quote
Old 15th August 2009, 16:20   #105  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Quote:
Originally Posted by poisondeathray View Post
We must be using different builds/presets because your commandline looks completely different (fast preset, partitions none !? )



I don't think the profile needs to be modified, because it works on the majority of SAPs just fine. This thread is about replication and that's a different story...
I'm just trying to find out which settings are compatible and what the limits are. MeGUI's settings just raised my curiosity.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 15th August 2009, 16:33   #106  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
obvious that people do not read posts carefully so i make the table to make things be easier.



This setings are based on Blu-Ray specification and documentation not H264.

btw.
Max bframes = 3

if you use x264 as encoder then don't use B-pyramid because can broke DBP, but B-Pyramid is generaly alowed thing (Sonic Scenarist use it but automaticly decrase ref by one)

mixed-refs is probably allowed, but some H264 developer better to answer because maybe can break DBP aslo? Mainconcept developer (Sergey) found that b-pyramid broke DBP in x264, maybe him know something about?

EDIT: About GOP thing. Blu-Ray allow both Open and Closed GOP structure, for H264.

Recommend GOP is min-max is 2-24 but everything from 1-30 can be used from both mix and max. Max value aslo depend how many b-frames used. If Bframes = 0 you can use anything from 1 to 30 for both min and max value
if bframes = 1 min also can be 1-30 but max value can be 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30
if bframes = 2 min 1-30, max 3,6,9,12,15,18,21,24,27,30
if bframes = 3 min 1-30, max 4,8,12,16,20,24,28,30

minimum 2 is recommended by authorung apps, 1 is fine too

Last edited by shon3i; 15th August 2009 at 17:50.
shon3i is offline   Reply With Quote
Old 15th August 2009, 16:51   #107  |  Link
Chengbin
Registered User
 
Join Date: Oct 2007
Posts: 1,060
Quote:
Originally Posted by neuron2 View Post
Please provide evidence for this claim.
I believe benwaggoner mentioned that from this thread

Quote:
Originally Posted by benwaggoner View Post
Why would we assume 30-70% lower? Not arguing, but that seems a pretty specific assumption.

A lot of Blu-ray titles wind up having In-loop deblocking turned off for most of the title in order to eliminate the softening effect. That seems a little...aggressive to me, but that certainly would have an impact.

But anyway, I suspect you'd find that actual discs's defects are found in the IYUV masters more often than not.

But even given 20 Mbps and 70%, and using power of 0.75 as a rule of thumb, that'd be still be 14 Mbps 1080p, equivalent to 7.6 Mbps ABR 720p with x264, which should be well more than ample.

Quote:
That's part of the problem as well. They need to start using real HD digital cameras
They are, but we're still going to be watching movies shot with all kinds of cameras for decades to come.

Even I find excellent compresibility poor consolation for a bad story or poor acting .

Last edited by Chengbin; 15th August 2009 at 16:54.
Chengbin is offline   Reply With Quote
Old 16th August 2009, 02:28   #108  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
^I've never had problems with X264's inloop filter overblurring details at Blu-Ray or HD-DVD resolutions and bitrates as long as it's at -1:-1 or less. Even at 0:0, it's hardly noticeable. Perhaps the AVC encoders they are using have substandard inloop filter implementation.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 16th August 2009, 09:05   #109  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
Quote:
Perhaps the AVC encoders they are using have substandard inloop filter implementation.
That doesn't exist. Everybody must use the same deblocking algorithm. However, since deblocking's strength is inherently adaptive with the quantizer (the higher the quantizer the stronger), and since x264 tends to be a lot more efficient than other encoders (translate : most of the time, at the same bitrate, it'll use a quantizer lower by 1 or 2), at the same deblocking settings and same bitrates, x264 may seem to deblock less.
__________________
Manao is offline   Reply With Quote
Old 16th August 2009, 09:14   #110  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Quote:
Originally Posted by Manao View Post
That doesn't exist. Everybody must use the same deblocking algorithm. However, since deblocking's strength is inherently adaptive with the quantizer (the higher the quantizer the stronger), and since x264 tends to be a lot more efficient than other encoders (translate : most of the time, at the same bitrate, it'll use a quantizer lower by 1 or 2), at the same deblocking settings and same bitrates, x264 may seem to deblock less.
That seems like a fancy way of saying that the other AVC encoders suck.

That seems to explain it then.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.

Last edited by Revgen; 16th August 2009 at 09:16.
Revgen is offline   Reply With Quote
Old 16th August 2009, 10:02   #111  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Manao View Post
That doesn't exist. Everybody must use the same deblocking algorithm. However, since deblocking's strength is inherently adaptive with the quantizer (the higher the quantizer the stronger), and since x264 tends to be a lot more efficient than other encoders (translate : most of the time, at the same bitrate, it'll use a quantizer lower by 1 or 2), at the same deblocking settings and same bitrates, x264 may seem to deblock less.
That seems like an odd statement; with psy, especially psy-trellis, x264 uses significantly higher quantizers than normal.
Dark Shikari is offline   Reply With Quote
Old 16th August 2009, 21:58   #112  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by neuron2 View Post
Please provide evidence for this claim.
I'm not sure if there are any public references to this fact, but I can confrim that this has long been standard practice in BD production for A-list titles. At NAB, a couple different BD encoder vendors were touting their ability to turn it off as a feature.

I don't know if it's default for all the tools, or as used by all compressionists. But many studio BD titles will have big sections where in-loop is off entirely.

I also agree that this shouldn't be needed in theory, and am not sure how really needed it is in practice. Most professional optical disc compressionists don't have that much of a compression science background, and often keep using "best practices" established long ago, even if the reason for them has long since been addressed. There's plenty of exceptions to that rule. Most great Photoshop artists couldn't do a whiteboard calculation of the effect of cumulative 8-bit rounding errors. But they still end up with photos that look a lot better than mine .

About three years ago I saw a then 10 year old Toshiba MPEG-2 encoder still being used for A-list titles!
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 16th August 2009, 22:44   #113  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
Quote:
and often keep using "best practices" established long ago, even if the reason for them has long since been addressed.
(Cough) lowpass filter (cough)
Lyris is offline   Reply With Quote
Old 16th August 2009, 23:04   #114  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by Lyris View Post
(Cough) lowpass filter (cough)
...which did make some sense in the early DVD era, since a progressive encode viewed on an interlaced display could have frequencies about Nyquist in 240 lines per field, resulting in some aliasing issues.

For which a vertical lowpass filter would make sense. However it seems the practice that emerged was to use a 0.3 pixel vertical blur.

Which may have been tempting because it'd make compression a decent bit easier as well.

There was quite a kerfuffle in the pre-launch days of HD DVD where we kept having to assure AVS Forum that we weren't encouraging that practice, and in fact did not include a vertical blur filter as part of PEP .

Not that it would have been needed much even when playing back on a 1080i display, given that film sources are very rarely going to have any frequencies that high in a 1080 frame.

My bias has long been to optimize for those who have good, well-calibrated displays, since by definition they're the ones who cared about quality, and have earned it. We certainly need to make sure things don't stink on consumer displays, but the most accurate experience should be achieved by the most accureate calibration.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 17th August 2009, 00:23   #115  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
I totally agree with your last paragraph - aiming high instead of the lowest common denominator is the way to go, because like you say, the people who have the equipment that creates such issues probably won't even notice or care about them anyway.
Lyris is offline   Reply With Quote
Old 17th August 2009, 02:00   #116  |  Link
Biggiesized
Registered User
 
Biggiesized's Avatar
 
Join Date: Apr 2007
Location: Pittsburgh, PA
Posts: 225
Quote:
Originally Posted by benwaggoner View Post
I have the trailers for "The Island" and "Match Point" from Dreamworks with permission to redistribute for compression testing. I've got Lagarith 1920x1080p23.769 with 5.1 audio AVI files I could probably post somewhere.
Both would be great, but if you had to choose between the two, go with The Island.

How soon do you think you can get these up, Ben?
Biggiesized is offline   Reply With Quote
Old 17th August 2009, 04:25   #117  |  Link
Chengbin
Registered User
 
Join Date: Oct 2007
Posts: 1,060
Lyris, have you tried encoding a 30-35Mbps encode using x264 to see how good it looks just for kicks?
Chengbin is offline   Reply With Quote
Old 17th August 2009, 04:49   #118  |  Link
Lyris
Registered User
 
Join Date: Sep 2007
Location: Europe
Posts: 602
Yes. Many times. I wouldn't get funny looks if I called them "essentially lossless".
Lyris is offline   Reply With Quote
Old 17th August 2009, 08:11   #119  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by Biggiesized View Post
Both would be great, but if you had to choose between the two, go with The Island.

How soon do you think you can get these up, Ben?
I'm uploading Island to my SkyDrive right now (in 50 MB chunks), and it should be done sometime tomorrow.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 17th August 2009, 08:21   #120  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by Lyris View Post
Yes. Many times. I wouldn't get funny looks if I called them "essentially lossless".
Did you compare those to 25 Mbps peak single-slice?

My expectation is that Level 4.0 would reach quality saturation with x264 for large classes of content, particularly 1080p24. Full-frame 1080i30 would be the most likely exception, particuarly highly detailed and fast-motion stuff like sports shot with fast shutter speeds.

Before we ask the x264 devs to tackle the apparently challenging and otherwise not broadly useful work to get slicing added back in, there probably should be some clear samples of where Level 4.1 would offer a percetible quality advantage over Level 4.0 as currently supported.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
authoring, blu-ray, compliant, verified, x264


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 10:56.


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