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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th December 2009, 11:05   #61  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
This could be a good method, but who knows hex ? All the discs I're reauthored ( 70 discs ), all worked fine with replacing or keeping the original mpls and clpi. I believe it to be much easier to replace them or to keep them there than editing in hex.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 14:00   #62  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
Quote:
Originally Posted by deank View Post
It is caused by the default IN_TIME which tsMuxeR uses (00:10:00.000) and it is different than the one from the original blu-ray disc. To get it working correctly, you need to change the values in the .mpls file.
And how to change that?
Also, how is it that the mpls file needs changing, when actually the original one is kept? I dont get this problem when using the new mpls-clpi files, only when keeping the original mpls but using the new clpi file form tsmuxer...
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 14:24   #63  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
OK, actually, checking the original MPLS file and hte one generated by TSmuxer I did notice this 10min difference. It's as if all chapters have been moved to +10mins in the tsmuxer output. Problem is, I am using the original MPLS anyway that is correct.....so the problem lies with the M2TS output file from TSmuxer that is created to be compatible with this +10min delay. It is my understanding, that the M2TS file needs to be tinkered with in order to work with the original MPLS (and possibly the CLPI too?).....is there some way to change the timmings in the m2ts?
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 15:12   #64  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
Since tsmuxer screws this by adding 10mins to every chapter, I tried to fix this by manually setting chapters to -10mins in the chapter list before muxing. Unfortunately it didnt recognize negative numbers, so the first 2 chapters were wrong in the final file (as in, it took -10mins , understood it as 10 and so it set the first chapter to 20mins). From chapters 3 and on they are correct, but the first 2 and the time_in/out are stil incorrect.
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 19:25   #65  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
The easiest fix is to replace the original mpls with the remuxed one. How many times do I have to repeat myself ? Except IGS movies, in order to have pop-up menu you have to keep the original one. If the first 2 chapters are wrong, you just simple get the chapters raported by bdedit. This is the easiest method.

This is how tsMuxer reads chapters from playlist:

00:00:00.000
00:05:28.494
00:12:13.941
00:14:57.146
00:18:43.205
00:22:30.515
00:27:36.029
00:32:04.631
00:37:48.224
00:44:48.352
00:49:31.760
00:54:55.375
01:00:00.305
01:03:09.660
01:05:57.161
01:09:13.691
01:14:00.102
01:21:09.781
01:26:31.477
01:33:37.403
01:39:57.324
01:43:16.273
01:48:24.748
01:52:30.118
01:56:53.673
02:02:11.741
02:08:33.539
02:15:00.300
02:19:08.048
02:23:54.125
02:33:30.659


And this is how BDEdit reads them:

00:00:00.000
00:00:05.005
00:01:16.993
00:02:02.956
00:02:39.993
00:02:58.011
00:04:31.980
00:04:55.003
00:05:28.494
00:05:31.956
00:06:41.192
00:07:08.928
00:07:35.246
00:08:33.095
00:09:39.954
00:11:20.262
00:11:51.419
00:12:13.941
00:12:14.400
00:13:37.983
00:14:32.997
00:14:57.146
00:15:10.951
00:16:19.937
00:17:13.323
00:17:38.891
00:18:43.205
00:18:46.291
00:19:04.643
00:19:17.447
00:20:44.159
00:21:22.990
00:22:30.515
00:23:16.603
00:26:16.950
00:27:06.916
00:27:36.029
00:28:46.975
00:29:13.752
00:30:22.779
00:31:01.609
00:32:04.631
00:32:08.968
00:32:23.983
00:34:11.966
00:37:48.224
00:38:45.990
00:39:42.671
00:41:02.042
00:41:21.979
00:42:30.047
00:44:48.352
00:47:53.996
00:49:31.760
00:50:07.587
00:50:24.730
00:51:05.729
00:51:47.020
00:52:38.989
00:53:44.012
00:54:55.375
00:55:35.540
00:56:35.975
00:58:26.920
01:00:00.305
01:00:01.973
01:01:55.002
01:03:09.660
01:03:43.110
01:04:04.966
01:05:57.161
01:06:02.917
01:09:13.691
01:11:24.196
01:12:58.957
01:14:00.102
01:14:22.958
01:18:10.602
01:19:03.905
01:19:26.970
01:20:47.008
01:21:09.781
01:25:01.012
01:26:31.477
01:31:56.010
01:32:50.022
01:33:37.403
01:37:29.927
01:39:57.324
01:42:42.489
01:43:16.273
01:43:22.988
01:44:15.332
01:46:13.367
01:46:29.966
01:48:24.748
01:48:43.975
01:52:30.118
01:54:30.989
01:56:53.673
01:57:11.941
01:59:37.962
02:01:14.976
02:02:07.403
02:02:11.741
02:03:02.041
02:07:06.994
02:07:41.654
02:08:33.539
02:09:38.604
02:10:21.522
02:15:00.300
02:15:12.104
02:15:47.055
02:17:31.952
02:18:17.914
02:19:08.048
02:21:51.711
02:23:54.125
02:33:30.659

As you can see, you can't go wrong when it comes to bdedit. Comparisons are made on the same mpls.

Last edited by crl2007; 29th December 2009 at 19:34.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 19:47   #66  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
I don't think you understood the problem.
Let's see some facts :

1) TSmuxer reads the chapters correctly
2) I DO keep the original MPLS because I want pop-up menu, I only replace the m2ts and clipinf files.
3) The resulting bluray has working menu but the timing problem mentioned.

Since the mpls is the original one! the problem lies with the m2ts file exported from TSmuxer I believe. The mpls and the m2ts are somehow connected in how chapters are handled, so using the NEW m2ts with the original mpls does not "sync" as far as chapters go.

Using the new mpls kind of works, because I guess the timming screw-up TSmuxer does to the m2ts file, is also done to the mpls, so they sync....but hten you get no menu....

So, the way I see it, the solution is not to tinker with the mpls, since its the original one anyway, its to tinker with the resulting M2TS filr from tsmuxer so it comes out "correctly".

Here is the example of my movie testing. The movie is Wedding Crashers Uncorked edition.

I ran the mpls files through a program that reads them and here is the result :

Original MPLS :

File Size: 586 bytes


Time_IN 00:00:11.651
Time_OUT 02:07:12.431
Duration 02:07:00.780

CH 0 00:00:11.651
CH 1 00:03:51.203
CH 2 00:15:36.616
CH 3 00:23:58.451
CH 4 00:39:22.416
CH 5 00:44:12.873
CH 6 00:49:31.733
CH 7 00:53:02.694
CH 8 00:59:24.241
CH 9 01:06:34.296
CH 10 01:12:12.968
CH 11 01:19:16.808
CH 12 01:22:07.729
CH 13 01:26:31.158
CH 14 01:29:04.604
CH 15 01:35:30.239
CH 16 01:41:19.170
CH 17 01:48:06.536
CH 18 01:53:30.776
CH 19 02:01:01.268
CH 20 02:07:12.180

TSMuxer output MPLS :

File Size: 530 bytes


Time_IN 00:10:00.000
Time_OUT 02:17:00.768
Duration 02:07:00.768

CH 0 00:10:00.000
CH 1 00:13:39.552
CH 2 00:25:24.965
CH 3 00:33:46.800
CH 4 00:49:10.765
CH 5 00:54:01.221
CH 6 00:59:20.082
CH 7 01:02:51.042
CH 8 01:09:12.590
CH 9 01:16:22.645
CH 10 01:22:01.317
CH 11 01:29:05.157
CH 12 01:31:56.077
CH 13 01:36:19.507
CH 14 01:38:52.952
CH 15 01:45:18.587
CH 16 01:51:07.519
CH 17 01:57:54.885
CH 18 02:03:19.125
CH 19 02:10:49.617
CH 20 02:17:00.529

My understanding is, that the treatment done from tsmuxer to the output mpls, is also done to the output m2ts file and thus when those 2 are used together they work fine. But using the new m2ts with the old mpls that has correct timmings obviously does not work...
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 20:59   #67  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
@deank you were successful replacing a re-encoded main movie into the original BDMV structure? And that re-encoded feature was output as .m2ts by tsMuxeR?

Quote:
Originally Posted by deank View Post
Basically it is down to using the original blu-ray disc files and replacing the main movie with the reencoded one, editing the original .mpls file to set new in/out times and chapter points. Of course this works when the menu is in a separate m2ts file and the main movie is in one m2ts file.
Am I correct in assuming that the editing you did on the "original .mpls file" was to ADD 10 minutes to the original's IN and OUT times, and each of the Chapter start points? And did you also copy-over from tsMuxeR's output the new clpi files?

I finally sat down and figured-out your HEX math and am going to try this myself...
laserfan is offline   Reply With Quote
Old 29th December 2009, 21:19   #68  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,251
Quote:
Originally Posted by laserfan View Post
@deank you were successful replacing a re-encoded main movie into the original BDMV structure? And that re-encoded feature was output as .m2ts by tsMuxeR?



Am I correct in assuming that the editing you did on the "original .mpls file" was to ADD 10 minutes to the original's IN and OUT times, and each of the Chapter start points? And did you also copy-over from tsMuxeR's output the new clpi files?

I finally sat down and figured-out your HEX math and am going to try this myself...
You're right... But it is not by adding 10mins, but for example:

original in time is: 00:00:11.650
tsmuxer in time is: 00:10:00.000

so you need to add 00:10:00.000 - 00:00:11.650 = 00:08:48.350 = (8x60 + 48 + 0.350) * 1000 * 45 = 23775750 = 0x016ACA06

or in other words, HEX add 0x016ACA06 to all chapters and change original in/out times in the original mpls file.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 29th December 2009 at 21:36.
deank is offline   Reply With Quote
Old 29th December 2009, 22:02   #69  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
I found this little program that can help you avoid the HEXing. I used it and set the IN time of my original MPLS file to 10mins (600 seconds as it asks in seconds) and my movie and hcapters and popup menu work great now!
Check it out, it will help you too I believe avoid HEX editing :

http://forums.sagetv.com/forums/showthread.php?t=41722
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 22:23   #70  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
Again, why is this easier than replacing the original mpls ? Or putting the chapters from bdedit in tsMuxer if the chapters get screwed ?

readmpls.exe crashed when it started to read the chapters in this mpls from above. And it starts the chapters from that in time.

Orig TimeIN: 01:09:58.000 This is the original in time on this mpls. The edited mpls holds the same information as the original one. Only with IGS menus you have to keep the original mpls, but it's ok because if the chapters get screwed up, you can put them from bdedit directly. But if it is easier for you to do lots of unnecessary operations, feel free.

Last edited by crl2007; 29th December 2009 at 22:32.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 22:26   #71  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
It's not easier. But
1)Replacing the original mpls makes my popup menu not work
2)TSmuxer reads the chapters perfectly fine, inserting them from BDedit would do nothing, they are exactly the same. It's the output files you get that are screwed by being +10mins and you can do nothing about that
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 22:43   #72  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
Where exactly doesn't your pop-up work ? In a standalone player ? PS3 ? Because on TMT and Nero works fine the way I do it. If it works for standalone players, feel free to write a few words in what people should do if they have standalones and I will introduce that in the guide.

As you can see above, the original mpls has Orig TimeIN: 01:09:58.000. And after I have edited the disc, the edited one has 10:00.000, but the chapters are playing fine and the pop-up the same. On software players like PowerDVD 9, TMT and Nero. If you discovered this glitch for standalone players, let's put it in the guide. But if it is for software players too, I'm afraid that is an extra hassle.

Last edited by crl2007; 29th December 2009 at 22:49.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 22:56   #73  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
I am not using TMT anymore, although I was using it for the past year, I want bitstream HD audio now and only powerdvd can do that. So I am using Powerdvd 9 and in all those tests I am forced to create an ISO after I finish editing to be able to run the bluray with powerdvd. So I am not using a standalone player, but maybe because of the way powerdvd works (ISO loading) it emulates the situation better than TMT?

Bottomline is, I tested, and with Wedding Crashers and Notebook, if I replace the original MPLS file, there is no popup menu. If I edit the timings on this original file, then everything works great. It's as if this original MPLS has some extra info about the menu that are lost if you use the TSmuxer exported one.

I also tried this with Dodgeball that has a Java menu (and was working OK even if original MPLS was replaced) and it worked great too. So I see this as a good universal approach :
Steps :
1) Read bluray folder with BDinfo to find your movie m2ts/mpls
2) TSmuxer this mpls to bluray output
3) Replace movie m2ts and clpi with the remuxed ones
4) Edit movie mpls adding 10mins to the timming
5) IMGburn to ISO and load

For BD Java movies, replacing the mpls with the new one is good enough and there is no need for editing the existing one. But it's not that much more of a hassle, and having a universal way is important when writing a guide.
Did this for all my 3 movies and the result is terrific. Gonna go try some more now.

If you want, try using PowerDVD and turning your folder to ISO....I think this is where the difference lies and why I cant get menu without the original MPLS. And if this turns out true, then it could probably be the reason also for standalone players not viewing the menu...

Last edited by Blinky7; 29th December 2009 at 22:58.
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 23:04   #74  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
I believe that this coud be a great approach for IGS menu blu-rays. It could be a unique solution. Wedding Crashers and Notebook I know they have IGS menu and it's great if it works like this. I'll put thit method in my guide right now, but only for IGS menus. If you have java and other stuff related in the same m2ts, tsmuxer will not keep them in the m2ts, and therefore replacing is the best way. I'll make some screenshots. Please stay around about half an hour and tell me if how I present the method is ok.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 23:09   #75  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by Blinky7 View Post
I found this little program that can help you avoid the HEXing. I used it and set the IN time of my original MPLS file to 10mins (600 seconds as it asks in seconds) and my movie and hcapters and popup menu work great now!
Check it out, it will help you too I believe avoid HEX editing :

http://forums.sagetv.com/forums/showthread.php?t=41722
When I try their link, I get a "Slow Down!" message and it won't let me download it. Tried two browsers...maybe you have to be a member & logged-on? Does anyone know the magic, or another location for this util?
laserfan is offline   Reply With Quote
Old 29th December 2009, 23:16   #76  |  Link
Blinky7
Registered User
 
Join Date: Nov 2006
Posts: 46
Quote:
Originally Posted by laserfan View Post
When I try their link, I get a "Slow Down!" message and it won't let me download it. Tried two browsers...maybe you have to be a member & logged-on? Does anyone know the magic, or another location for this util?
I am not a member and I downloaded it fine a few hours ago. I even tried the link again now and it started the download.....u were probably unlucky with server traffic or something, try again...
Blinky7 is offline   Reply With Quote
Old 29th December 2009, 23:36   #77  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
Done, included in the guide. There is something that I forgot ?

@laserfan The download worked great here too.
crl2007 is offline   Reply With Quote
Old 29th December 2009, 23:40   #78  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Bah, my ISP must be causing the problem; just can't get it for some reason.
laserfan is offline   Reply With Quote
Old 29th December 2009, 23:43   #79  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,251
Quote:
Originally Posted by laserfan View Post
When I try their link, I get a "Slow Down!" message and it won't let me download it. Tried two browsers...maybe you have to be a member & logged-on? Does anyone know the magic, or another location for this util?
Here you go: http://multiAVCHD.deanbg.com/MPLS_Tools_v0_2.zip
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 29th December 2009, 23:58   #80  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by deank View Post
Thank you!!! You are a gentleman as well as a scholar!

Quote:
Originally Posted by deank View Post
You're right... But it is not by adding 10mins, but for example:

original in time is: 00:00:11.650
tsmuxer in time is: 00:10:00.000

so you need to add 00:10:00.000 - 00:00:11.650 = 00:08:48.350 = (8x60 + 48 + 0.350) * 1000 * 45 = 23775750 = 0x016ACA06

or in other words, HEX add 0x016ACA06 to all chapters and change original in/out times in the original mpls file.
It's actually a 9:48.350 difference but I get your drift! I'll try it!

laserfan 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 13:32.


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