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 October 2010, 14:26   #1301  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by JoeH
Good news - the Panasonic reads the X264 Bluray demo disk just fine. So, definitely some sort of muxing issue then, or maybe as you suggest the BPyramid Strict option works on Panasonic only when combined with some other option like SAR.
SAR is MANDATORY option for blu-ray, look here at 2.1 chapter http://forum.doom9.org/showthread.php?t=154533, for all mandatory options for BD, they should be always used when encoding for BD. SAR should not fix b-pyramid problem, but i suggest you to use it, since panasonic is very strict, and one of player that really follow BD specs. You should use b-pyramid always if you get some quality gain.

Quote:
Originally Posted by JoeH
I just demuxed the previous MKV.
That is same as directly encode to MKV. So this option definitly will not work as i said. You need to encode directly to raw 264, otherwise, x264 will calculate differenet AUD for target container, which after Tsmuxer completly broke, demuxing mkv to elementary (raw 264) will not change that calculations, and stream practically is useless, and make unplayable on panasonic players.

Quote:
Originally Posted by =JoeH
I'm also going to try remuxing a stream from the Bluray demo disk with TSMuxer, burn, and see what happens.
It will work, since all calculations are ok, unless you use MKV or other container in that process as intermediate file, that will rush compatibility, and make stream unplayable.

Last edited by shon3i; 15th October 2010 at 14:28.
shon3i is offline   Reply With Quote
Old 15th October 2010, 15:58   #1302  |  Link
JoeH
Registered User
 
Join Date: Jan 2009
Posts: 251
First test:
Remuxed x264 demo file 0003.m2ts using all of TSMuxer's default settings. The Panasonic played it just fine.

MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --auto-chapters=5 --vbv-len=500
V_MPEG4/ISO/AVC, "F:\4 Peliculas\X264 Demo Disk\BDMV\STREAM\00003.m2ts", fps=24, insertSEI, contSPS, track=4113
A_DTS, "F:\4 Peliculas\X264 Demo Disk\BDMV\STREAM\00003.m2ts", track=4352, lang=eng
JoeH is offline   Reply With Quote
Old 15th October 2010, 16:04   #1303  |  Link
JoeH
Registered User
 
Join Date: Jan 2009
Posts: 251
Second test

I've output 4 different streams - 2 are .MKV, 2 are .264. One of each container type has SAR set, the other does not.

Just tested .MKV with no SAR - this is identical to what didn't work before. As expected, it did not work. I ran this just as a control.
JoeH is offline   Reply With Quote
Old 15th October 2010, 16:08   #1304  |  Link
JoeH
Registered User
 
Join Date: Jan 2009
Posts: 251
Third test

.264 stream without SAR set. It works just fine in the Panasonic.

Fourth test

.MKV stream with SAR set. Does not play.

Fifth test

.264 stream with SAR set.

Results summary - Panasonic players will play streams from TSMuxer using BPyramid --strict option as long as the original input is a .264 stream and not an MKV stream. This will work with default TSMuxer options, and works regardless of whether the SAR option is correctly configured or not.

Last edited by JoeH; 15th October 2010 at 16:14.
JoeH is offline   Reply With Quote
Old 15th October 2010, 16:22   #1305  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by JoeH View Post
Results summary - Panasonic players will play streams from TSMuxer using BPyramid --strict option as long as the original input is a .264 stream and not an MKV stream. This will work with default TSMuxer options, and works regardless of whether the SAR option is correctly configured or not.
I wouldn't summarize this as all Panasonic's. My BD-35 doesn't have any problem playing back remuxed mkv's with --strict.
rack04 is offline   Reply With Quote
Old 15th October 2010, 16:35   #1306  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by rack04 View Post
I wouldn't summarize this as all Panasonic's. My BD-35 doesn't have any problem playing back remuxed mkv's with --strict.
Here is not question that what will work or not. It's simple, MKV/MP4 output (or demuxed from MKV/MP4) should never use if target is BD, regardless that some player play or not, that stream will never pass initial verification, and it's completly broken.
shon3i is offline   Reply With Quote
Old 15th October 2010, 16:39   #1307  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by shon3i View Post
Here is not question that what will work or not. It's simple, MKV/MP4 output (or demuxed from MKV/MP4) should never use if target is BD, regardless that some player play or not, that stream will never pass initial verification, and it's completly broken.
Actually that is exactly the question. JoeH said that Panasonic's do not play files that have been remuxed from mkv and I stated that my BD-35 will.
rack04 is offline   Reply With Quote
Old 15th October 2010, 16:55   #1308  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Well it's not question since is not legal operation, end of story. In past we have people with BD-35 which have exactly same problem (in BDrebuilder thread). From this point maybe panasonic update their software, but still why we should expect something to work, when is come broken.
shon3i is offline   Reply With Quote
Old 15th October 2010, 19:47   #1309  |  Link
JoeH
Registered User
 
Join Date: Jan 2009
Posts: 251
I also have a BD35, and the playback problems are identical on it as on the BD60 with the rendering / muxing method I use.
JoeH is offline   Reply With Quote
Old 16th October 2010, 15:19   #1310  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
I continue to struggle with understanding the tsMuxeR setting of --vbv-len wrt the --vbv-init (default 0.9) setting in x264, along with bufsize and maxrate:

Quote:
--vbv-len - The length of the virtual buffer in milliseconds. The default value is 500. Typically, this option is used in conjunction
with --cbr. The parameter is similar to the value of vbv-buffer-size in the x264 coder, but is set not in kbit, but in milliseconds (with
constant bitrate they can be counted at each other). If you have self-encoded a x264 file with constant bitrate, for more smooth
broadcasting to the network you are encouraged to make the same (or less) setting than in the x264. On virtual buffer overflow relevant
errors are written in the log.
Under what circumstances (if any) should the --vbv-len parameter in tsMuxeR be altered from default 500ms? Any reason to alter it, or the 0.9 default of vbv-init if my output is to BD standard?
laserfan is offline   Reply With Quote
Old 16th October 2010, 15:25   #1311  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Quote:
Originally Posted by laserfan View Post
I continue to struggle with understanding the tsMuxeR setting of --vbv-len wrt the --vbv-init (default 0.9) setting in x264, along with bufsize and maxrate:


Under what circumstances (if any) should the --vbv-len parameter in tsMuxeR be altered from default 500ms? Any reason to alter it, or the 0.9 default of vbv-init if my output is to BD standard?
(bufsize/bitrate)*1000

vbv-init is not relevant
kieranrk is offline   Reply With Quote
Old 16th October 2010, 15:57   #1312  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
As in readme written that is used only in conjunction with -cbr, don't touch it, because has no effect.
shon3i is offline   Reply With Quote
Old 16th October 2010, 16:50   #1313  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by shon3i View Post
Here is not question that what will work or not. It's simple, MKV/MP4 output (or demuxed from MKV/MP4) should never use if target is BD, regardless that some player play or not, that stream will never pass initial verification, and it's completly broken.
Does stream damage come with mkv/mp4 muxing or with demuxing?
Sharc is offline   Reply With Quote
Old 16th October 2010, 17:26   #1314  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by Sharc View Post
Does stream damage come with mkv/mp4 muxing or with demuxing?
tsmuxer is that who will broke stream, but MKV or MP4 muxer will strip/revrite AUD when mux, and will not revert back on demux. And since Tsmuxer have some not perfect mechanism to restore all need information for bd, instead that will violate all aud data.
shon3i is offline   Reply With Quote
Old 16th October 2010, 17:35   #1315  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
@shon3i
Thank you. A new revision of TSMUXER would be nice ....
Sharc is offline   Reply With Quote
Old 16th October 2010, 19:35   #1316  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Yep, long time, tsmuxer currently have problem with pulldown streams, an who know what else, i think we can make pretty list of bugs. I think is time for new muxer, opensource idealy to be easily maintained .

Anyway, mkv or mp4 output is not for BD, only raw 264 or maybe ts/mpg. So any aplication that mux mkv/mp4 into BD structure, definitly use some (ugly) hack.
shon3i is offline   Reply With Quote
Old 17th October 2010, 09:46   #1317  |  Link
JoeH
Registered User
 
Join Date: Jan 2009
Posts: 251
OK, I just ran another test that I think is very important to note.

I muxed the .264 output with BPyramid Strict into an MKV container, remuxed with TSMuxer into Bluray folders and burnt. It plays perfectly.

So, that means that BPyrmaid -Strict only causes problems with Panasonics when X264 outputs MKV format directly. As long as you output .264 from X264, you can then remux into MKV and eventually later into Bluray without problems.
JoeH is offline   Reply With Quote
Old 17th October 2010, 10:54   #1318  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
So,
x264.exe .264 > .mkv > .m2ts = ok
x264.exe .mkv > .m2ts = bad?

What did you use to .264 > .mkv ?
bob0r is offline   Reply With Quote
Old 17th October 2010, 12:47   #1319  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by bob0r View Post
So,
x264.exe .264 > .mkv > .m2ts = ok
x264.exe .mkv > .m2ts = bad?

What did you use to .264 > .mkv ?
No

x264.exe .264 > BD = OK
x264.exe .mkv/.mp4 > BD = bad
x264.exe .264 > .mkv/.mp4 > .264 > BD = bad

@JoeH, yes it because x264 automaticly calculate what need for target container. But still your combination beside playing will never pass verification, and remuxing raw stream to container and back is not good combination, it maybe work with tsmuxer because use some hacks, but will never pass with comercial muxers. Don't do that.
shon3i is offline   Reply With Quote
Old 17th October 2010, 22:09   #1320  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
x264.exe .264 > BD

"because it is the only way to get correct AUD and HRD info"

That's why. (Asked in #x264)
bob0r is offline   Reply With Quote
Reply

Tags
coding, development, x264 dev


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:58.


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