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

chompy
27th August 2010, 08:15
Pelican, it seems to be a small bug in STN’s attrib field: until BDEdit’s window isn’t resized in some way, it’s small and it doesn’t enlarge using all the free space on its right.

Greetings

Pelican9
28th August 2010, 04:07
Pelican, it seems to be a small bug in STN’s attrib field: until BDEdit’s window isn’t resized in some way, it’s small and it doesn’t enlarge using all the free space on its right.

Greetings

:thanks:
It's on my to do list...

chompy
31st August 2010, 08:06
I have some "problems" with CLIPINF:

1) In dropdown list, clpi files are not put in correlatively order... It seems that when a clpi file has been edited and has a backup, then it will be at the end of the list (ordered by date?).

2) If you paste some value to ATC_delta, you have to press enter or click somewhere else on BDedit's screen before clicking the Save button or the new value just pasted won't be saved.

3) Edit: This maybe isn't important, but in clipcodec original blu-rays have "M2TS" (in capital letters), but BDedit writes "m2ts" (in small letters).

And one question... What's rec. rate? In original blu-rays it seems to be always 6000000, but remuxed files from tsMuxeR have always different values. Is it safe to change these values to 6000000?

Greetings

Pelican9
1st September 2010, 17:51
I have some "problems" with CLIPINF:

1) In dropdown list, clpi files are not put in correlatively order... It seems that when a clpi file has been edited and has a backup, then it will be at the end of the list (ordered by date?).

2) If you paste some value to ATC_delta, you have to press enter or click somewhere else on BDedit's screen before clicking the Save button or the new value just pasted won't be saved.

3) Edit: This maybe isn't important, but in clipcodec original blu-rays have "M2TS" (in capital letters), but BDedit writes "m2ts" (in small letters).

And one question... What's rec. rate? In original blu-rays it seems to be always 6000000, but remuxed files from tsMuxeR have always different values. Is it safe to change these values to 6000000?

Greetings

:thanks:
I'll check them.

TS_recording_rate indicates the data rate of the transport stream of the associated Clip AV stream file.
The TS_recording_rate is measured in units of bytes/second.
In the m2ts file the time stamps defines the recording rate, the de-packetizer use this value to set its buffer size , so I think it's better to not change.
And I think 6000000 is the max value...

chompy
2nd September 2010, 07:52
:thanks:
I'll check them.

TS_recording_rate indicates the data rate of the transport stream of the associated Clip AV stream file.
The TS_recording_rate is measured in units of bytes/second.
In the m2ts file the time stamps defines the recording rate, the de-packetizer use this value to set its buffer size , so I think it's better to not change.
And I think 6000000 is the max value...

:thanks:

Yes, TS_recording_rate shouldn't be changed: it seems that this value is writen in m2ts while muxing and if you change this value in clipinf, then actual framerate will be messed up.

Greetings

digitalvideo
3rd September 2010, 00:06
Hi pelican9;

I just see that you not put the SetStreamSS cmd in bedit. this is for 3D.

Pelican9
3rd September 2010, 15:56
Hi pelican9;

I just see that you not put the SetStreamSS cmd in bedit. this is for 3D.

What is the command code for this?
I've put a new instruction (3100000a) named as 'Set 3D' (I haven't got a better idea for the name)

digitalvideo
3rd September 2010, 17:14
0x 3100000A : Output Mode is defined by the register.
0x 3180000A : Output Mode is Immediate value.

are called SetOutputMode

the other is SetStreamSS
The SetStreamSS Command has the same function as SetStream Command. Thus the SetStreamSS
Command sets values for any or all of the Primary audio stream, PG TextST stream, Angle and
Interactive Graphics stream to be presented. In addition to the functions, the SetStreamSS Command
sets values for PG TextST Alignment. This Command can be used only when Output Mode in PSR22
is set to Stereoscopic Output Mode. This Command shall be ignored or treated as Nop Command
when Output Mode in PSR22 is set to 2D Output Mode.

Pelican9
4th September 2010, 02:51
0x 3100000A : Output Mode is defined by the register.
0x 3180000A : Output Mode is Immediate value.

are called SetOutputMode

the other is SetStreamSS
The SetStreamSS Command has the same function as SetStream Command. Thus the SetStreamSS
Command sets values for any or all of the Primary audio stream, PG TextST stream, Angle and
Interactive Graphics stream to be presented. In addition to the functions, the SetStreamSS Command
sets values for PG TextST Alignment. This Command can be used only when Output Mode in PSR22
is set to Stereoscopic Output Mode. This Command shall be ignored or treated as Nop Command
when Output Mode in PSR22 is set to 2D Output Mode.

Thanks!
But you didn't tell me what is the code of the SetStreamSS command...
I hope 3100000B...
If you have any documentation about the 3D extension you can share it with me... :)
Could you send me a BD structure which has these commands?

Spirituk
6th September 2010, 15:04
Does anyone know why i can't see the menu screen in the MENU section for editing, i just get loads of zeros???

Everything else works fine except the menu editing. I've tried several bluray's and its the same for each one.

Thanks.

Pelican9
6th September 2010, 19:08
Does anyone know why i can't see the menu screen in the MENU section for editing, i just get loads of zeros???

Everything else works fine except the menu editing. I've tried several bluray's and its the same for each one.

Thanks.

Did you load any menu IGS? It's not automatic...

Spirituk
6th September 2010, 21:17
Did you load any menu IGS? It's not automatic...

No, how is this done if its not automatic? Thanks

Pelican9
6th September 2010, 22:45
No, how is this done if its not automatic? Thanks

See http://bdedit.pel.hu
CLIPINF:
"-> Menu: Select an IG stream to activate this button and use it to load the IGS to the Menu tab"

Spirituk
6th September 2010, 23:12
See http://bdedit.pel.hu
CLIPINF:
"-> Menu: Select an IG stream to activate this button and use it to load the IGS to the Menu tab"

Nice one, i didn't see the link to the menu tab. I'll give it a go tomorrow. Many thanks for your help.

Spirituk
7th September 2010, 23:14
Nice one, i didn't see the link to the menu tab. I'll give it a go tomorrow. Many thanks for your help.

How do you know what is a IG stream? The MENU button on this screen is still not selectable?

crl2007
8th September 2010, 09:31
You go to CLIPINF Tab and go through all the clpi files. The menu will appear as IG Stream.

Spirituk
8th September 2010, 12:34
Done all that, found what is the menu and in this case its 00001.clpi but it still doesn't give me the option to select the menu button????

Pelican9
8th September 2010, 14:48
Done all that, found what is the menu and in this case its 00001.clpi but it still doesn't give me the option to select the menu button????

Show me a screen shot of the CLIPINF tab.

Spirituk
8th September 2010, 19:39
This is my screen shot.

http://img819.imageshack.us/img819/8321/capturelf.jpg

deank
8th September 2010, 20:54
Done all that, found what is the menu and in this case its 00001.clpi but it still doesn't give me the option to select the menu button????

00001.clpi definitely does not point to a m2ts file with IGS. You will get the button working when you find a clpi which shows "IGS" in "stream type" column. Just scroll up/down the 'clpi' list.

Dean

Spirituk
8th September 2010, 22:01
I've gone through all the cpli files and nothing appears to have a IGS which is very puzzling as this bluray contains both full screen and wide screen versions and i only want the widescreen one. Very strange???? I will try another bluray movie. Thanks to you both for all your help.

deank
8th September 2010, 22:19
If you can't find a single CLPI with IGS then it means your disc is JAVA (BD-J) authored and all menu stuff is either PNG or .class files - check the BDJO tab - you'll definitely find some stuff there. There is a guide for 'playing' with these PNG/java menus by crl2007.

Pelican9
13th September 2010, 01:34
1) In dropdown list, clpi files are not put in correlatively order... It seems that when a clpi file has been edited and has a backup, then it will be at the end of the list (ordered by date?).
Could you tell me how do you get this bug?

2) If you paste some value to ATC_delta, you have to press enter or click somewhere else on BDedit's screen before clicking the Save button or the new value just pasted won't be saved.
I cannot change this, you have to finish the editing.

3) Edit: This maybe isn't important, but in clipcodec original blu-rays have "M2TS" (in capital letters), but BDedit writes "m2ts" (in small letters).

Fixed.

chompy
13th September 2010, 07:32
Could you tell me how do you get this bug?

Thats weird... Now I'm at work with an old Windows 2000 system and it's working great, but on my home PC (Windows 7) as soon as I have a backup file on CLIPINF I'll get the mess up.


I cannot change this, you have to finish the editing.

Ok, maybe I'm wrong, but I thought that just pasting works.

Fixed.

:thanks:

mrr19121970
13th September 2010, 10:15
Could you tell me how do you get this bug?


When the dropdown is built, it's sorted by timestamp-last-updated rather than filename.

Pelican9
14th September 2010, 04:50
When the dropdown is built, it's sorted by timestamp-last-updated rather than filename.

Does it always happen for you? Or sometimes?
I cannot do anything to get this...

picrade
14th September 2010, 18:37
I have a playlist mpls with one m2ts file.
Can I add another m2ts file to this play list using BDedit, and have the whole thing play seamlessly?

(Is that what they call seamless branching?)

crl2007
14th September 2010, 19:59
Pelican9 is working on this, to add/remove playitems.

picrade
14th September 2010, 20:52
Pelican9 is working on this, to add/remove playitems.


Great. Thanks for the info.

Llyod
15th September 2010, 20:44
Hello

Thank you for your software but I have a question you ask if he can make a feature: P

I open the file with BDMV Bdedit, the all goes well but I see he's just a bunch DTS-HD English, I wanted to add a soundtrack Dolby Digital English. :confused:

Can you tell me how to add the soundtrack to BDMV?

Thank you in advance, and if we can not thank you to tell me all at once :thanks: =)

Pelican9
15th September 2010, 20:50
I have a playlist mpls with one m2ts file.
Can I add another m2ts file to this play list using BDedit, and have the whole thing play seamlessly?

(Is that what they call seamless branching?)

Coming soon (in v0.36b)
It's ready but I'm working on the strange bugs reported here.

I open the file with BDMV Bdedit, the all goes well but I see he's just a bunch DTS-HD English, I wanted to add a soundtrack Dolby Digital English. :confused:

Can you tell me how to add the soundtrack to BDMV?

You have to make the m2ts and clpi files with another software and after that you can change your mpls to match for them.

To anybody:
Any idea how can I see the CLIPINF bug?

chompy
15th September 2010, 22:48
Any idea how can I see the CLIPINF bug?

I don't know what has changed from last tests, but all edits I've done today looking for CLIPINF bug have come right, without bug :confused: I'll do more tests tomorrow with more time.

Pelican9
15th September 2010, 23:16
A new snapshot is available.

09/15/2010 Changes for 0.36

- 3D extension commands (SetOutputMode, SetStreamSS)
- ExtensionData 3D extensions
- Player settings options
- Insert/delete PlayItems
- Bug fixes

http://pel.hu/down/BDedit_OPTI.png

crl2007
16th September 2010, 05:46
:thanks: But you still forgot something. :D Save/Load items from STN table.

chompy
16th September 2010, 08:53
Lots of thanks for new features, really nice. :thanks:

:thanks: But you still forgot something. :D Save/Load items from STN table.

Now that it's possible to insert PlayItems, it would be nice to have the option to copy one PlayItem and paste as new PlayItem keeping IN/OUT times and STN.

Greetings

crl2007
16th September 2010, 08:58
I don't think you can do that by one click, that's why I asked for "Save/Load" STN table entries. It would also be nice if, when you open a second BDEdit instance, they would share different temp folders. For example, the first instance to use folder 00001 in the temp folder and the second one to use 00001. This way it would be easier to copy menu commands from one BD to another.

picrade
16th September 2010, 11:18
How do you add a playitem to the playlist?

crl2007
16th September 2010, 11:37
With the Insert button. And you delete one with Shift+Delete.

Pelican9
16th September 2010, 13:37
09/16/2010 Changes for 0.37

- Multi instance running (separated TEMP files)
- Bug fixes


:thanks: But you still forgot something. :D Save/Load items from STN table.

Yes, I have to rewrite all the copy/paste part to use the clipboard (then you can copy/paste between different instances of BDedit).

I don't think you can do that by one click, that's why I asked for "Save/Load" STN table entries. It would also be nice if, when you open a second BDEdit instance, they would share different temp folders. For example, the first instance to use folder 00001 in the temp folder and the second one to use 00001. This way it would be easier to copy menu commands from one BD to another.

Done.


Now that it's possible to insert PlayItems, it would be nice to have the option to copy one PlayItem and paste as new PlayItem keeping IN/OUT times and STN.


It is on my todo list now.

crl2007
16th September 2010, 16:46
:thanks: Great work.

Llyod
16th September 2010, 18:39
You have to make the m2ts and clpi files with another software and after that you can change your mpls to match for them.

Hello

Thank you to know that we can do but preoblème is that I do not know which software and solution. :p

Could you give me a tutorial ? (Software + explanation)


Thank you in advance: P

crl2007
16th September 2010, 20:23
Here (http://forum.doom9.org/showthread.php?t=150511) and here (http://forum.doom9.org/showthread.php?t=151925). It's the same method for replacing/adding audio streams.

picrade
16th September 2010, 22:54
With the Insert button. And you delete one with Shift+Delete.

I don't see an insert button in the PlayList section.

Edit: Never mind. It is the Insert button on the keyboard.
I was looking for an insert button on the screen like there is in the PlayListMark section.

picrade
17th September 2010, 04:04
I added a second playitem to an existing one.
But the play is not as seamless as I had hoped.
There is a considerable pause between the two clips.
How do they do it on commercial discs?
I guess it has to do with precise timings.

Pelican9
17th September 2010, 15:10
I added a second playitem to an existing one.
But the play is not as seamless as I had hoped.
There is a considerable pause between the two clips.
How do they do it on commercial discs?
I guess it has to do with precise timings.

It's not an easy thing.
The PlayItem has a connection_condition and a ref_to_STC field, but not listed by BDedit.
I can fix it if you want to play with it...
But I think you have to add/modify the ATC and STC values too.

Edit:
Anyway, I changed the clipcodec field (always M2TS) to c: connection_condition and rS: ref_to_STC because I curious what will happen... :-)

Try to change c to 6 (and 5 if 6 doesn't work).

So, a new version is available

09/17/2010 Changes for 0.38

- connection_condition and ref_to_STC fields in PlayItem

Llyod
18th September 2010, 10:04
Here (http://forum.doom9.org/showthread.php?t=150511) and here (http://forum.doom9.org/showthread.php?t=151925). It's the same method for replacing/adding audio streams.

I would like you thank you and pelican youfor helping me to have solved my problem: P :thanks:

Pelican9
18th September 2010, 14:49
I added a second playitem to an existing one.
But the play is not as seamless as I had hoped.
There is a considerable pause between the two clips.
How do they do it on commercial discs?
I guess it has to do with precise timings.

Could you (or somebody else) try to make a seamless connection with the new connection_condition value?
:thanks:

chompy
18th September 2010, 19:09
I've tried to add two PlayItems and everything seemed fine, but when I load the edited PlayList again I get the following error:

Access violation at address 004053F4 in module 'BDedit.exe'. Read of address 686D60FB.

And PlayListMark is corrupted... So I cannot test connection_condition value :(

Edit: If I add only one PlayItem, I don't get this error, but PlayListMark is also corrupted and if I try to add and entry my mpls file will become huge (in bytes) until I kill BDedit.

Pelican9
18th September 2010, 19:18
:thanks:
I've found the bug, if no extension data exists then insert PlayItem makes a corrupt mpls.
The fixed version is available.

chompy
18th September 2010, 20:35
Thanks for your fast reply, but with b2 I still have the same error (PlayListMark is corrupted) when inserting PlayItems.

When trying to add/edit a item in PlayListMark, new mpls will be 1.589.249 KB