Log in

View Full Version : BDedit - BD structure edit


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27

DreckSoft
24th February 2023, 17:40
@AVX
I don't think you should replace the MPLS file. Only M2TS and CLPI from tsMuxeR.

When I replaced the mpls, my test disc wouldn't play. I ended up manually editing the playlist with the new video properties and that worked.

AVX
24th February 2023, 20:01
@AVX
I don't think you should replace the MPLS file. Only M2TS and CLPI from tsMuxeR.

When I replaced the mpls, my test disc wouldn't play. I ended up manually editing the playlist with the new video properties and that worked.

I will test that.

But in this case (Casino Royale) the disc won't even go to the main menu so i cannot test those options.

SquallMX
6th March 2023, 18:31
Have you changed the video stream properties?
It should be HEVC, 2160p, HDR10 or HDR10+, and BT.2020
There is s new checkbox at the end of the video properties line, if you check it the changes you made will apply to all PlayListItem.

@pel9 could you add an "apply to all" for audio and subtitles?, currently it only works on video streams.

pel9
7th March 2023, 13:44
@pel9 could you add an "apply to all" for audio and subtitles?, currently it only works on video streams.
Yes, I'm rewriting the code for a more generic solution (instead of apply all the changes on the fly I will copy the final STN table to all PlayListItem)

pel9
10th March 2023, 13:58
03/10/2023 Changes for 0.55

- New Open dialog with META images, titles and BD-ROM version number
- Create, delete and save META xmls and images
- Edit Disc_info UHD Extension (use 'Space' to toggle values)
- Bug fixes

Those who got version 0.54 can download version 0.55 from the same link.

DreckSoft
10th March 2023, 22:12
That version has a regression bug. The access violation is back when clicking one of the text fields below the program list.

https://ibb.co/sWsB6rK

pel9
10th March 2023, 22:40
Thanks for the bug report. Fixed.

SquallMX
13th March 2023, 17:03
Thanks for the update!!!

Unfortunately, even on the latest release any editing of a mpls with a DV track results in a broken mpls after saving and reloading, with the entire PlayListMark area blanked:

Original:
https://i.imgur.com/mn9pzjT.png


After an audio edit:
https://i.imgur.com/e6u3ojw.png


After saving the audio edit:
https://i.imgur.com/bZXkbzM.png


Trying to manually input the PlayListMark data results in an "Access Violation" error:
https://i.imgur.com/1jQft7k.png

Here is a video:

https://www.youtube.com/watch?v=f4fFUFYO4w4

:thanks:

pel9
13th March 2023, 20:27
It seems it is a badly authored BD.
I've fixed the program to handle this anomaly.
For me, this was the first BD with improperly formatted mpls (or whatever) files.

SquallMX
13th March 2023, 22:42
It seems it is a badly authored BD.
I've fixed the program to handle this anomaly.
For me, this was the first BD with improperly formatted mpls (or whatever) files.

Thanks a lot for the speedy update. :)

pel9
21st March 2023, 16:09
03/21/2023 Changes for 0.56
- The open and save dialog for objects and palettes handle multiple selection
- Load function checks the filenames for oXXXX and pYY strings
(where XXXX the hexadecimal object id, and YY the hexadecimal palette id)
if all selected file has object id and replace object is checked then it uses the ids
from the filenames instead of the selection of the objects grid
- Version change modify sound.bdmv too
- Bug fixes

Cesarleeds
5th April 2023, 08:33
Hey @pel9

Can you implement a new function to edit multiplexed files?

I mentioned my case in here https://forum.doom9.org/showthread.php?p=1985389#post1985389

When muxing a multiplexed menu, being a video+audio menu plus an ig menu, bdedit won´t mux the whole thing, just the ig menu.

9700PRO
15th May 2023, 10:20
Hello Pel9
How can I get your program?

ernnnn
20th June 2023, 14:46
I have a "problematic" disc, with a first screen saying "Invalid region" I cannot seem to get rid of it. I have tried changing region or erasing that screen with different programs, but nothing worked. Is there any way to say the disc to go directly to the menu screen without playing that particular screen first? Any help would be much appreciated, as I just know how to use BDEdit a little bit.

Thanks in advance!

Lowpro
21st June 2023, 19:04
I have a "problematic" disc, with a first screen saying "Invalid region" I cannot seem to get rid of it. I have tried changing region or erasing that screen with different programs, but nothing worked. Is there any way to say the disc to go directly to the menu screen without playing that particular screen first? Any help would be much appreciated, as I just know how to use BDEdit a little bit.

Thanks in advance!

Load the Blu-ray in BDedit. From the "BDMV" tab press the "Region Code" button. This will remove any Region Code checking commands. The status bar should report whether any Region Code checking commands were found and removed. To save your changes press the "Save" button.

DreckSoft
30th July 2023, 17:54
I found an issue with the new Covert to Version 3 function. If index.bdmv and / or MovieObject.bdmv are already V3, the option is greyed out. This will of course only be the case, if you replace files within an already converted structure.

pel9
2nd August 2023, 14:41
I found an issue with the new Covert to Version 3 function. If index.bdmv and / or MovieObject.bdmv are already V3, the option is greyed out. This will of course only be the case, if you replace files within an already converted structure.

Yes, the program only checks the index.bdmv to determine the version number.
A properly built BD has consistent version settings all over the files.

maldon
8th August 2023, 13:27
I wonder something. Instead of removing buttons, could the subtitle buttons be duplicated?

I mean, if in a blu-ray menu I have only 3 buttons for subtitles: English, Spanish and French, can I duplicate one of these to create a button for German subtitles? Then all that would have to be done is to change the name.

I guess the answer is no, but I wanted to be sure.

maldon
12th August 2023, 13:25
More questions.

When I play one disc for the first time, it plays the 00004.m2ts file first and then the 00006.m2ts file before the menu.

These 2 files are in the STREAM folder. I want the 00006.m2ts file to play before the 00004.m2ts file.

I wish to try something else. I want to leave only one of the two m2ts files to play before the menu appears. So, I want to remove all traces of one of those two m2ts files.

I don't understand how to do this with BDedit but I've read that it is possible, I want to make sure that the blu-ray disc will play perfectly on a Sony or Panasonic blu-ray player, for example. I have Blu-ray Player Pro and maybe if it works fine with this software it won't work with a blu-ray player like the ones I said and then it won't read the disc.

ocean
12th August 2023, 14:54
Hi maldon, try entering with BDedit on playlist 00002.mpls, delete 00006, save and then try it:

https://i.ibb.co/hBpCFYS/Senza-titolo.png (https://ibb.co/hBpCFYS)

https://i.ibb.co/fMY4FGS/Save.jpg (https://ibb.co/fMY4FGS)

After deleting the 00006, you can try to delete 00006.clpi and 00006.m2ts.
Always save first.

maldon
15th August 2023, 12:11
Hi maldon, try entering with BDedit on playlist 00002.mpls, delete 00006, save and then try it:

https://i.ibb.co/hBpCFYS/Senza-titolo.png (https://ibb.co/hBpCFYS)

https://i.ibb.co/fMY4FGS/Save.jpg (https://ibb.co/fMY4FGS)

After deleting the 00006, you can try to delete 00006.clpi and 00006.m2ts.
Always save first.

Thank you very much, ocean.

Lowpro
18th August 2023, 17:31
I posted the below response to someone on another forum who was curious what tool I used to create Blu-ray menus. I thought I'd post my response here as well in the event there was any interest. Most of the items in bold below link to images which give you a visual of what I'm talking about. In any event, just thought I'd share. Enjoy the read!
__________________________________

What tools do I use to make Blu-ray menus?
I use a tool called BDedit (http://bdedit.pel.hu/). Well, for everything except the graphics. All my graphics work is done in Photoshop. I create a mock-up of the given Blu-ray menu in Photoshop saving the various menu elements as PNG's. Using the transform tool in Photoshop I determine (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_button_coordinates.png) the X and Y coordinates (...upper left corner) to be used for each image when going to position (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_button_overlap_group.png) the image (object) within the Blu-ray menu.

Once exporting all my assets from Photoshop I process (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_png_quantizer.png) a given set of images through a command-line tool called PNG Quantizer (https://forum.doom9.org/showthread.php?t=175734). PNG Quantizer analyzes the images creating a single 256-color palette to be used with each, copies of the images being saved as 8-bit indexed PNG's, a requirement of HDMV (High Definition MoVie) based Blu-rays which also limit you to one color palette per menu page. From there I import (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_load_objects.png) the images (objects) to the Blu-ray I'm working on in BDedit assigning the objects (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_assign_object_01.png) to menu buttons (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_assign_object_02.png).

So BDedit (http://bdedit.pel.hu/) is my core authoring tool. It's used to create the Blu-ray including any menus. Photoshop in conjunction with PNG Quantizer (https://forum.doom9.org/showthread.php?t=175734) is used to generate the menu graphics. The last thing I do is integrate the actual videos to the Blu-ray I'm working on, i.e. one or more movies or TV episodes, bonus features, menu backgrounds, etc. Each title (including the Top Menu) consists of a M2TS (Clip AV Stream), CLPI (Clip Information) and MPLS (PlayList) file.

To create the M2TS/CLPI/MPLS set for a given title I author my source files (video/audio/subtitles) to Blu-ray (with no menu) using multiAVCHD (https://multiavchd.deanbg.com/). Once authoring to Blu-ray using multiAVCHD I move the M2TS/CLPI/MPLS set for a given title over to the Blu-ray I'm creating with BDedit renaming the files accordingly if needed per the numbering structure I'm using. Lastly I edit the MPLS (PlayList) file for each title added ensuring the PlayItem (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_playlist_file_01.png) within each PlayList is referencing (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_playlist_file_02.png) the correct M2TS file. If the given title includes an Interactive Graphics (IG) Stream (Top Menu or PopUp Menu) that reference is added (https://www.lowpro.net/doom9.org/menus/alias/bd_menu_alias_playlist_stn_ig.png) to the STN (STream Number) table (IG\SubPath) of the title's PlayList.

(If you'd like to learn more feel free to engage me in the thread found, here (https://forum.doom9.org/showthread.php?p=1990456#post1990456). Feel free to PM me as well of course if you'd prefer.)

rickwj324
31st August 2023, 00:36
I hope this is the right place to post. I'm working on a project and hope you all can help (or point me in the right direction).

I have multiple blu-rays that contain two movies on one disc and I'm looking to get rid of one of the movies and keeping the menus for only the one film. Here's how the disc is currently structured:

1)It plays a "new line" logo then goes to a "Movie 1 or Movie 2" selection menu, then depending on which one you select it takes you to the next static menu for either Movie 1 or Movie 2. I'd like to get rid of this selection menu and have it go directly to the static menu for Movie 1.

2)Once you go to the Movie 1 menu it gives you the standard menu with options for play movie, language, scene selection, etc. I'd like THIS menu to be my main menu only.

3)So ideally the disc starts, plays the initial warnings, goes to the "new line" logo video, then goes straight to the Movie 1 menu. I want it to stay in that menu. There is also a single icon on this menu that you could select to go back to the "movie 1 or movie 2" menu, but I'd like to remove that icon.
Can this be done with any software (bdedit, multiavchd, etc)?

Thanks in advance if someone can help me with this I'd greatly appreciate it.

RickWJ324

Lowpro
31st August 2023, 05:25
I hope this is the right place to post. I'm working on a project and hope you all can help (or point me in the right direction).

I have multiple blu-rays that contain two movies on one disc and I'm looking to get rid of one of the movies and keeping the menus for only the one film. Here's how the disc is currently structured:

1)It plays a "new line" logo then goes to a "Movie 1 or Movie 2" selection menu, then depending on which one you select it takes you to the next static menu for either Movie 1 or Movie 2. I'd like to get rid of this selection menu and have it go directly to the static menu for Movie 1.

2)Once you go to the Movie 1 menu it gives you the standard menu with options for play movie, language, scene selection, etc. I'd like THIS menu to be my main menu only.

3)So ideally the disc starts, plays the initial warnings, goes to the "new line" logo video, then goes straight to the Movie 1 menu. I want it to stay in that menu. There is also a single icon on this menu that you could select to go back to the "movie 1 or movie 2" menu, but I'd like to remove that icon.
Can this be done with any software (bdedit, multiavchd, etc)?

Thanks in advance if someone can help me with this I'd greatly appreciate it.

RickWJ324

This could more than likely be addressed with BDedit if the Blu-ray's are HDMV (High Definition MoVie) based. If the Blu-ray's are BD-J (Java) based instead you'll need to look for another solution. In either case (HDMV or BD-J) MultiAVCHD won't accomplish what you want. That being said, it would be helpful if we knew what Blu-ray's you were talking about. If I own the same Blu-ray's I could take a look at this for you.

rickwj324
31st August 2023, 13:10
This could more than likely be addressed with BDedit if the Blu-ray's are HDMV (High Definition MoVie) based. If the Blu-ray's are BD-J (Java) based instead you'll need to look for another solution. In either case (HDMV or BD-J) MultiAVCHD won't accomplish what you want. That being said, it would be helpful if we knew what Blu-ray's you were talking about. If I own the same Blu-ray's I could take a look at this for you.

Great! Thank you for the assist! I'm working on making my own Nightmare on Elm Street Boxed set and I'm wanting to separate the movies that have 2 on each disc. My goal is to have them all on their own discs with their own cases. The discs are not Java as far as I can tell. I've copied all of them to my computer and when I open them in BDEDIT I'm just not sure how to go about redirecting the menus.

If there's anything I can provide you let me know! I appreciate you looking at this and (hopefully) giving me some pointers.

Thanks, Rick

Lowpro
31st August 2023, 15:02
Great! Thank you for the assist! I'm working on making my own Nightmare on Elm Street Boxed set and I'm wanting to separate the movies that have 2 on each disc. My goal is to have them all on their own discs with their own cases. The discs are not Java as far as I can tell. I've copied all of them to my computer and when I open them in BDEDIT I'm just not sure how to go about redirecting the menus.

If there's anything I can provide you let me know! I appreciate you looking at this and (hopefully) giving me some pointers.

Thanks, RickI own the boxset found, here (https://www.blu-ray.com/movies/A-Nightmare-on-Elm-Street-Collection-Blu-ray/141861/). I'll pull the original discs out of storage and take a look at them. Do you own the same?

rickwj324
31st August 2023, 15:21
I own the boxset found, here (https://www.blu-ray.com/movies/A-Nightmare-on-Elm-Street-Collection-Blu-ray/141861/). I'll pull the original discs out of storage and take a look at them. Do you own the same?

Yes! that's the set! I have the UK version, but all of the blu-rays should be identical (only the bonus disc is region specific).

Disc 1 is Movie 1 only (not a 2 movie disc). I'm looking to separate the movies on discs 2, 3, and 4. I'll need to process each of them twice so that I end up with separate discs for movies 2, 3, 4, 5, 6, and 7. Looking to have a separate disc for each movie that has the corresponding menus for each movie. The static menus are great but they do have a "switch to X movie" that needs to be removed. I hope this makes sense to you?

Thank you so much for your help! --Rick

Lowpro
31st August 2023, 19:22
Yes! that's the set! I have the UK version, but all of the blu-rays should be identical (only the bonus disc is region specific).

Disc 1 is Movie 1 only (not a 2 movie disc). I'm looking to separate the movies on discs 2, 3, and 4. I'll need to process each of them twice so that I end up with separate discs for movies 2, 3, 4, 5, 6, and 7. Looking to have a separate disc for each movie that has the corresponding menus for each movie. The static menus are great but they do have a "switch to X movie" that needs to be removed. I hope this makes sense to you?

Thank you so much for your help! --Rick

Okay. I got the original discs out of storage and you're in luck. These are not BD-J discs. I took a look at Disc 2 just now determining the below.

1. Nightmare on Elm Street 2: Freddy's Revenge
00029.m2ts (Main Menu)
00041.m2ts (Pop-Up Menu)

2. Nightmare on Elm Street 3: Dream Warriors
00057.m2ts (Main Menu)
00086.m2ts (Pop-Up Menu)

So far I've removed the "Switch to X movie" button for each of the above (English) menus. Well, I made it so the BOG (Button Overlap Group), i.e. button was no longer visible and accessible. To do this I selected the CLPI for each M2TS in BDedit, then pressing the "Menu" button. From the "MENU" tab I accessed the "Objects" tab determining the Object ID's (0008-0009) for the "Switch to X movie" button in addition to which PAGE (1) and BOG (0004) the objects were referenced from.

Object ID 0008 | 1:04n // "Switch to X movie" (Normal State)
Object ID 0009 | 1:04sa // "Switch to X movie" (Selected/Activated State)

From there I accessed the "BOGs" tab for PAGE 1, then selecting BOG 0004 from the BOG grid, then changing the Object values from the Buttons grid for each BOG state (Normal/Selected/Activated).

Object values before...
0008 (n.start/n.end)
0009 (s.start/s.end, a.start/a.end)

Object values after...
FFFF (n.start/n.end)
FFFF (s.start/s.end, a.start/a.end)

Setting the values to "FFFF" results in no object being displayed for the given BOG state. The button is still present in this case, but will no longer display an object. Next I updated the BOG's for the other buttons, so that it was no longer possible to navigate from those BOG's (0000-0003) to the "Switch to X movie" BOG (0004).

BOGs for Main Menu:
0000 (PLAY MOVIE)
0001 (LANGUAGES)
0002 (SCENE SELECTIONS)
0003 (SPECIAL FEATURES)

BOGs for Pop-Up Menu:
0000 (DISC MENU)
0001 (LANGUAGES)
0002 (SCENE SELECTIONS)
0003 (SPECIAL FEATURES)

Selecting each BOG from the BOGs grid I changed the "upper" value within the Buttons grid to the same value as the given BOG, i.e. BOG 0000's "upper" value was changed to "0000", BOG 0001's "upper" value was changed to "0001" and so forth. Setting the "upper" value to the same value as the BOG results in no change. When navigating "Up" the current BOG remains selected.

Lastly, I mux'd the IG (Interactive Graphics) menu out updating the original M2TS file. To do this I pressed the "Mux" button located on the bottom left side of the application browsing to the M2TS file in question overwriting it. (Prior to doing so I placed a copy of the original M2TS file in a sub-folder called "M2TS" that I added to the "NIGHTMARE_ON_ELM_STREET\BDMV\BACKUP" folder.) Once updating the M2TS file I needed to make sure the corresponding CLPI (Clip Information) file didn't also need updated per the M2TS file having changed in size.

BDedit does all the work for you in this case thankfully. To check on the CLPI file I went back to the BDMV tab reloading the Blu-ray by pressing the "Read" button in the upper right corner. I then went to the "CLIPINF" tab selecting the CLPI file which corresponded with the M2TS file I had just updated. In each case (Main Menu, Pop-Up Menu) the size of the M2TS file had changed enough that the CLPI file needed to be updated. When selecting the given CLPI file the below confirmation prompt was displayed.

Confirm
The m2ts file contains X number of packets.
Do you want to correct the packet value of ClipInfo?

It's essential to select "Yes" to the above prompt, otherwise the menu will not work when going to play the Blu-ray. When making changes to a given IG (Interactive Graphics) menu the corresponding CLPI file will not always need updated. It's always best though to reload the Blu-ray as I just described, then accessing the corresponding CLPI file just in case BDedit reports that the packet value needs updated.

So I've only looked at Disc 2 so far. That being said, I'd be very surprised if Disc 3 and Disc 4 didn't mirror the structure of Disc 2. At most the file numbering may be slightly different. This evening I'll check out the other discs chiming back in. And no, I didn't forget about having the Blu-ray on First Playback proceed directly to one film or the other rather than going to the "Double Feature" menu. There's a few way to accomplish this, some more involved than others. I'll determine the path of least resistance, i.e. whatever method requires the least amount of work in BDedit, then report back. Are we having fun yet! ;)

rickwj324
31st August 2023, 22:21
Okay. I got the original discs out of storage and you're in luck. These are not BD-J discs. I took a look at Disc 2 just now determining the below.

1. Nightmare on Elm Street 2: Freddy's Revenge
00029.m2ts (Main Menu)
00041.m2ts (Pop-Up Menu)

2. Nightmare on Elm Street 3: Dream Warriors
00057.m2ts (Main Menu)
00086.m2ts (Pop-Up Menu)

So far I've removed the "Switch to X movie" button for each of the above (English) menus. Well, I made it so the BOG (Button Overlap Group), i.e. button was no longer visible and accessible. To do this I selected the CLPI for each M2TS in BDedit, then pressing the "Menu" button. From the "MENU" tab I accessed the "Objects" tab determining the Object ID's (0008-0009) for the "Switch to X movie" button in addition to which Page (1) and BOG (0004) the objects were referenced from.

Object ID 0008 | 1:04n // "Switch to X movie" (Normal State)
Object ID 0009 | 1:04sa // "Switch to X movie" (Selected/Activated State)

From there I accessed the "BOGs" tab for Page 1, then selecting BOG 0004 from the BOG grid, then changing the Object values from the Buttons grid for each BOG state (Normal/Selected/Activated).

Object values before...
0008 (n.start/n.end)
0009 (s.start/s.end, a.start/a.end)

Object values after...
FFFF (n.start/n.end)
FFFF (s.start/s.end, a.start/a.end)

Setting the values to "FFFF" results in no object being displayed for the given BOG state. The button is still present in this case, but will no longer display an object. Next I updated the BOG's for the other buttons, so that it was no longer possible to navigate from those BOG's (0000-0003) to the "Switch to X movie" BOG (0004).

BOGs for Main Menu:
0000 (PLAY MOVIE)
0001 (LANGUAGES)
0002 (SCENE SELECTIONS)
0003 (SPECIAL FEATURES)

BOGs for Pop-Up Menu:
0000 (DISC MENU)
0001 (LANGUAGES)
0002 (SCENE SELECTIONS)
0003 (SPECIAL FEATURES)

Selecting each BOG from the BOGs grid I changed the "upper" value within the Buttons grid from 000A to the same value as the given BOG, i.e. BOG 0000's "upper" value was changed to "0000", BOG 0001's "upper" value was changed to "0001" and so forth. Setting the "upper" value to the same value as the BOG results in no change. When navigating "Up" the current BOG remains selected.

Lastly, I mux'd the IG (Interactive Graphics) menu out updating the original M2TS file. To do this I pressed the "Mux" button located on the bottom left side of the application browsing to the M2TS file in question overwriting it. (Prior to doing so I placed a copy of the original M2TS file in a sub-folder called "M2TS" that I added to the "NIGHTMARE_ON_ELM_STREET\BDMV\BACKUP" folder.) Once updating the M2TS file I needed to make sure the corresponding CLPI (Clip Information) file didn't also need updated per the M2TS file having changed in size.

BDedit does all the work for you in this case thankfully. To check on the CLPI file I went back to the BDMV tab reloading the Blu-ray by pressing the "Read" button in the upper right corner. I then went to the "CLIPINF" tab selecting the CLPI file which corresponded with the M2TS file I had just updated. In each case (Main Menu, Pop-Up Menu) the size of the M2TS file had changed enough that the CLPI file needed to be updated. When selecting the given CLPI file the below confirmation prompt was displayed.

Confirm
The m2ts file contains X number of packets.
Do you want to correct the packet value of ClipInfo?

It's essential to select "Yes" to the above prompt, otherwise the menu will not work when going to play the Blu-ray. When making changes to a given IG (Interactive Graphics) menu the corresponding CLPI file will not always need updated. It's always best though to reload the Blu-ray as I just described, then accessing the corresponding CLPI file just in case BDedit reports that the packet value needs updated.

So I've only looked at Disc 2 so far. That being said, I'd be very surprised if Disc 3 and Disc 4 didn't mirror the structure of Disc 2. At most the file numbering may be slightly different. This evening I'll check out the other discs chiming back in. And no, I didn't forget about having the Blu-ray on First Playback proceed directly to one film or the other rather than going to the "Double Feature" menu. There's a few way to accomplish this, some more involved than others. I'll determine the path of least resistance, i.e. whatever method requires the least amount of work in BDedit, then report back. Are we having fun yet! ;)

Dude...I can't even begin to list the ways that YOU ROCK!! Thank you so much for taking the time to do this. :thanks:

Lowpro
31st August 2023, 22:58
Dude...I can't even begin to list the ways that YOU ROCK!! Thank you so much for taking the time to do this.But wait, there's more! :p

I determined the path of least resistance per having the discs on First Playback proceed directly to the menu for a given movie. I tested it out just now with Disc 2. It works beautifully. Implementing this involves editing the "Navigation Commands" for a single BOG. Once the navigation commands are in place a single value within the first navigation command can be changed to determine which menu is displayed on First Playback. Details on this provided below. Enjoy the read!

When being taken to a menu you always start on PAGE 0, BOG 0. In most cases PAGE 0 only contains the one BOG, the BOG not referencing any objects and set to execute its navigation commands automatically (auto_action_flag = Yes) which ultimately take you to another page. The "Double Feature" menu for Disc 2 followed this same practice. Even better, the "Double Feature" menu does not have a video that plays in the background. As such, no graphics are seen on-screen until PAGE 0, BOG 0 redirects to PAGE 1 or PAGE 2. (The user is on PAGE 1 while the first movie is selected. The user is on PAGE 2 while the second movie is selected.)

It's also important to note that the Top Menu here includes three separate playlists, all of which are played from the same MovieObject. There's a playlist for the "Double Feature" menu and playlists for each movie specific menu. To change from one playlist to another a value is assigned to a GPR (General Purpose Register), i.e. a variable. Once the GPR value is changed the current playlist is terminated. When the playlist is terminated the Blu-ray executes the next available navigation command within the MovieObject. The Blu-ray continues to execute navigation commands until it's once again asked to play a playlist, the GPR value determining which playlist is to be played.

So what we have here is the perfect scenario to implement what we want, i.e. having PAGE 0, BOG 0 of the "Double Feature" menu immediately terminate its playlist and instead play a movie specific playlist. The M2TS file for the "Double Feature" menu in this case is "00059.m2ts". As such, I went to the CLIPINF tab and selected the corresponding CLPI file, then pressing the "Menu" button. From the MENU tab starting at PAGE 0 I followed the navigation structure determining the navigation commands required to go to each movie specific menu. See below.

Navigation commands which take you to NOES2's menu...
Move GPR4076, 1
Move GPR4075, 0
Move GPR3805, GPR4075
Move GPR4075, 1
Move GPR3807, GPR4075
Terminate PL
(The first command above can be carried over from PAGE 2, BOG 0, LINE 1. The rest of the commands can be carried over from PAGE 1, BOG 0.)

Navigation commands which take you to NOES3's menu...
Move GPR4076, 2
Move GPR4075, 1
Move GPR3805, GPR4075
Move GPR4075, 1
Move GPR3807, GPR4075
Terminate PL
(The first command can be carried over from PAGE 1, BOG 7, LINE 1. The rest of the commands can be carried over from PAGE 2, BOG 12.)

And here's how I combined the above for PAGE 0, BOG 0.
(Lines 16-19 are the original commands. They take you to PAGE 1 of the "Double Feature" menu, NOES2 being selected.)

Line | Opcode | Destinat. | Source | Command line
00 | 20810000 | 00000002 | 00000000 | GoTo 2 // GoTo 2 for NOES2, GoTo 9 for NOES3, GoTo 16 for "Double Feature" menu.
01 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
02 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
03 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
04 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
05 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
06 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
07 | 02030000 | 00000000 | 00000000 | Terminate PL
08 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
09 | 50400001 | 00000FEC | 00000002 | Move GPR 4076, 2
10 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
11 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
12 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
13 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
14 | 02030000 | 00000000 | 00000000 | Terminate PL
15 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
16 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
17 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
18 | 51000003 | 80000FEB | 80000FEC | SetButtonPage GPR4075, GPR0
19 | 00000000 | 00000000 | 00000000 | NOP // Do nothing.

LINE 0 determines which set of commands below it are executed. (GoTo 2 for NOES2, GoTo 9 for NOES3, GoTo 16 for "Double Feature" menu.) And in case you didn't know, in BDedit you can copy and paste multiple consecutive commands at once, so there's very little manual data entry involved to put the above in place. To create the above only 5 copy and paste operations were needed. I sight the BOG locations where the commands can be copied from above. (See the section where I initially outline the navigation commands required for going to each movie specific menu.) LINE 0 is the only command I didn't cover previously. For Line 0 I copied a GoTo command over from one of the MovieObjects on the BDMV tab, then updating the "Destination" value accordingly.

So once editing the navigation commands for PAGE 0, BOG 0 you'll need to mux out of course overwriting "00059.m2ts", then checking to ensure its CLPI file doesn't also need updated. (See my prior post for a refresher on how to do those things.) In any event, that was a fun exercise. Later this evening I'll check out Disc 3 and Disc 4 for good measure. I'll chime back in either way, but between my post here and my prior post you should be good to go.

rickwj324
31st August 2023, 23:17
But wait, there's more! :p

So I determined the path of least resistance per having the discs on First Playback proceed directly to the menu for a given movie. I tested it out just now with Disc 2. It works beautifully. Implementing this involves editing the "Navigation Commands" for a single BOG. Details on this provided below.

When being taken to a menu you always start on PAGE 0, BOG 0. In most cases PAGE 0 only contains the one BOG, the BOG not referencing any objects and set to execute its navigation commands automatically (a.act. = Yes) which ultimately take you to another page. The "Double Feature" menu for Disc 2 followed this same practice. Even better, the "Double Feature" menu does not have a video that plays in the background. As such, no graphics are seen on-screen until PAGE 0, BOG 0 redirects to PAGE 1 or PAGE 2. (The user is on PAGE 1 while the first movie is selected. The user is on PAGE 2 while the second movie is selected.)

It's also important to note that the Top Menu here includes three separate playlists, all of which are played from the same MovieObject. There's a playlist for the "Double Feature" menu and playlists for each movie specific menu. To change from one playlist to another a value is assigned to a GPR (General Purpose Register), i.e. a variable. Once the GRP value is changed the current playlist is terminated. When the playlist is terminated the Blu-ray executes the next available navigation command within the MovieObject. The Blu-ray continues to execute navigation commands until it's once again asked to play a playlist, the GRP value determining which playlist is to be played.

So what we have here is the perfect scenario to implement what we want, i.e. having Page 0, BOG 0 of the "Double Feature" menu immediately terminate its playlist and instead play a movie specific playlist. The M2TS file for the "Double Feature" menu in this case is "00059.m2ts". As such, I went to the CLIPINF tab and selected the corresponding CLPI file, then pressing the "Menu" button. From the MENU tab starting at PAGE 0 I followed the navigation structure determining the navigation commands used to go to a movie specific menu. See below.

PAGE 1 BOG 0 (Navigation commands which take you to the menu for NOES2.)
Move GPR4076, 1
Move GPR4075, 0
Move GPR3805, GPR4075
Move GPR4075, 1
Move GPR3807, GPR4075
Terminate PL

PAGE 2 BOG 12 (Navigation commands which take you to the menu for NOES3.)
Move GPR4076, 2
Move GPR4075, 1
Move GPR3805, GPR4075
Move GPR4075, 1
Move GPR3807, GPR4075
Terminate PL

And here's how I carried the above over to PAGE 0, BOG 0.
(Lines 16-19 are the original commands. They take you to PAGE 1 of the "Double Feature" menu, NOES2 being selected.)

Line | Opcode | Destinat. | Source | Command line
00 | 20810000 | 00000002 | 00000000 | GoTo 2 // For NOES2 menu. For NOES3 menu change to "GoTo 9".
01 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
02 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
03 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
04 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
05 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
06 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
07 | 02030000 | 00000000 | 00000000 | Terminate PL
08 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
09 | 50400001 | 00000FEC | 00000002 | Move GPR 4076, 2
10 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
11 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
12 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
13 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
14 | 02030000 | 00000000 | 00000000 | Terminate PL
15 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
16 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
17 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
18 | 51000003 | 80000FEB | 80000FEC | SetButtonPage GPR4075, GPR0
19 | 00000000 | 00000000 | 00000000 | NOP // Do nothing.

Line 0 determines which set of commands below it are executed. (Goto 2 for NOES2, GoTo 9 for NOES3, GoTo 16 for "Double Feature" menu.)

Once editing the navigation commands for PAGE 0, BOG 0 you'll need to mux out of course overwriting "00059.m2ts", then checking to ensure its CLPI file doesn't also need updated. (See my prior post for a refresher on how to do those things.) In any event, that was a fun exercise. Later this evening I'll check out Disc 3 and Disc 4 for good measure. I'll chime back in either way, but between my post here and my prior post you should be good to go.

Wow.....I'm speechless! This is awesome (and also extremely scary to read). I'm extremely new to BDEDIT and it's so overwhelming trying to figure things out. I'll dig into everything you've posted here and see if I can replicate it.

Thank you so much again! I wouldn't have figured all of this out on my own without doing a LOT of studying. Unfortunately it's hard to find good tutorials on how to use BDEDIT.

I look forward to seeing what else you do with these. I'm hoping I can learn this!

Lowpro
31st August 2023, 23:33
Wow.....I'm speechless! This is awesome (and also extremely scary to read). I'm extremely new to BDEDIT and it's so overwhelming trying to figure things out. I'll dig into everything you've posted here and see if I can replicate it.

Thank you so much again! I wouldn't have figured all of this out on my own without doing a LOT of studying. Unfortunately it's hard to find good tutorials on how to use BDEDIT.

I look forward to seeing what else you do with these. I'm hoping I can learn this!I needed a distraction today. This served as a fun exercise so thank you. I'm glad these discs were authored in such a way that this could easily be done using BDedit. I had a great time looking over Disc 2 and determining the most efficient way to accomplish what you were looking to do. (I expanded on my previous reply towards the bottom so check it out again if you like. It should prove helpful.)

So good luck putting my last couple posts into practice. Don't hesitate to reach back out if needed. In fact, if you're using the original version of BDedit that's freely available you'll end up needing my help actually. The original version does not allow you to set an object value to FFFF which is what I did so that the "Switch to X movie" buttons would not be shown. If you're not able to set the object values to FFFF yourself just send me a PM and we can address that offline. ;)

rickwj324
1st September 2023, 01:58
I needed a distraction today. This served as a fun exercise so thank you. I'm glad these discs were authored in such a way that this could easily be done using BDedit. I had a great time looking over Disc 2 and determining the most efficient way to accomplish what you were looking to do. (I expanded on my previous reply towards the bottom so check it out again if you like. It should prove helpful.)

So good luck putting my last couple posts into practice. Don't hesitate to reach back out if needed. In fact, if you're using the original version of BDedit that's freely available you'll end up needing my help actually. The original version does not allow you to set an object value to FFFF which is what I did so that the "Switch to X movie" buttons would not be shown. If you're not able to set the object values to FFFF yourself just send me a PM and we can address that offline. ;)

I just PM'd you...I'm definitely stuck at the point you mentioned (can't enter FFFF)

Lowpro
1st September 2023, 03:28
I just PM'd you...I'm definitely stuck at the point you mentioned (can't enter FFFF)I just thought of a workaround that doesn't involve my direct intervention. Leave the object values in place for BOG 4 (PAGE 1). Instead reposition the button so that the visible portion falls completely off screen. From the "Buttons" grid change the "X" value for BOG 4 (PAGE 1) to 1919 and mux out. I tried this myself just now to confirm. I tested using PowerDVD 18 and via my Sony BDP-5000ES Blu-ray Player. The Top Menu and Pop-Up Menu continue to function without issue as expected, the "Switch to X movie" button no longer being visible on-screen.
__________________________________

In summary for Disc 2...

Step 1: For each movie specific menu (00029.m2ts, 00041.m2ts, 00057.m2ts, 00086.m2ts) set the "X" value to "1919" for BOG 4 (PAGE 1).
(If your version of BDedit supports it the n.start/n.end, s.start/s.end and a.start/a.end values for BOG 4 (PAGE 1) can be set to "FFFF" instead.)

Step 2: For each movie specific menu (00029.m2ts, 00041.m2ts, 00057.m2ts, 00086.m2ts) set the "Up" value for BOG's 0-3 (PAGE 1) to the same value as the given BOG. (BOG 0, Up=0000 | BOG 1, Up=0001 | BOG 2, Up=0002 | BOG 3, Up=0003)

Step 3. Once performing Step 1 and Step 2 for a given menu mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

Step 4: Go to the "Double Feature" menu (00059.m2ts) and update the "Navigation Commands" for BOG 0 (PAGE 0) so that they mirror the below. Set the "Destination" value of Line 0 based on which menus you'd like the Blu-ray to use.

Line | Opcode | Destinat. | Source | Command line
00 | 20810000 | 00000002 | 00000000 | GoTo 2 // GoTo 2 for NOES2, GoTo 9 for NOES3
01 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
02 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
03 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
04 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
05 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
06 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
07 | 02030000 | 00000000 | 00000000 | Terminate PL
08 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
09 | 50400001 | 00000FEC | 00000002 | Move GPR 4076, 2
10 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
11 | 50000001 | 00000EDD | 00000FEB | Move GPR 3085, GPR4075
12 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
13 | 50000001 | 00000EDF | 00000FEB | Move GPR 3087, GPR4075
14 | 02030000 | 00000000 | 00000000 | Terminate PL
15 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
16 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
17 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
18 | 51000003 | 80000FEB | 80000FEC | SetButtonPage GPR4075, GPR0
19 | 00000000 | 00000000 | 00000000 | NOP // Do nothing.

To save time the above commands can be copied and pasted from the below...
Line 0 can be carried over from one of the MovieObjects on the BDMV tab, the "Destination" value then updated accordingly.
Line 1 can be created by pressing the "Insert" key. (To delete a command line use the combination, Shift+Delete.)
Line 2 can be carried over from PAGE 2, BOG 0, LINE 1.
Lines 3-8 can be carried over from PAGE 1, BOG 0.
Line 9 can be carried over from PAGE 1, BOG 7, LINE 1.
Lines 10-15 can be carried over from PAGE 2, BOG 12.
Lines 16-19 are the original navigation commands for the BOG which I retained for good measure.

Once the above navigation commands are in place mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

Step 5: Deposit $10,000 USD in my Zelle account and name your next child after me.

Okay, Step 5 is totally optional. If anything send Pel a BDedit donation (http://bdedit.pel.hu/) if you feel so inclined. Those who contribute are provided the latest version of the application which offers a multitude of enhancements, including the ability to set object values to FFFF. :p

rickwj324
1st September 2023, 11:37
Step 5: Deposit $10,000 USD in my Zelle account and name your next child after me.

Okay, Step 5 is totally optional. If anything send Pel a BDedit donation (http://bdedit.pel.hu/) if you feel so inclined. Those who contribute are provided the latest version of the application which offers a multitude of enhancements, including the ability to set object values to FFFF. :p

Your ten grand is on it's way! :p
I actually donated to Pel last night and am waiting for the link to download the recent version.

Thank you so much for your help!

Lowpro
1st September 2023, 15:26
Your ten grand is on it's way! :p
I actually donated to Pel last night and am waiting for the link to download the recent version.

Thank you so much for your help!
You're welcome. I'm glad I was in a position to assist. That being said, I looked over Disc 3 just now determining the M2TS files in question in addition to the navigation commands that should be used to redirect the "Double Feature" menu to each movie specific menu instead. Things varied slightly from Disc 2. See below. To determine the below I read directly off the disc. I've since backed up the disc and implemented the below testing to confirm. No issues. It was the only way to be sure as Ellen Ripley would say. :p

1. Nightmare on Elm Street 4: The Dream Master
00029.m2ts (Main Menu)
00041.m2ts (Pop-Up Menu)

2. Nightmare on Elm Street 5: The Dream Child
00071.m2ts (Main Menu)
00090.m2ts (Pop-Up Menu)

3. "Double Feature" Menu
00073.m2ts (Main Menu)
__________________________________

In summary for Disc 3...

Step 1: For each movie specific menu (00029.m2ts, 00041.m2ts, 00071.m2ts, 00090.m2ts) set the "X" value to "1919" for BOG 4 (PAGE 1).
(If your version of BDedit supports it the n.start/n.end, s.start/s.end and a.start/a.end values for BOG 4 (PAGE 1) can be set to "FFFF" instead.)

Step 2: For each movie specific menu (00029.m2ts, 00041.m2ts, 00071.m2ts, 00090.m2ts) set the "Up" value for BOG's 0-3 (PAGE 1) to the same value as the given BOG. (BOG 0, Up=0000 | BOG 1, Up=0001 | BOG 2, Up=0002 | BOG 3, Up=0003)

Step 3. Once performing Step 1 and Step 2 for a given menu mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

Step 4: Go to the "Double Feature" menu (00073.m2ts) and update the "Navigation Commands" for BOG 0 (PAGE 0) so that they mirror the below. Set the "Destination" value of Line 0 based on which menus you'd like the Blu-ray to use.

Line | Opcode | Destinat. | Source | Command line
00 | 20810000 | 00000002 | 00000000 | GoTo 2 // GoTo 2 for NOES4, GoTo 7 for NOES5
01 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
02 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
03 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
04 | 50000001 | 00000EDC | 00000FEB | Move GPR 3084, GPR4075
05 | 02030000 | 00000000 | 00000000 | Terminate PL
06 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
07 | 50400001 | 00000FEC | 00000002 | Move GPR 4076, 2
08 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
09 | 50000001 | 00000EDC | 00000FEB | Move GPR 3084, GPR4075
10 | 02030000 | 00000000 | 00000000 | Terminate PL
11 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
12 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
13 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
14 | 51000003 | 80000FEB | 80000FEC | SetButtonPage GPR4075, GPR0
15 | 00000000 | 00000000 | 00000000 | NOP // Do nothing.

To save time the above commands can be copied and pasted from the below...
Line 0 can be carried over from one of the MovieObjects on the BDMV tab, the "Destination" value then updated accordingly.
Line 1 can be created by pressing the "Insert" key. (To delete a command line use the combination, Shift+Delete.)
Line 2 can be carried over from PAGE 2, BOG 0, LINE 1.
Lines 3-6 can be carried over from PAGE 1, BOG 0.
Line 7 can be carried over from PAGE 1, BOG 7, LINE 1.
Lines 8-11 can be carried over from PAGE 2, BOG 12.
Lines 12-15 are the original navigation commands for the BOG which I retained for good measure.

Once the above navigation commands are in place mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

Lowpro
1st September 2023, 16:51
And here's the breakdown for Disc 4. Figured I might as well go for broke. Just finished determining the M2TS files in question in addition to the navigation commands that should be used to redirect the "Double Feature" menu to each movie specific menu instead. Things varied slightly from Disc 2 and Disc 3. End result shown below which is good to go. Tested just now for good measure. No issues. :p

1. Freddy's Dead: The Final Nightmare
00029.m2ts (Main Menu)
00071.m2ts (Pop-Up Menu)

2. Wes Craven's New Nightmare
00048.m2ts (Main Menu)
00077.m2ts (Pop-Up Menu)

3. "Double Feature" Menu
00050.m2ts (Main Menu)
__________________________________

In summary for Disc 4...

Step 1: For each movie specific menu (00029.m2ts, 00048.m2ts, 00071.m2ts, 00077.m2ts) set the "X" value to "1919" for BOG 4 (PAGE 1).
(If your version of BDedit supports it the n.start/n.end, s.start/s.end and a.start/a.end values for BOG 4 (PAGE 1) can be set to "FFFF" instead.)

Step 2: For each movie specific menu (00029.m2ts, 00048.m2ts, 00071.m2ts, 00077.m2ts) set the "Up" value for BOG's 0-3 (PAGE 1) to the same value as the given BOG. (BOG 0, Up=0000 | BOG 1, Up=0001 | BOG 2, Up=0002 | BOG 3, Up=0003)

Step 3. Once performing Step 1 and Step 2 for a given menu mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

Step 4: Go to the "Double Feature" menu (00050.m2ts) and update the "Navigation Commands" for BOG 0 (PAGE 0) so that they mirror the below. Set the "Destination" value of Line 0 based on which menus you'd like the Blu-ray to use.

Line | Opcode | Destinat. | Source | Command line
00 | 20810000 | 00000002 | 00000000 | GoTo 2 // GoTo 2 for NOES6, GoTo 7 for NOES7
01 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
02 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
03 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
04 | 50000001 | 00000EDE | 00000FEB | Move GPR 3086, GPR4075
05 | 02030000 | 00000000 | 00000000 | Terminate PL
06 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
07 | 50400001 | 00000FEC | 00000002 | Move GPR 4076, 2
08 | 50400001 | 00000FEB | 00000001 | Move GPR 4075, 1
09 | 50000001 | 00000EDE | 00000FEB | Move GPR 3086, GPR4075
10 | 02030000 | 00000000 | 00000000 | Terminate PL
11 | 00000000 | 00000000 | 00000000 | NOP // Do nothing. Used as a separator.
12 | 50400001 | 00000FEB | 00000000 | Move GPR 4075, 0
13 | 50400001 | 00000FEC | 00000001 | Move GPR 4076, 1
14 | 51000003 | 80000FEB | 80000FEC | SetButtonPage GPR4075, GPR0
15 | 00000000 | 00000000 | 00000000 | NOP // Do nothing.

To save time the above commands can be copied and pasted from the below...
Line 0 can be carried over from one of the MovieObjects on the BDMV tab, the "Destination" value then updated accordingly.
Line 1 can be created by pressing the "Insert" key. (To delete a command line use the combination, Shift+Delete.)
Line 2 can be carried over from PAGE 2, BOG 0, LINE 1.
Lines 3-6 can be carried over from PAGE 1, BOG 0.
Line 7 can be carried over from PAGE 1, BOG 7, LINE 1.
Lines 8-11 can be carried over from PAGE 2, BOG 12.
Lines 12-15 are the original navigation commands for the BOG which I retained for good measure.

Once the above navigation commands are in place mux out, load the Blu-ray fresh from the BDMV tab, then access the CLIPINF tab selecting the corresponding CLPI file. Select "Yes" if BDedit displays the prompt stating that the CLPI file needs updated to account for the change in packet size of the M2TS file.

rickwj324
1st September 2023, 19:40
A tool to view and edit a BDMV structure.

Download the latest version (http://bdedit.pel.hu)
http://pel.hu/down/BDedit_PAGE.png

You can find all information on the 'official' website: Bdedit.pel.hu (http://bdedit.pel.hu)

Change log: BDedit.txt (http://pel.hu/down/BDedit.txt)


Original post:
I've just started to develop a little tool to edit BD files (index.bdmv, *.clpi, *.mpls).
If you change the streams, you have to edit these files to fit in with them.

Hi Pel....I donated to bdedit last night and sent you an email. Just wanted to make sure you received it and hoping I can get the link asap so I can get started. Thank you in advance!

Rick

rickwj324
2nd September 2023, 12:00
Hi Pel....I donated to bdedit last night and sent you an email. Just wanted to make sure you received it and hoping I can get the link asap so I can get started. Thank you in advance!

Rick

Any ideas on how long it takes to get a download link once you donate? I'm really anxious to get started. :D

Emulgator
2nd September 2023, 13:54
Can be 1 day, can be 2 weeks.

rickwj324
2nd September 2023, 14:18
Can be 1 day, can be 2 weeks.

I actually got the link from Pel a couple days ago!

Thank you Pel! Loving the program so far! It's very complex but fun to play with.

Thanks to Lowpro for all of his help and patience!! Your help with my project is so appreciated. I'm still struggling a little bit (PM sent to ya). Hopefully I can get it figured out soon.

--Rick

sk2316
26th October 2023, 10:31
i try to donate for bdedit 0.54 by paypal
but i can't
"donations to this recipient arent' supported in this country"

what i can do?

Emulgator
26th October 2023, 13:20
BTW, rickwj324 or anyone with a more recent donation:
Which is the most recent version ?
My donation from 15.03.2023 brought me to 0.56b7.

ocean
27th October 2023, 16:43
Hi Emulgator, yes, last version is 0.56b7.

Emulgator
27th October 2023, 19:16
Many thanks, ocean.

Arrasa_340
31st October 2023, 13:00
Good morning,
I wanted to comment that before the updates made by Pel in BDedit to update the files of a Blu-ray structure and thus be able to convert it into a record for UHD, I was already doing it manually, replacing the headers of all the mpls files, clip, index.bdmv, MovieObject.bdmv, id.bdmv, from 200 to 300, and later loading the corresponding metadata for UHD (SDR, HDR, HDR10+, Dolby Vision, etc.), and thus doing this operation, but it is great Now being able to do it at once, the problem that I ran into and that still persists with BDedit, is when the structure that we want to modify has the menus based on Java, containing .jar files, and in the BDJO folder .bdjo files, now that the latter are also updated from 200 to 300, but even so it is not operational, I understand that it is something that there are the .jar files that should be updated and are not done, that is where I am stuck.

Let's see if we can finally get these to be 100% operational as well.

Greetings

cahillvesper
9th November 2023, 04:06
Hello, I had a quick question - Using a combination of this software plus other available tools, does anyone know how one might go about changing only the background video of a blu-ray menu? Say there's a menu background that's really bland, and I make my own custom video to put in its place. Is it possible to convert said video into a format accepted by the blu-ray, and then swap it with the old menu video m2ts file?

Emulgator
9th November 2023, 10:53
https://forum.doom9.org/showthread.php?t=152952
https://forum.doom9.org/showthread.php?t=182746

Lowpro
10th November 2023, 02:46
Hello, I had a quick question. Using a combination of this software plus other available tools, does anyone know how one might go about changing only the background video of a blu-ray menu? Say there's a menu background that's really bland, and I make my own custom video to put in its place. Is it possible to convert said video into a format accepted by the blu-ray, and then swap it with the old menu video m2ts file?Author the video to Blu-ray using multiAVCHD or BD Rebuilder. Once authored to Blu-ray open the Blu-ray in BDedit and go to the playlist for the video. Next launch a second instance of BDedit and open the Blu-ray containing the menu background video you'd like to replace. Go to the playlist in question editing the "IN time", "OUT time" and "length" values, so that each match what you see in the first instance of BDedit, i.e. the values used by the new menu background video you created. Carry over the "STN\Vi (Video)\attrib" values as well, then save your changes. Lastly, take a copy of the M2TS and CLPI files for your new menu background video, rename each file the same as the original menu background video, then overwrite the files for the original menu background video with the files for the new menu background video.

Lowpro
26th November 2023, 04:08
BDedit currently provides no way to set the below value for a given IG. Well, unless I'm missing something. :confused:

https://www.lowpro.net/doom9.org/bdedit/user_interface_model.jpg

That being said, the thread found here (http://forum.doom9.net/showthread.php?p=1912039#post1912039) calls out the below.

Offset 810 within a m2ts menu file...
80 = Always-On
C0 = Pop-Up

I confirmed the above this evening per a Blu-ray I was working on. I had just completed the TOP MENU. I then made a copy of the TOP MENU putting it in place as the initial POPUP MENU. When testing the Blu-ray the POPUP MENU was an "Always-On" menu as expected. I then edited the M2TS file for the POPUP MENU using the below Hex Editor.

https://www.lowpro.net/doom9.org/bdedit/hex_editor_offset_810.jpg

The "Offset 810" value was "80 (Always-On)", so I changed it to "C0 (Pop-Up)", then saving the file. When testing the Blu-ray the POPUP MENU was no longer an "Always-On" menu. It was a genuine POPUP MENU at that point. ;)