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

nautilus7
25th February 2008, 00:46
So you need all files except those with .m2ts extension (stream folder)? I will upload on a filesharing site... Is that ok?

Btw, i have a BD that doesn't have a AUXDATA folder and BDedit can't process it.

Pelican9
25th February 2008, 01:12
So you need all files except those with .m2ts extension (stream folder)? I will upload on a filesharing site... Is that ok?

Btw, i have a BD that doesn't have a AUXDATA folder and BDedit can't process it.

Thank you, but I've received some. The new version will not check the AUXDATA folder (the standard says it's mandatory)

nautilus7
25th February 2008, 01:19
I am already uploading ratatouille, which has a certificate folder, and uses java (BDJO & JAR folders) also. Do you have such BD?

EDIT: http://www.sendspace.com/file/4gsh7t

Pelican9
25th February 2008, 09:28
I am already uploading ratatouille, which has a certificate folder, and uses java (BDJO & JAR folders) also. Do you have such BD?

EDIT: http://www.sendspace.com/file/4gsh7t

Thank you!

Pelican9
28th February 2008, 00:09
Not much but you can edit the commands in the MovieObjects.bdmv.
It can remove the region code checking too (easier than manually).

nautilus7
28th February 2008, 12:18
Nice! Keep on!

eyekyu
1st March 2008, 17:16
will this app work to add multiple titles on a blu-ray disc

Pelican9
3rd March 2008, 15:00
I've uploaded a new beta.
It can add/delete titles, add/delete objects, add/delete commands (with maintain the GoTo addresses).

moviefan
5th March 2008, 10:20
Great job! I have been thinking about trying to reverse engineer the file structure of bdmv, in order to be able to replace original streams by re-encoded ones. I assume that the bdmv's have to be updated in that case. Since you seem to have achieved to know the structure, can you explain to me, what settings are related to the stream and where these information are stored in the bdmv's and in which ones? That would be great!

Pelican9
5th March 2008, 11:29
Great job! I have been thinking about trying to reverse engineer the file structure of bdmv, in order to be able to replace original streams by re-encoded ones. I assume that the bdmv's have to be updated in that case. Since you seem to have achieved to know the structure, can you explain to me, what settings are related to the stream and where these information are stored in the bdmv's and in which ones? That would be great!

I think that infos stored in playlist (mpls) and clipinfo (clpi) files.
I'm working on BDedit now, so you can edit these files soon.

moviefan
5th March 2008, 15:38
That's awesome news! I would be greatful, if you could explain the way to update the bdmv's, when you have added the feature. By the way, just for interest, how did you manage to "hack" the bdmv structure? As far as I know there are no specifications about it public. I only hat a quick look at a file in a hex editor, but couldn't think of a way to get the structure out of it, even after having seen the IFO specs for DVDs. I'm really curious and hope you tell me your secret ;).

Pelican9
5th March 2008, 22:19
Could somebody send me a complete BD without the movie files?
The most important files: MovieObject.bdmv, index.bdmv, PLAYLIST\*.mpls, CLIPINF\*.clpi, (BDJO\*.*).
I would like to continue the developing of this tool, but I'm in Africa and I haven't brought any BD stuff with me.

I need help again.
I'm looking for a BD title which is containing multi-angle content.

Edit:
I've found, don't send to me more.

Pelican9
7th March 2008, 19:01
New snapshot is available.
You can see more from .mpls:
AppInfoPlayList
PlayList, PlayItems, multiangles, STNs
SubPath, SubPlayItems, multiangles
PlayListMark

Warrex
11th March 2008, 09:34
Hey Pelican,

are you working on chapter export? If so it would be cool if there would be an option to also output timestamps in a plain form you could copy and paste into tsMuxer (this would be great for Evodemux too).

e.g.:

00:00:00.000
00:04:05.666
...

B4tm4n
11th March 2008, 09:52
Just what I was looking for.

Cheers

Luvpeaceguru
11th March 2008, 17:33
Pelican, I'm sorry to be "Dumb & Dumber" but how do I use BDedit to determnine the order of m2ts files?

I am particularly stuck on "Close Encounters" which has 206 m2ts files of which 10 are over 1 GB and another 16 are 0.5 - 1 GB.

I also have a problem with "We Were Soldiers". I cannot find the last part of the movie.

Pelican9
11th March 2008, 19:16
Pelican, I'm sorry to be "Dumb & Dumber" but how do I use BDedit to determnine the order of m2ts files?

I am particularly stuck on "Close Encounters" which has 206 m2ts files of which 10 are over 1 GB and another 16 are 0.5 - 1 GB.

I also have a problem with "We Were Soldiers". I cannot find the last part of the movie.

Send me the files (*.bdmv, *.mpls, *.clpi)

hollydoc
11th March 2008, 23:08
are you working on chapter export? If so it would be cool if there would be an option to also output timestamps in a plain form you could copy and paste into tsMuxer (this would be great for Evodemux too).

e.g.:

00:00:00.000
00:04:05.666
...

Just what I was looking for.


Hollydoc

Pelican9
12th March 2008, 08:55
Hey Pelican,

are you working on chapter export? If so it would be cool if there would be an option to also output timestamps in a plain form you could copy and paste into tsMuxer (this would be great for Evodemux too).

e.g.:

00:00:00.000
00:04:05.666
...
Yes, but I thinking about the format of the chapter file.
Celltimes.txt (for the DVD) uses frames, maybe it could be better than timestrings.


Pelican, I'm sorry to be "Dumb & Dumber" but how do I use BDedit to determnine the order of m2ts files?

I am particularly stuck on "Close Encounters" which has 206 m2ts files of which 10 are over 1 GB and another 16 are 0.5 - 1 GB.

I also have a problem with "We Were Soldiers". I cannot find the last part of the movie.

Close encounters:
See the first three mpls (54,55,56)
It seems these three playlists contain three different version of the movie.

We were soldiers:
See the 00002.mpls. It seems it contains the whole movie in one clip (00003.m2ts) The length is 2:18:31

Warrex
12th March 2008, 23:29
Yes, but I thinking about the format of the chapter file.
Celltimes.txt (for the DVD) uses frames, maybe it could be better than timestrings.

That would be the most accurate solution, yes. Not practical regarding tsMuxer however which is IMHO the best free Blu-Ray Muxer currently. Maybe you want to consider making output as timestamps optional. There is still a lot of room in the options panel. :)

hm10
13th March 2008, 07:08
pelican you saw what i sent you?
it's was good?

hollydoc
15th March 2008, 12:38
In the last version of BDedit is no funktion for Chapter Export .
Can i find ans read the capturepoints with this Version?

Hollydoc

Pelican9
18th March 2008, 09:48
I've made a new version with chapter export/import (frame, PTS, time), but I cannot reach my site to upload it.

hollydoc
18th March 2008, 11:01
you can uplod it over rapid share?

Hollydoc

Warrex
18th March 2008, 11:42
Excellent! Hope your site will be accessible soon! Can't wait! :p

Edit: The new version is now on his site!

hollydoc
18th March 2008, 18:07
good work , Pelican9:thanks:
chapter export works fine.
but i have a problem with 2 Bluray discs with multipe splitted m2ts files( Ratatouille and Cars EUR versiion)
Is there a solution?

Hollydoc

survivant001
21st March 2008, 01:16
Pelican9
it is possible to replace the stream by another and be able to recreate the playlist ?

what I want to do is this :

I have a 00001.m2ts of 4.5 gigs. I want to split in 4gigs/500megs and replace the original file by these two. but I need a new playlist too.

Warrex
21st March 2008, 12:14
@ Pelican

I hope I am not getting too annoying by constantly proposing things but I am quite new to the Blu-Ray experience and from looking at all the other BD tools I found several things important to me missing:

1. BD chapter export: as good as done in BD edit - thank you again!

2. Detection of forced subtitles: My assumption is that Blu-Ray is comparable to DVD here. Either the forced subs are in their own stream or they are embedded in the main language stream. It would be cool to be able to detect them effectively.

2.1 Detection through BDedit: Evodemux showed if a whole stream was forced after hitting "read xpl". Would be nice if BDedit could do the same thing. Would be even nicer if there was an option to scan other streams for forced subs (which are not completely forced).

2.2 Detection in SupRead: Again, it would be nice to see if a stream has forced subs when loading it in Supread and being able to extract only these subtitles. Btw. I am also all for 720p sup export and maybe a joint venture some day with a avs filter guy. Something like Vsfilter.dll for your sup files would be great to burn (forced) subs into the video stream.

3. Detection of delays: BD edit could calculate audio and subtitle delays for remuxing purposes. If you plan to add demuxing down the road the delay could be added to the filename.

I know that this is a pretty hefty list but all of these things are currently not done by any other application I know (at least not in a convenient way). So maybe you want to take these things into consideration.

Thanks for the great work so far!

sbcale
21st March 2008, 18:58
I am stuck on Enchanted. 150.mpls seems like the correct movie structure but when I copy /b them together it is very close but not perfect.

Some of the .m2ts files included in the 150.mpls have the correct audio but not video and some have most of the correct video but then it has some menu items in the middle of the .m2ts?? It just seems like all of the video and corresponding video are not in the same .m2ts together.

When I converted it to a wmv most of the audio and video were correct but some was not. I just don't understand what I am doing wrong. Thanks for any help!

:thanks:

f@chance
22nd March 2008, 18:40
Thanks for the developing of this excellent tool. From the comments here it looks like people would want to modify their BDs the same way they did their DVDs.

For me that would mean perhaps 3 functions that would really raise the quality of this tool.

1. A listing of the M2TS files needed for playing back the main movie.

2. Modifying the structure in such a fashion that the annoying advertisements at start up can be removed. Case in point, Terabithia has a load of advertisement in the beginning. This is a screen shot when opening the BDMV folder.

http://img337.imageshack.us/my.php?image=bdeditbttjl6.jpg

The following m2ts streams are annoy ware, how can they be removed?
00006, 00026, 00028, 00029, 00030, 00031

3. The writing of the chapter points for purpose of remuxing and then use the next function to sip through them.

Again thanks for your excellent tool.

Tobytl
24th March 2008, 06:01
I am stuck on Enchanted. 150.mpls seems like the correct movie structure but when I copy /b them together it is very close but not perfect.

Some of the .m2ts files included in the 150.mpls have the correct audio but not video and some have most of the correct video but then it has some menu items in the middle of the .m2ts?? It just seems like all of the video and corresponding video are not in the same .m2ts together.

When I converted it to a wmv most of the audio and video were correct but some was not. I just don't understand what I am doing wrong. Thanks for any help!

:thanks:

150.mpls is the correct playlist. The main title is a BDJ program though, so after looking at the (very extremely) confusing decompiled java, I noticed that the program was using the playlist as is for the "D-files" trivia track, and altering it in the vfs for the main movie track.

You can actually look at the m2ts files in the streams folder and figure out what they did. 001**.m2ts are the movie, 004**.m2ts files are the ones with the trivia/extras. And, every 004** file in the playlist, has a skipped 001** file that has the correct 'movie only' content. So the correct order should be:

00120, 00121, 00122, 00123, 00124, 00125, 00126, 00127, 00128, 00130, 00131, 00132, 00133, 00134, 00135, 00136, 00137, 00138, 00139, 00140, 00141, 00142

sbcale
24th March 2008, 18:10
150.mpls is the correct playlist. The main title is a BDJ program though, so after looking at the (very extremely) confusing decompiled java, I noticed that the program was using the playlist as is for the "D-files" trivia track, and altering it in the vfs for the main movie track.

You can actually look at the m2ts files in the streams folder and figure out what they did. 001**.m2ts are the movie, 004**.m2ts files are the ones with the trivia/extras. And, every 004** file in the playlist, has a skipped 001** file that has the correct 'movie only' content. So the correct order should be:

00120, 00121, 00122, 00123, 00124, 00125, 00126, 00127, 00128, 00130, 00131, 00132, 00133, 00134, 00135, 00136, 00137, 00138, 00139, 00140, 00141, 00142

You are a life saver. Thank you so much for your help, my daughter will be very happy now!

:thanks:

Pelican,

Any way this can be incorporated into you program so that it is easier to figure out the correct order for these seamless branching movies?

Thanks for a great program!!

boykster
27th March 2008, 05:51
How does one use this tool to export a chapter list?

Warrex
27th March 2008, 10:35
Open BD edit and load BDMV folder
Go to Tab PLAYLIST and hit read
Use up und down keys to switch through the xxxx.mpls files until you have found the correct one containing the main movie.
Go down to the section called PlayListMark and hit save chapters.


Important notes:

Step 3 is not always trivial! When searching for the main movie look for xxxx.mpls that contain many PlayListMark entries.

Currently Chapter export will NOT work correctly when the main movie consists of multiple m2ts files. This is the case when "file" under playlist does not always point to the same filenumber (eg. 0017).

boykster
27th March 2008, 16:51
:thanks:

I somehow missed the save button on the PlayListMark section.

Thanks Pelican for such a powerful tool!

moviefan
28th March 2008, 11:12
@Pelican or everyone else who has fundamental knowledge of Blu-rays: Do you know whether I can replace a m2ts file by another one where only the video is reencoded in a Blu-ray compliant way (+ resolution unchanged) and muxed in the exact structure like the original m2ts? Or are there somewhere information stored about the m2ts (e.g. size) which I would have to change?

mmace
28th March 2008, 11:45
@Pelican or everyone else who has fundamental knowledge of Blu-rays: Do you know whether I can replace a m2ts file by another one where only the video is reencoded in a Blu-ray compliant way (+ resolution unchanged) and muxed in the exact structure like the original m2ts? Or are there somewhere information stored about the m2ts (e.g. size) which I would have to change?was wondering this myself

moviefan
28th March 2008, 11:52
Yep... I know of DVDs that there is the number of sectors stored somewhere which has to do with file size... Something like 1 sector = 2048 byte or so. But I have had a look at Pelican's tool and couldn't find any indication on a similar information in the Blu-ray files.

Pelican9
28th March 2008, 13:40
Could somebody check this chapter info coming from Ratatouille?

00:00:00.000
00:01:16.201
00:06:29.430
00:09:22.895
00:10:58.074
00:13:30.976
00:17:40.017
00:19:37.551
00:24:48.320
00:28:55.233
00:33:05.066
00:38:13.416
00:40:33.138
00:44:11.231
00:46:59.316
00:51:27.667
00:57:02.168
00:59:32.318
01:00:53.524
01:07:19.743
01:11:25.656
01:15:28.231
01:19:25.093
01:23:30.129
01:25:34.462
01:28:18.334
01:32:39.011
01:35:41.443
01:38:49.715
01:40:54.673
01:42:58.964
01:50:33.126

Warrex
28th March 2008, 20:09
Hi Pelican,

Checked every single one with PowerDVD and they are correct to the seconds (can't say for milliseconds). Good work!

First and last one are not really chapters but begin and end of stream (okay, you know that)... :p

musicman2311
29th March 2008, 19:58
hi, I believe BDedit is a rich tool, if you know what to do with it. Unfortunately i don't. Also it does not seem straight forward.
For example I read in a disc and it suggests that first playback is 00001.m2ts - which is the main movie and what i would want.

in fact it goes to the menu first, then after selecting the movie to all kind of copy right screes and discalimer clips and then to the movie.

Is there any way to figure out what the preset (original) actually does and then a guide how to change it, e.g. do not go to copyright screens ?

thanks for any help

Scift
31st March 2008, 02:11
Just wanted to say this is a great tool. I have found it very useful, especially the chapter export function.

Now I'm working with a Blu-ray disc with subtitles. Is it possible to set the subtitle stream to automatically start by using the SetStream command? I tried, but couldn't get it to work.

Pelican9
3rd April 2008, 13:21
Hi Pelican,

Checked every single one with PowerDVD and they are correct to the seconds (can't say for milliseconds). Good work!

First and last one are not really chapters but begin and end of stream (okay, you know that)... :p

A new snapshot is available now.

Changes for v0.17

- Load/Save Chapter info can handle multiple PlayItems
- Hotkeys
- Check new version
- Link to pel.hu

Now I'm working with a Blu-ray disc with subtitles. Is it possible to set the subtitle stream to automatically start by using the SetStream command? I tried, but couldn't get it to work.
I think it is possible, but I didn't try.

musicman2311
3rd April 2008, 15:33
Hello,
I hope someone can help me. BDedit do that ?

The situation: I created a blu ray disc with 3 movies and a simple menue; menue is still picture but I want to have a sound (music) play whilst it is on.
I used Nero 8.

everything works fine, except I have no sound.

The m2ts-file for the menue (00003.m2ts) plays no picture but sound, when played as file in e.g. Nero showtime.

BDedit shows the stream length to be basically 0 (1 frame length actually) as opposed to 4.13 min which is the length of the song.

I ran the mt2s-file through tsremux, which crashes, withTsmuxer it omitts the graphics stream and creates
a blu ray structure reporting correct length of playback.

unfortunately i cannot identify from hex editing the playlist files of both versions how and where to change lenght of this clip.
I assume that the nero created menue file shows it at 0 lenght, hence no audio playback.

can this type of entry (lenght of clip) be manipulated with BDEdit ?

thanks for any help!

Warrex
4th April 2008, 00:00
A new snapshot is available now.

Changes for v0.17

- Load/Save Chapter info can handle multiple PlayItems
- Hotkeys
- Check new version
- Link to pel.hu



:thanks: Chapter export also worked great on another source with multiple PlayItems!

bigotti5
4th April 2008, 08:30
Now I'm working with a Blu-ray disc with subtitles. Is it possible to set the subtitle stream to automatically start by using the SetStream command? I tried, but couldn't get it to work.

Example:
SetStream x, y
x first value -> 4 bytes, 2 bytes pg_text stream, 2 bytes audio stream
y second value -> 4 bytes, 2 bytes ig stream, 2 bytes angle stream

first value
pg_text and audio stream

00000000 00000000 10000000 00000001 - 32769 disp off pg stream 1 (red=display on / off)
00000000 00000000 10000000 00000010 - 32770 disp off pg stream 2
....
00000000 00000000 11000000 00000001 - 49153 disp on pg stream 1
00000000 00000000 11000000 00000010 - 49154 disp on pg stream 2
....
10000000 00000001 00000000 00000000 - 2147549184 set audio stream 1
10000000 00000010 00000000 00000000 - 2147614720 set audio stream 2
10000000 00000011 00000000 00000000 - 2147680256 set audio stream 3
....
10000000 00000011 11000000 00000010 - 2147729410 set audio stream 3 + pg disp on pg stream 2
....

second value
ig and angle stream

00000000 00000000 10000000 00000001 - 32769 set angle stream 1
00000000 00000000 10000000 00000010 - 32770 set angle stream 2
....
10000000 00000001 00000000 00000000 - 2147549184 set ig stream 1
10000000 00000010 00000000 00000000 - 2147614720 set ig stream 2
...
10000000 00000010 10000000 00000010 - 2147647490 set ig stream 2 + angle stream 2
10000000 00000011 10000000 00000111 - 2147713031 set ig stream 3 + angle stream 7

so if you want to set subtitle stream 5 start automatically add
SetStream 49157, 0

musicman2311
6th April 2008, 01:39
Hello,
I hope someone can help me. BDedit do that ?

The situation: I created a blu ray disc with 3 movies and a simple menue; menue is still picture but I want to have a sound (music) play whilst it is on.
I used Nero 8.

everything works fine, except I have no sound.

The m2ts-file for the menue (00003.m2ts) plays no picture but sound, when played as file in e.g. Nero showtime.

BDedit shows the stream length to be basically 0 (1 frame length actually) as opposed to 4.13 min which is the length of the song.

I ran the mt2s-file through tsremux, which crashes, withTsmuxer it omitts the graphics stream and creates
a blu ray structure reporting correct length of playback.

unfortunately i cannot identify from hex editing the playlist files of both versions how and where to change lenght of this clip.
I assume that the nero created menue file shows it at 0 lenght, hence no audio playback.

can this type of entry (lenght of clip) be manipulated with BDEdit ?

thanks for any help!

Hi guys,
could somebody please give me a hint as to how the coding for time stamps works - I can take it from there.

Looks like there are 4 bytes for every time stamp - they just seem to make no sense to me.

Please help me - thanks

Pelican9
6th April 2008, 21:29
Hi guys,
could somebody please give me a hint as to how the coding for time stamps works - I can take it from there.


It's 45kHz. You can get the seconds if you divide by 45000.

musicman2311
7th April 2008, 00:13
It's 45kHz. You can get the seconds if you divide by 45000.

thanks, I figured that in the mean time, but didn't make sense to me.
But with your confirmation I feel much better.

Couldn't solve my problem though lol (still menue incl. 4.31 min sound still keeps lenght at 0.3 sec...)

Ryu77
7th April 2008, 14:00
I have a self authored (using Sonic Scenarist) mini Blu-ray disc (DVD-9) but when the movie finishes, it loops over and over again.

- Can I use BDedit to stop this from happening?

- If yes, how would I go about it?