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

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd April 2011, 14:13   #221  |  Link
pepelugil
Registered User
 
Join Date: Jul 2010
Posts: 37
I always use --pic-struct (even for progressive stream) so one less "problem".

As for BD verifiers, I have Elecard StreamEye Studio, but if I not wrong it doesn't check BD specification, so it seems that I'll have to trust Scenarist.
pepelugil is offline   Reply With Quote
Old 2nd April 2011, 14:29   #222  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by pepelugil View Post
I always use --pic-struct (even for progressive stream) so one less "problem".

As for BD verifiers, I have Elecard StreamEye Studio, but if I not wrong it doesn't check BD specification, so it seems that I'll have to trust Scenarist.
You should not worry, becuase stream is progressive and it's marked as interlaced while frames are still frames not fields. Mediainfo and other tools just use header to examine data. Your stream must be interlaced or marked as interlaced (fake interlace) or will not be BD compilant.
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 2nd April 2011, 14:59   #223  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Shon3i, just out of curiosity, have you checked a fake-interlaced 25p with Sony Verifier? Because I've made a 25p with fake-interlaced just now to test. Scenarist accepts and mux (and identify the stream as interlaced) but my verifier (BDQuest) shows one error. It identify the stream as progressive while streams from pro-encoders (that allows the same thing, input a 25/30 progressive stream, encode as progressive and only flag as interlaced) are OK.
The error from BDQuest is (just for reference):
Code:
"invalid combination of horizontal size of frame (1920), vertical size of frame (1088), pic_width_in_mbs_minus1(119), pic_height_in_maps_units_minus1(33), frame_mbs_only_flag(0), framerate (25), and scanning type (progressive) for 1920x1080"
"frame_mbs_only_flag" is 0 and "mb_adaptive_field_frame_flag" is 0. 1920x1080 video (field) is expected to contain 8/9/8/9 rows in slices. Found 17/17/17/17
We know that BDQuest is not fully reliable, but who knows this time. Anyway CineVision (which supports the same thing as x264, set progressive source and flag as interlaced) flag the stream as MBAFF.
mp3dom is offline   Reply With Quote
Old 2nd April 2011, 17:07   #224  |  Link
A.Fenderson
Registered User
 
Join Date: Mar 2009
Posts: 230
Quote:
Originally Posted by pepelugil View Post
I've added/changed these settings from my usual 100% 23,976 blu-ray compliant backups: --no-interlaced --fake-interlaced --keyint 25 --fps 25000/1000
I'm not finding any info on the --no-interlaced option on mewiki or x264 --fullhelp. Mewiki has one reference to --interlaced, but it tries to link back to a non-existent entry on the same page. What does this switch do?
A.Fenderson is offline   Reply With Quote
Old 2nd April 2011, 17:12   #225  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by A.Fenderson View Post
I'm not finding any info on the --no-interlaced option on mewiki or x264 --fullhelp. Mewiki has one reference to --interlaced, but it tries to link back to a non-existent entry on the same page. What does this switch do?
--no-interlaced causes the input to be treated as progressive, even if it were detected as interlaced.
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 2nd April 2011, 17:35   #226  |  Link
Phil_L
Registered User
 
Join Date: Mar 2011
Posts: 29
Hi

After a lot of trial and errors and reading tips here about x264 I finally settled on using MeGUI, and can successfully encode to 1080i/50 for Blu-ray. That is the good.

The bad is finding authoring software that will accept the output so looking for pointers. This is what I have found:

Sony DVD Architect, get tswrapper errors as it doesn't like MBAFF, so that's out.

Corel MovieFactory 7 - test clips I had success, clips accepted without re-rendering, perfect. But then when I tried some longer footage I got DVD engine errors, it would get so far then fail during mux'ing. I found the part mux'd mts file and so could see where it was failing. After some checking I found x264 was encoding with some high peak bit-rates of 50+, when MovieFactory got to something above ~45 it bombed. After some more trial and error I found reducing the buffer size the high peaks were reduced, with a buffer of 15000 I managed to get a clip almost mux'd in MovieFactory before it bombed out, it still managed to peak at one point.

I'm encoding with target bitrate of 36,000, and the max is the preset 40,000. The same bitrate settings via MainConcept's H264 I have no problems with, and when I check bit-rates it doesn't peak hardly above 40,000.

Now I gather with the buffer then peaks above 50,000 are valid for Blu-ray.

So my issue is how to author a Blu-ray disc with the x264 output?

I've also tried Cyberlink software, that wouldn't even recognise the files and I tried TMPGEnc Authoring Works 4, but it only wants MPEG2 for Blu-ray.

I have had success with MultiAVCHD, but I'm not entirely happy with the menu creation options, it's great for a free tool, but doesn't lend itself to more fancy graphical menus, unless I just haven't discovered that functionality.

I've also seen mention of Blu-ray verifiers, where would you get those so I can test the output is okay?

Any help or pointers appreciated.

Regards

Phil
Phil_L is offline   Reply With Quote
Old 2nd April 2011, 18:16   #227  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by mp3dom View Post
Shon3i, just out of curiosity, have you checked a fake-interlaced 25p with Sony Verifier? Because I've made a 25p with fake-interlaced just now to test. Scenarist accepts and mux (and identify the stream as interlaced) but my verifier (BDQuest) shows one error. It identify the stream as progressive while streams from pro-encoders (that allows the same thing, input a 25/30 progressive stream, encode as progressive and only flag as interlaced) are OK.
The error from BDQuest is (just for reference):
Code:
"invalid combination of horizontal size of frame (1920), vertical size of frame (1088), pic_width_in_mbs_minus1(119), pic_height_in_maps_units_minus1(33), frame_mbs_only_flag(0), framerate (25), and scanning type (progressive) for 1920x1080"
"frame_mbs_only_flag" is 0 and "mb_adaptive_field_frame_flag" is 0. 1920x1080 video (field) is expected to contain 8/9/8/9 rows in slices. Found 17/17/17/17
We know that BDQuest is not fully reliable, but who knows this time. Anyway CineVision (which supports the same thing as x264, set progressive source and flag as interlaced) flag the stream as MBAFF.
Yep i checked it several times. Btw update your bdquest to lastest version they had bug with decoder.
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 5th April 2011, 14:59   #228  |  Link
dvdboy
Registered User
 
Join Date: Mar 2003
Posts: 191
Quote:
Originally Posted by kieranrk View Post
Make sure the framerate x264 reports is 30000/1001 and not anything else.

PM if you want to post any non-public information.
A belated update but this in the end appears to be the problem - I added AssumeFPS(30000,1001) to the AVISynth script and Scenarist muxed the file fine.

I ran into a similar problem with an After Effects rendered Top Menu Background - even though everything said 23.976fps, I was getting the Buffer Underrun error. When I watched the x264 log go through, I noticed the framerate was being interpreted as 2997/125 rather than 24000/1001. Again AssumeFPS did the trick.

Many thanks for your help.
dvdboy is offline   Reply With Quote
Old 10th April 2011, 23:18   #229  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,869
Quote:
Originally Posted by pepelugil View Post
I always use --pic-struct (even for progressive stream) so one less "problem".

As for BD verifiers, I have Elecard StreamEye Studio, but if I not wrong it doesn't check BD specification, so it seems that I'll have to trust Scenarist.
Scenarist check is quite basic- has not much to do with strict BD compliancy.


Andrew
kolak is offline   Reply With Quote
Old 14th April 2011, 18:58   #230  |  Link
lutinor
Registered User
 
Join Date: Apr 2009
Posts: 287
that's sad that there isn't an accessible real bd check
lutinor is offline   Reply With Quote
Old 15th April 2011, 08:28   #231  |  Link
iSeries
Registered User
 
Join Date: Jan 2009
Posts: 625
Could the first post be updated with the new --bluray-compat option for those of us (mainly me lol) who are a bit confused as to how to use it please?
iSeries is offline   Reply With Quote
Old 15th April 2011, 13:48   #232  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
yes, it will be updated asap
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 15th April 2011, 15:47   #233  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Could you also make a remark at the top that says that these settings are for creating 100% compliant Blu-Ray structures, not for encoding from Blu-Ray sources or to matroska/mp4? I see a lot of people crippling their settings for no need.
sneaker_ger is offline   Reply With Quote
Old 15th April 2011, 16:40   #234  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by sneaker_ger View Post
Could you also make a remark at the top that says that these settings are for creating 100% compliant Blu-Ray structures, not for encoding from Blu-Ray sources or to matroska/mp4? I see a lot of people crippling their settings for no need.
Done :P
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 15th April 2011, 16:49   #235  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Great work. Thx.
sneaker_ger is offline   Reply With Quote
Old 15th April 2011, 19:38   #236  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by shon3i View Post
This is discussion about settings that are for creating 100% compliant Blu-Ray structures, not for encoding from Blu-Ray sources to matroska/mp4 or other media, if you encode to those skip this nightmare
And I thought it was just me who felt this way!

Thanks for updating.
laserfan is offline   Reply With Quote
Old 15th April 2011, 20:32   #237  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
EDIT never mind

Last edited by kieranrk; 15th April 2011 at 20:35.
kieranrk is offline   Reply With Quote
Old 15th April 2011, 20:46   #238  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
@shon3i

First page, 1080i example command line doesn't include --pic-struc ? Is that because it's only "required" for fake interlaced?

Also, your example assumes tff. Doesn't x264 encode @ MBAFF ?

What if the source is MBAFF, do you assume --tff command or something else?
__________________
"Talk to me Goose"
rapscallion is offline   Reply With Quote
Old 15th April 2011, 21:23   #239  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,135
Quote:
Originally Posted by rapscallion View Post
@shon3i
First page, 1080i example command line doesn't include --pic-struc ? Is that because it's only "required" for fake interlaced?
It's required for interlaced and pulldown too, but in that case the pic-struct parameter is on by default, so no need to explicitly set.

Quote:
Also, your example assumes tff. Doesn't x264 encode @ MBAFF ?
MBAFF is a way to encode interlaced footage (the other is PAFF). This refers to encoding, but the source footage still is tff or bff interlaced. MBAFF is not yet 100% implemented in x264. Currently it lacks the 'adaptive' part.

Quote:
What if the source is MBAFF, do you assume --tff command or something else?
With AviSynth you can see which is the fieldorder and set x264 accordingly (with --tff or --bff)
mp3dom is offline   Reply With Quote
Old 15th April 2011, 22:16   #240  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
@mp3dom

Thank you ! Very concise answers and just what I was looking for.

I opened w/avisynth via VirtualDub and I don't see the fieldorder in the file info.
Please advise how I do that. Thanks
__________________
"Talk to me Goose"
rapscallion is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 17:18.


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