View Full Version : BDedit - BD structure edit
crl2007
14th March 2010, 13:56
Excellent work. The days of IGS supremacy are almost over. :D
deank
14th March 2010, 14:54
:thanks::thanks::thanks:
Pelican9
14th March 2010, 15:07
Thanks for the menu previews will try it out soon, do you have plans to allow editing the buttons and also blanking target(s) through buttons?
I'll try to figure out how can I save a completely new m2ts with the IGS stream. If I can do that I'll make the editing part.
Or is there any solution to mux an IGS to an m2ts?
I think I can easily write the IGS only.
:thanks::thanks::thanks:
Easy NOPing - especially for you :)
Pelican9
14th March 2010, 21:14
I've made some bug fix work and now you can run/trace the movie object commands and there is a new Find tool...
PurpleMan
15th March 2010, 15:33
@Pelican9:
Currently, there is no way I know of to mux IGS streams to m2ts. TSMuxer doesn't support it.
I gotta hand it to you, though, excellent work so far! Many many thanks!
Future feature requests still include exporting menu buttons to .png and importing them (potentially editted) back to replace existing button images.
Pelican9
16th March 2010, 00:52
Another bugfixes...
Purpleman:
Saving first...
PurpleMan
16th March 2010, 14:00
Another bugfixes...
Purpleman:
Saving first...
Yup, agreed.
I have a question though. There is something in main-movie MPLS files that tells the player what to display when the user presses the "pop-up menu" button. Do you know what it is and whether or not we can see it in BDEdit?
Pelican9
16th March 2010, 15:46
First, there is a User Operation Mask in the AppInfoPlayList section and it has a Pop up On bit (UO7) which enables or disables this user activity.
The Pop up Menu itself is an IGS which can found in a SubPath associated to a PlayItem.
And yes, you can see these infos in BDedit...
PurpleMan
16th March 2010, 17:28
First, there is a User Operation Mask in the AppInfoPlayList section and it has a Pop up On bit (UO7) which enables or disables this user activity.
The Pop up Menu itself is an IGS which can found in a SubPath associated to a PlayItem.
And yes, you can see these infos in BDedit...
Thanks, but I actually meant BD-J popup menus. Those aren't IGS streams, but jars (as far as I know).
Most blu-ray menus nowadays are java based. Can those be seen in BDEdit? (Not the menus themselves, obviously, I'm just looking for the reference that tells the player to lunch it).
Thanks alot!
Pelican9
16th March 2010, 18:35
I think there is no information about any BDJO related things in the .mpls files.
You can see almost everything in BDedit about the content of the mpls.
I don't like java so I don't know too much about it.
Of course a later version of BDedit (in two-three years time) will show the java stuff. :)
Why do you think that the mpls contains that information?
Edit:
I have a disk with BDJO menu.
The top menu is an HDMV object which runs and starts a title which is assigned to a BDJO.
And all the menu elements stored in the JAR folder (normal PNG images), and the menu created on-the-fly by java.
deank
16th March 2010, 21:57
There is no (simple) way to re-create java based menus or to detect if a title has a pop-up menu. For IGS it is easy (menus are either muxed with the movie or in separate files). For Java discs you need to de-compile the jars to find what each BDJO object does.
Pelican9
17th March 2010, 13:13
I've completely rewritten the graphic engine, so the next version can handle transparency, in and out effects, background picture, full screen or 1:1 view, etc.
http://pel.hu/down/BDedit_PAGE.gif
PurpleMan
17th March 2010, 15:04
Looks nothing short of amazing! Good work, and thank you! :)
Pelican9
19th March 2010, 15:49
Edit:
After two days hard debugging I've finished the new version.
If somebody try it please write a short feedback here. :thanks:
I'm looking for a clpi file with font names in the ClipInfo window and a bdjo file with more than one line in the ApplicationManagementTable window.
For those who want to see more hexadecimal number on the screen I've made some new window in BDedit... :)
Changes for v0.22
- Rewritten graphic engine for menu displaying
- Show InEffects and OutEffects including palette changing and cropping in realtime (option to disable)
- Built-in background graphic and loadable background image
- Two view modes: 1:1 or fit-to-window (keep aspect ratio)
- Selectable bitmap preloading
- New infos on CLIPINF tabsheet: ClipInfo, CPI, ExtensionData
- Play button for an external player to play m2ts on CLIPINF
- New tabsheet: BDJO Read xxxxx.bdjo (AppCacheInfo,TableOfAccessiblePlayLists, KeyInterestTable, TerminalInfo, FileAccessInfo, ApplicationManagementTable)
- Minor bugfixes (and a strange one)
setarip_old
20th March 2010, 04:36
@Pelican9
Hi!
In light of your earlier efforts with EVOdemux, perhaps you can share your knowledge of HD-DVD chaptering and timestamps with "deank", who has provided us with the ability to convert BluRays to HD-DVDs?
Pelican9
20th March 2010, 06:25
I can definitely do that but I think he knows much more than me about both of the blue formats...
crl2007
20th March 2010, 10:28
Great work. Now is faster, well organized, it won't be a hassle at all to later edit the menu. Congratulations.
deank
20th March 2010, 19:20
I can definitely do that but I think he knows much more than me about both of the blue formats...
Not enough about the RED (HD-DVD) format :)
I need to recreat the ff/rew tables in the IFO files for chapter jumps. It may seem easy for the guys that know DVD format, but not to me. If you can help with that it will be much appreciated.
Dean
Pelican9
20th March 2010, 20:03
Not enough about the RED (HD-DVD) format :)
I need to recreat the ff/rew tables in the IFO files for chapter jumps. It may seem easy for the guys that know DVD format, but not to me. If you can help with that it will be much appreciated.
Dean
Sorry but I had have information about the EVO file only...
I saw an IFO file last time in IFOedit but it was a few years ago
I guess you don't have documentation...
But there is a HD-DVD mux program, maybe the writer(s) of it can help.
deank
20th March 2010, 20:41
I can definitely do that but I think he knows much more than me about both of the blue formats...
Well he's in-and-out for the last year and being not much of a helper... and he used Nero-created IFO files for base (without chapters).
Reverse engineering is really a though thing to do. :)
Emulgator
20th March 2010, 21:43
I have just picked up Ulead DVD-MF 6+ with HD-DVD muxing capabilities for 40 USD + tax,
maybe I can help with some passes...
chompy
21st March 2010, 11:10
I'm looking for a clpi file with font names in the ClipInfo window and a bdjo file with more than one line in the ApplicationManagementTable window.
Hi, here you have some bdjo with more than one line:
http://www.mirrorcreator.com/files/1NZ9BOAX/bdjo.rar_links
When you say you need clpi file with font names, what do you mean? I have some with ATC_delta_entries (all of them are clipcodec m2ts), it's that what you're looking for?
Greetings
Pelican9
21st March 2010, 12:53
A new snapshot is available to download.
Changes for v0.23
- Rewritten button animation (animate on/off, all button states)
- More double click follow
- Improved tracing
- bug fixes
Hi, here you have some bdjo with more than one line:
http://www.mirrorcreator.com/files/1NZ9BOAX/bdjo.rar_links
:thanks:
When you say you need clpi file with font names, what do you mean? I have some with ATC_delta_entries (all of them are clipcodec m2ts), it's that what you're looking for?
No. If the application type text subtitle then there are a table with font files above the ATC deltas. But I have received that from someone else.
crl2007
22nd March 2010, 09:31
I have a problem with a Blu-Ray IGS menu. When I choose to see the IGS from CLIPINF TAB it spits out this error:
http://i41.tinypic.com/9a34lw.jpg
Does this with almost every Blu-Ray, even if I let them on disc or if I rip them to my hdd.
Pelican9
22nd March 2010, 14:15
I have a problem with a Blu-Ray IGS menu. When I choose to see the IGS from CLIPINF TAB it spits out this error:
http://i41.tinypic.com/9a34lw.jpg
Does this with almost every Blu-Ray, even if I let them on disc or if I rip them to my hdd.
Could you send the smallest clpi and m2ts to me?
Which version?
crl2007
22nd March 2010, 14:23
The last version. I will send you the files.
LE: You have PM.
Pelican9
22nd March 2010, 18:13
New version is available
Changes for v0.24
- There is a mandatory delay at the program start for 10 sec.
Every copy of BDedit has a serial number since v0.17
You can register this serial with donation (min. 10 EUR) or lot of help.
Registered users skip the waiting procedure.
- Bug fixes with IGS load and tracing commands
The last version. I will send you the files.
LE: You have PM.
Received. :thanks:
You have a PM too. :)
crl2007
23rd March 2010, 00:33
Tested now and that IGS with problems is loaded fine.
LE: Spoke too soon. I found 2 new bugs.
1. http://i40.tinypic.com/ixzfc7.jpg
The navigation does not work when you try to select buttons from the second page of the menu.
2. After the first thing happens, you can't return to 1st page either, so you try to close the program and re-read the disc. In this moment, an entire wall of "access violation" errors appear. They literally covered my desktop. I had to use Ctrl + Alt + Del and end the bdedit process. Tried three times, the same result. I just wanted to be sure that it's not an isolated event. It's the same disc that had that error from above.
Pelican9
23rd March 2010, 01:27
1. The navigation does not work when you try to select buttons from the second page of the menu.
2. After the first thing happens, you can't return to 1st page either, so you try to close the program and re-read the disc. In this moment, an entire wall of "access violation" errors appear. They literally covered my desktop. I had to use Ctrl + Alt + Del and end the bdedit process. Tried three time, the same result. I just wanted to be sure that it's not an isolated event. It's the same disc that had that error from above.
The first one is not a bug (usually), you have to check what the program do.
Usually the button programs expect a lot of presetting GPR and PSR values and as I can tell these programs are very unoptimized (even this one you sent me today) and easily turn to an infinite cycle (Is this the term for a never ending program?).
You strongly recommended to run the program step by step, see which register need a value to go further. Before every step you can set the registers, so you can navigate the program in to the right direction.
Start the program at the page zero and don't change the page manually it will change by the SetButtoPage commmand.
You can run the movie object commands before you start the menu because the two command sets are using the same registers, but it's not an easy task to follow this mess.
The second one is definitely a bug I will play with it.
Edit: You can stop the constant loop just tick the trace checkbox.
Edit2: Could you send me the two bdmv files for this?
crl2007
23rd March 2010, 08:55
Yes. You have a PM.
LE: Tested again with the trace checkbox ticked and the menu pages do not unfold. Just shows me the commands but when I choose U D L R Sel still nothing happens. And a second part of a menu appears in the top part of the screen. I've made 2 screenshots.
http://thumbnails12.imagebam.com/7315/ed2a8073142546.gif (http://www.imagebam.com/image/ed2a8073142546) The second portion.
http://thumbnails14.imagebam.com/7315/6de50673142547.gif (http://www.imagebam.com/image/6de50673142547) The normal part.
If you want, I can give you access to my computer through TeamViewer and test this out more.
Pelican9
23rd March 2010, 14:14
This disc is really a mess, it's a miracle it can work at all.
Invalid commands, missing buttons, meaningless code, etc.
I try to handle all of this abnormal thing and make my code fool-proof...
The fix coming soon.
Pelican9
23rd March 2010, 15:47
The fix is available.
For your better understanding I'm trying to explain now what happen in the Menu page.
When you first press the Start button the program checks all the buttons and decides which one can be displayed ('valid').
The process:
1. check the BOGs
1.1 if a BOG has a default valid button value which is not $ffff then this button (if exists) in this BOG is valid
2. display all the valid buttons
3. find the 'selected' button
3.1 if the page has a default selected button (<$ffff) then bingo
3.2 if not, check all the valid buttons and if its auto action flag is Yes then run the commands of this button (usually there is a SetButtonPage command which set the 'selected' button)
4. display the selected button
5. if the selected button's auto action flag is Yes then run its commands
If everything went fine you can see the page now.
The navigation buttons do the following:
U: If there is a selected button and this selected button's 'upper' field has a value which is not the same as the buttons own id then this will be the new 'selected' button
D: If there is a selected button and this selected button's 'lower' field has a value which is not the same as the buttons own id then this will be the new 'selected' button
L: If there is a selected button and this selected button's 'left' field has a value which is not the same as the buttons own id then this will be the new 'selected' button
R: If there is a selected button and this selected button's 'right' field has a value which is not the same as the buttons own id then this will be the new 'selected' button
If you press the 'Sel' button then the selected button's commands will run
If no selected button or the selected button has the same button id in these fields then you cannot navigate
crl2007:
In your example I can use the audio settings if I preset the PSR1, PSR2, PSR4, GPR1001, GPR1002 in the right time, but it's too difficult to explain all the things you have to do
You can find another disc which is properly authored.
'Unfortunately' I've tested BDedit with Ice Age II which is a perfect work there is no even one unnecessary command, you have to preset the PSR1 value for the audio menu or the PSR5 for the chapter menu and everything work well without any trace.
(Sorry for my English)
crl2007
23rd March 2010, 17:13
Still an access violation error. This disc starts to annoy me. As I told you, I can give you access through Teamviewer to see everything this disc has to "offer". I'm not such a computer geek, but even I can see that there are some invalid commands.
Pelican9
23rd March 2010, 17:45
Still an access violation error. This disc starts to annoy me. As I told you, I can give you access through Teamviewer to see everything this disc has to "offer". I'm not such a computer geek, but even I can see that there are some invalid commands.
When the AV error comes?
What title is this anyway?
My internet access is very limited (D:20kB/s, U:2kB/s) so I can't use that Teamviewer option but thanks.
deank
23rd March 2010, 18:22
I often get access_violation errors with BDedit. 100% of the cases I get such errors it turns out to be mpls/clpi/bdmv which is either broken (I brake it :)) or does not conform the standards. That's been since the 1st version, so I would not worry about such things :)
Dean
crl2007
23rd March 2010, 21:18
When the AV error comes?
What title is this anyway?
My internet access is very limited (D:20kB/s, U:2kB/s) so I can't use that Teamviewer option but thanks.
When trying to read the menu bitmaps. It's Ninja Assassin bought from Europe.
Pelican9
23rd March 2010, 22:52
Strange, because for me no error at all.
I can do anything without any error.
I can see all the pages correctly.
crl2007
24th March 2010, 09:00
Maybe BDEdit has some conflicts with windows 7 x64 ?
Pelican9
24th March 2010, 14:22
I'm using the same system...
Pelican9
25th March 2010, 23:19
Changes for v0.25
- View/Edit/Save sound.bdmv (Delete/Play sound, Save/Load sound to/from .wav file)
- Delete, View, Load, Save ExtensionData() from/to sound.bdmv
- Menu page view can play button sound on selected and activated states
- Double click on s.sound or a.sound fields of Button table plays the selected sound
rapscallion
26th March 2010, 19:10
@pelican, I just upgraded tp v25 and every rime I start the program, it says "unregistered" and defaults to the "donation" tab and has a short countdown until the main screen appears.
How to "register" or bypass that startup? Thanks
deank
26th March 2010, 19:21
Link. (http://forum.doom9.org/showthread.php?p=1385088#post1385088)
New version v0.24b
New version is available
Changes for v0.24
- There is a mandatory delay at the program start for 10 sec.
Every copy of BDedit has a serial number since v0.17
You can register this serial with donation (min. 10 EUR) or lot of help.
Registered users skip the waiting procedure.
rapscallion
26th March 2010, 20:01
Thanks dean.....I missed that. I also don't see a sn anywhere on the about page. ??
deank
26th March 2010, 20:15
It was hard for me to find it, too, since the SN color is too close to the interface foreground:
http://multiavchd.deanbg.com/bd_serial.jpg
Click and drag with the mouse (or double click in the area) and you should see it.
rapscallion
26th March 2010, 20:20
Now that's what I call a hidden sn....kind of like a "spoiler alert "
Thanks again dean.
Pelican9
26th March 2010, 22:05
There is a new snapshot on my site.
Changes for v0.26
- Save program list (MovieObject commands)
- One-click version update
- Internet access has rewritten to a separate thread
- One Effect tab instead of InEffects and OutEffects
- Bug fixes (including transparency and cropping issues)
dean:
:thanks:
You support BDedit like your own software... :)
Pelican9
31st March 2010, 16:36
Changes for v0.27
- Insert/Delete object updates the Title's object_id references
- Save program in binary format (MovieObject commands)
- Edit fields of PlayItems
- IN time value change can update OUT time value,
SubPlayItem IN/OUT time values and PlayListMark mark time values
- Edit fields of SubPlayItem
- Edit fields of Button commands
- Reset registers can fill up the PSRs with 'real' values
(instead of standard initial values)
- New Commands Table (invalid and forbidden opcodes with different colors)
- Bug fixes
@Pelican9 In the Playlist tabsheet would be nice to have something like mpls tools and calculate the entire chaptermarks if you enter another IN_Time.
Done. :)
crl2007
31st March 2010, 17:02
Great job. :thanks:
rapscallion
1st April 2010, 05:17
I'm having trouble with what should be a simple task. I want to remove the FBI warning.
From the op :
For example you want to remove the FBI warning before the main movie.
Play the m2ts files, to find the unwanted clip (the warning, PG, etc.).
If you found click to Find. It will give you a list of the Items using this clip.
Switch to the PLAYLIST tab, select the listed PlayList and Click the Find button here.
It will give you a list, which movie object's command plays this PlayList.
Switch to the BDMV tab, select the listed object and command and press Shift-N.
It will change the command to NOP (do nothing).
Follow these steps until you delete all occurrences.
In this case 00003.m2ts is the FBI clip and 00018.mpls is the playlist.
However, clicking the "find" button doesn't give any further info re which movie object's commands apply so I don't know what to do on the BDMV tab to change a command .
Find button results :
00003.m2ts found in:
00003.mpls , PlayItem 000
PlayList 00018 found in:
Pelican9
1st April 2010, 13:18
In this case 00003.m2ts is the FBI clip and 00018.mpls is the playlist.
However, clicking the "find" button doesn't give any further info re which movie object's commands apply so I don't know what to do on the BDMV tab to change a command .
Find button results :
00003.m2ts found in:
00003.mpls , PlayItem 000
PlayList 00018 found in:
Based on the log the 00003.m2ts found in the 00003.mpls but after that you search the 00018 mpls not the 00003
Is it right?
Switch to the PLAYLIST tab select the 00003.mpls and click to Find.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.