PDA

View Full Version : BDedit - BD structure edit


Pages : [1] 2 3 4

Pelican9
17th May 2007, 01:58
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.

guada2
17th May 2007, 02:24
Good job. Pelican9

index.bdmv ; MovieObject.bdmv ; PLAYLIST ; CLIPINF :OK
But is it necessary to have "AUXDATA" and "BACKUP" ?
Perhaps that i 've have forget them.

Pelican9
17th May 2007, 10:02
Good job. Pelican9

index.bdmv ; MovieObject.bdmv ; PLAYLIST ; CLIPINF :OK
But is it necessary to have "AUXDATA" and "BACKUP" ?
Perhaps that i 've have forget them.

I think the mandatory folders are: PLAYLIST, CLIPINF, STREAM, AUXDATA, META, BDJO, JAR, BACKUP (with subfolders PLAYLIST, CLIPINF, BDJO, JAR).
Is that correct?

b_squared
17th May 2007, 22:43
Great job!!!

How hard would it be for this tool to actually generate a basic BD structure from nothing, just source files? I'm hoping to be able to combine this and the TsRemux tool being developed to get some basic Blu-ray authoring started.

Pelican9
18th May 2007, 00:26
Great job!!!

How hard would it be for this tool to actually generate a basic BD structure from nothing, just source files? I'm hoping to be able to combine this and the TsRemux tool being developed to get some basic Blu-ray authoring started.

TsRemux is the tool you want. :-)

BDedit v0.11 is available

b_squared
18th May 2007, 01:08
Sure, but TsRemux will only give me the m2ts file. What if I want to create a Blu-ray disc of TS's I recorded from an OTA HDTV channel?

My goal is to make a Blu-ray of my recorded Lost episodes on a DVD9 disc that will play on my PS3. :)

dmz01
18th May 2007, 01:35
Sure, but TsRemux will only give me the m2ts file. What if I want to create a Blu-ray disc of TS's I recorded from an OTA HDTV channel?

My goal is to make a Blu-ray of my recorded Lost episodes on a DVD9 disc that will play on my PS3. :)

Who says TsRemux won't do that for you in the not so distant future... :D:D:D

Pelican9
18th May 2007, 02:15
Who says TsRemux won't do that for you in the not so distant future... :D:D:D

As I said... :)

Fahzuu
18th May 2007, 12:40
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.

Download: BDedit v0.1 (http://pel.hu/down/BDedit.exe)

Hi Pelican!

Nice work, I like it.
Do you have any description of the fields, as some of them are not really self-explanatory?
What's "IN time/OUT time"?
Or "user op."?

Pelican9
18th May 2007, 15:38
I'll make a guide for it, but not now.
I want to make a working version first.
Anyway:
IN/OUT time: start/end time of the item.
user op.: User Operation (skip, fast forward, etc.)

jagaskywalker
18th May 2007, 18:05
Would it be possible to add AVCHD support ? As far as I know the structure is very similar to BR (or maybe even equal, being a "subset" of the directories and files)

Thank you.

Pelican9
23rd May 2007, 00:39
If you want to help, please try the 0.12b4 version which can modify the index.bdmv.
It has strange behaviour, the movie with the modified index.bdmv sometimes work sometimes doesn't work.

jaga...: Maybe later.


Edit:

Hmmm, It seems nobody wants to edit existing BD titles...
Doesn't matter, I will. :)

jagaskywalker
23rd May 2007, 19:25
Would it be possible to update the tool to create the file/directory structure using as input some m2ts files ? (i.e. in addition to editing pre-existing structures)

Nothing funcy, just to be able to play the files (no menus or complex things)

THX

Pelican9
23rd May 2007, 20:25
Would it be possible to update the tool to create the file/directory structure using as input some m2ts files ? (i.e. in addition to editing pre-existing structures)

Nothing funcy, just to be able to play the files (no menus or complex things)

THX
TsRemux is your app. :)

bob0r
24th May 2007, 07:00
I will ask then:

How can i make any BLURAY play MOVIE only?
I have some problems understanding this program...

borkaenjo
24th May 2007, 09:06
Great work Pelican.
Is it also possible to rename streams with this tool.
In example when you ad a subtitle stream or replace one.
Or when you delete or ad audio and subtitle streams?
And when are you starting to work on a program to edit
the menus of BD? :)

Pelican9
24th May 2007, 11:38
bob0r:
Don't give up, this program hasn't finished yet. I've just started to develop. You will be able to remove the unnecessary things.

borkaenjo:
I'm making this tool because I want to insert a new subtitle (and remove the unwanted streams) to/from an existing BD.

bob0r
24th May 2007, 13:19
Ah ok, its not possible yet, so what can this great program do now?

Edit to below:
Roger that.

Pelican9
24th May 2007, 13:32
Ah ok, its not possible yet, so what can this great program do now?

Almost nothing. :)
You can read and edit the whole index.bdmv (to do: add and remove titles)
You can read and edit (partially) the MovieObject.bdmv (to do: show/edit the nav commands).
You can read the playlists and the clips (to do: edit).

PHD_1976
10th June 2007, 22:07
Pelican9,
Great job again, thanx a lot for this one!!!

May be by any chance you know how to get chapter information, i mean timing for each chapter from Blu-ray disc?
Maybe I've missed something studying your new tool.

Thanx in advance!

Adbear
20th June 2007, 11:47
Is there any way of removing the region code using this?

dmz01
20th June 2007, 15:00
Yes, look at the commands in the MovieObject file. They will move PSR20 into a register, zero out all but the last 8 bits by "anding" the register with 0xff and compare the result to a numer 1 through 4 followed by the branch based on success/ failure. Replace all those with a single goto command to the success branch.

Adbear
20th June 2007, 21:24
Not used to doing this kinda thing so got completely lost by your explanation, sorry

dmz01
21st June 2007, 17:30
Not used to doing this kinda thing so got completely lost by your explanation, sorry

Re-read the very first post of this thread that explains the structure of the movie object file. In that file look for a command that will read the last 8 bits of the PSR20 and then compare it to an expected value. If the comparison succeeds the player's region code and the disk's region code match, otherwise they don't. So at that point you have a branch where one side will let you continue on with the main feature, the other will give you a warning and terminate the playback. So all you have to do is replace all those commands with a single one that will always go to the main feature side of the branch.

Adub
23rd June 2007, 21:23
Could a option to do this automatically for the user be added in a future version of BDedit? Just for us "simple minded" folks.

Pelican9
25th June 2007, 15:21
Could a option to do this automatically for the user be added in a future version of BDedit? Just for us "simple minded" folks.

Yes. :)

Adbear
12th July 2007, 17:43
Any idea when we might see a region free option?

Pelican9
12th July 2007, 23:33
Not now.
I'm working on SUPread and EVOdemux.

Bystander
20th August 2007, 20:15
Can BDedit be used to strip everything but the main menu and movie?

Then delete the stream\000XX.m2ts files that are not part of the movie/maim menu.

If so, can someone post a short example for a popular movie on how they used BDedit to strip it?

Thanks,

Pelican9
20th August 2007, 21:13
You cannot do this until it's not finished.
But I've started to make this program to do that.

Henkske
19th September 2007, 16:42
You cannot do this until it's not finished.
But I've started to make this program to do that.

Sounds promising:)

Remove audio streams, subtitles, Region and unwanted extras:) Than this program would be perfect:) Good luck

Olebrumm71
4th October 2007, 11:11
Hello!

I am trying to achieve the following:

Backup a BluRay disc by splitting it across x DVDR5 discs for PS3 playback. Typically only for the main movie video material, but I would SO very much like to be able to keep subtitle playback!

Currently I have been able to:

* Split main movie .m2ts file from BluRay disc into ~4.3 GB chunks (dividable by 192) using HDBDSPlitGUI
* Run each .m2ts segment through TSRemux 0.18 selecting BluRay output and keeping all streams (including audio and subtitle streams)
* Burn output from TSRemux 0.18 as UDF 2.50 on DVD+R disc.
* Successfully playback DVD+R disc in PS3 with 5.1 audio

* Audio stream/subtitle stream selection is (naturally) not available when playing the AVCHD disc burnt from the TSRemux output.

Any chance of getting any "help" from a future 'BD structure edit' version in achieving my goal ?

GarryTom
11th November 2007, 14:45
It doesn't work with BD-50 Dual-Layer Java Enhanced Disc (Ratatouille for example):

http://img221.imageshack.us/img221/3567/bdeditrs1.jpg

GarryTom

Thunderbolt8
14th November 2007, 21:13
im also wondering how to find out the .m2ts files for the main movie of ratatouille (or general a movie with split main files). afaik there is also some bonus content on that disc, docus with ~15mins of length and this does make the search even harder.
is there maybe any way, a button or a field that can indicate at once which .m2ts files belong to the main movie?

digitlman
6th December 2007, 19:54
here is my situation. i have dracula bluray. i ran it through tsremux to strip out the extra audio and subs and make into a bluray structure format to playback in pdvd.
This movie has an ancient language spoken and displays english subs for it automatically.
I tried keeping the first presentation gfx track, My tsremuxed version does not play the subs in the new BR structure that is created.
I then tried putting my new stripped m2ts into the original BR structure in place of the original movie. viola! the subs play! so i know they are in the m2ts, i just need the proper info in the br structure to make them play. the audio doesnt play in this case as it is expecting a bunch of different audio tracks to be there.

Any clue on something that can be edited with bdedit to enable the display of these subs? it works with the original files so i would think its just a simple flag or bit setting or something right?

i have been loading each one into bdedit to check out the differences.

bluesk1d
13th December 2007, 05:30
im also wondering how to find out the .m2ts files for the main movie of ratatouille (or general a movie with split main files). afaik there is also some bonus content on that disc, docus with ~15mins of length and this does make the search even harder.
is there maybe any way, a button or a field that can indicate at once which .m2ts files belong to the main movie?

I too am wondering this very thing. Ratatouille was especially hard. Can this tool be used to determine not only which are the main movie but also what order they should play? Ratatouille was insane with 60+ files in an arbitrary order with several duplicates...

Rectal Prolapse
13th December 2007, 18:57
BDEdit cannot be used for seamlessly branched movies with multiangle like in Ratatouille. The only way at the moment is to go through the mpls files with a hex editor and with careful interpretation. The mpls file will include the segments used in multiangle, and you must be careful to ignore the unneeded angles.

zakia
13th December 2007, 22:18
Can we use bdedit to add one more m2ts to the blu-ray playlist? I tried to play around with it and can't seem to figure it out.

I made a blu-ray with tsremux, by default tsremux created 00001.m2ts and now I wanted to add another m2ts ie 00002.m2ts. Is is possible with bdedit?

bluesk1d
14th December 2007, 15:54
BDEdit cannot be used for seamlessly branched movies with multiangle like in Ratatouille. The only way at the moment is to go through the mpls files with a hex editor and with careful interpretation. The mpls file will include the segments used in multiangle, and you must be careful to ignore the unneeded angles.

Yikes is there any kind of guide for doing this? I'd be clueless as to what I was looking at.

Thunderbolt8
15th December 2007, 05:04
With a hex editor you can figure out the order - but you have to omit the files names that are not preceded by the 3 or 4 character language codes.

For example, in a hex editor, you will see a bunch of stuff, followed by the language codes ENG, FRA, SPA. Then you will see a 5 digit number. THAT is the file you want for eng. If the 5 digit number is followed by 2 more numbers, ignore those UNLESS they have eng, fra, spa listed right before it.

If you want the french one, pick the SECOND number instead of the first.

Basically, the multiple file names specify multiangle scenes. When you select a language on the menu, the player will also change the current angle to match the language (for scenes with hardcoded text - like books, TV interviews, etc.).

Rectal Prolapse
15th December 2007, 06:18
Thunderbolt nailed it!

Thunderbolt8
15th December 2007, 11:33
enlightenment struck me!

bond
23rd December 2007, 13:07
moved to hddvd/bluray forum, as i think this fits better there

Luvpeaceguru
5th January 2008, 21:12
Any update on this tool?

A Pal
12th January 2008, 18:33
Hello,

I would like the know more about the structure of Blu-ray Region codes.

Here is what I found about DVD-Region codes:

In usual DVDs (not RCE), the Region code is stored in the file "VIDEO_TS.IFO" (table "VMGM_MAT"), byte offset 35 decimal (23 hex).

A "real" region free (for "pseudo-region-free," see below) or an RCE-protected DVD has the value 0 /00.

Here are the values of the Regions (decimal / hexadecimal) :

"Pseudo-region-free" (Regions 1-6 are supported, but Region 7 and / or Region 8 are not):

R1-R6: 192 / C0 R1-R7: 128 / 80 R1-R6 + R8: 64 / 40

Regions:

R1: 254 / FE R2: 253 / FD R3: 251 / FB R4: 247 / F7
R5: 239 / EF R6: 223 / DF R7: 191 / BF R8: 127 / 7F

DVDs made for more than one Region have other values, e.g. a DVD for Regions 1 and 4 has 246 / F6, one for 2 and 4 has 245 / F5, one for 2 and 5 has 237 / ED.

The RCE protection can be hidden in all .IFO files.
It is in one or several PGC's as PRE-command.
One must search in the Title-PGC's and Menu-PGC's of the .IFO files the command

'Set GPreg<n> mov <Player Region Code>'

and replace the expression <Player Region Code> by the number of the Region for which the DVD is made, e.g. for a DVD for Region 1, the modified command would be:

'Set GPreg<n> mov <1>'

Sometimes additional modifications are necessary.

But where and how are Blu-ray-Region codes saved, and what are the values? There are, fortunately, much fewer combinations possible than in the case of DVD Regions (ABC [= region free], A, AB [= BA], AC [= CA], BC [= CB], and C).

Perhaps someone could explain it to us.

Thank you very much in advance and many greetings, :)

A Pal

bob0r
24th January 2008, 22:42
Any news on this software?
We can really use a BD editor by now, to make some "MOVIE ONLY" BD-SL images :)

Peer van Heuen
27th January 2008, 08:33
One must search in the Title-PGC's and Menu-PGC's of the .IFO files the command

'Set GPreg<n> mov <Player Region Code>'

and replace the expression <Player Region Code> by the number of the Region for which the DVD is made, e.g. for a DVD for Region 1, the modified command would be:

'Set GPreg<n> mov <1>'
[...]
But where and how are Blu-ray-Region codes saved, and what are the values? There are, fortunately, much fewer combinations possible than in the case of DVD Regions (ABC [= region free], A, AB [= BA], AC [= CA], BC [= CB], and C).



It's not as easy with Bluray.

a) the region code(s) are not stored on the disc at all.

b) The code in the movieobject.bdmv file does similar checks just like a DVD with the commands in the IFO files.

c) many Bluray discs do additional checking in Java code (JAR files).

PleXuS
31st January 2008, 22:20
Is there a way to adjust the playlist?
Becoz i got wrong out time.. should be easy if i could adjust it :)

arrgh
9th February 2008, 15:37
Hi,
is there a (simple) method to recognize forced subtitles in a BR?

Thanks.

Pelican9
22nd February 2008, 09:56
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.

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, 03: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, 14: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, 16: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, 01: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, 09: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, 02: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, 22: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, 01: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, 15: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?

fib0by
14th April 2008, 00:10
The Canon HF100 camcorder creates a BD structure live on the flash card. I put it on a DVD-5 with no changes and it played as "AVCHD" on the PS3 - no menus, just one title, every scene (file) on the flash a different chapter in the title.

There's one problem: at the end, the PS3 loops back to the beginning and starts playing the whole disk (title) again. What do I need to change to prevent it from doing that?

http://img224.imageshack.us/img224/7832/bdeditcd3.png

hubblec4
18th April 2008, 10:33
Hi Pelican9

Is it possible to implement the the output-format of chapters in form of "ogg" like in ChapterXtractor?

i can't use your chapter.txt in mkvmerge.

hubble

for example:

CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:03:59.720
CHAPTER02NAME=Chapter 2
CHAPTER03=00:06:01.400
CHAPTER03NAME=Chapter 3
CHAPTER04=00:07:13.160
CHAPTER04NAME=Chapter 4
CHAPTER05=00:14:09.160
CHAPTER05NAME=Chapter 5
CHAPTER06=00:16:23.320
CHAPTER06NAME=Chapter 6
CHAPTER07=00:17:23.120
CHAPTER07NAME=Chapter 7
CHAPTER08=00:20:46.960
CHAPTER08NAME=Chapter 8
CHAPTER09=00:23:24.520
CHAPTER09NAME=Chapter 9
CHAPTER10=00:28:14.160
CHAPTER10NAME=Chapter 10
CHAPTER11=00:29:10.320
CHAPTER11NAME=Chapter 11
CHAPTER12=00:31:49.440
CHAPTER12NAME=Chapter 12
CHAPTER13=00:35:54.360
CHAPTER13NAME=Chapter 13
CHAPTER14=00:40:37.240
CHAPTER14NAME=Chapter 14
CHAPTER15=00:41:43.800
CHAPTER15NAME=Chapter 15

emufan
18th April 2008, 17:54
can modify the .clpi file?

gioowe
18th April 2008, 19:30
Pelican9, is it possible that the decoding of Set:SetSystem:SetStream is incomplete/wrong?

51000001 8FEC8FED 00000000 is decoded as: SetStream PSR109, GPR0

GPR4076 and GPR4077 are used. So I assume that the correct decoding is SetStream GPR4076, GPR4077, <notset>, <notset>

SetStream should have 4 parameters. And 8000h defines if it's used. Parameters being Audio, Subtitle, IG, Angle.

musicman2311
19th April 2008, 01:10
Hello,
I made some experiments with Nero 8.
1. 1 title, no Menu -> result : it loops
2. 1 title 1 Menu -> you can select end action in Nero as follows
a) loop title
b) next title
c) go to menu

Based on that, I assume/conclude as follows

* there is no 'stop' action defined at end of title (again my guess)
* if you want to not loop, you have to create a menu
* reason (again, my guess): when you author a title in scenarist (which is very strict on standard compliance), you must select a top menu and at least 1 movie both pointing to the stream you want to author for blu ray.
you cannot not select the menu - it means the top menu is also the title (movie).
if you play in PS3 and select go to menu it actually starts the movie again, but if you had chapters, these are then not recogized.
In conclusion it seems, that looping is the only sensible action when you have no menu.

one idea, which I am not sure makes sense would be to create a 2nd title of extremely short length , for example black screen.
you can then loop that after the defined end action from clip 1 (the movie) was 'go to next'

of course I would be overly keen to see if there is another solution which stops the annoying looping

hope this helps

musicman2311
19th April 2008, 05:33
Hello,
I made some experiments with Nero 8.
1. 1 title, no Menu -> result : it loops
2. 1 title 1 Menu -> you can select end action in Nero as follows
a) loop title
b) next title
c) go to menu

Based on that, I assume/conclude as follows

* there is no 'stop' action defined at end of title (again my guess)
* if you want to not loop, you have to create a menu
* reason (again, my guess): when you author a title in scenarist (which is very strict on standard compliance), you must select a top menu and at least 1 movie both pointing to the stream you want to author for blu ray.
you cannot not select the menu - it means the top menu is also the title (movie).
if you play in PS3 and select go to menu it actually starts the movie again, but if you had chapters, these are then not recogized.
In conclusion it seems, that looping is the only sensible action when you have no menu.

one idea, which I am not sure makes sense would be to create a 2nd title of extremely short length , for example black screen.
you can then loop that after the defined end action from clip 1 (the movie) was 'go to next'

of course I would be overly keen to see if there is another solution which stops the annoying looping

hope this helps

actually, the last part is not correct, i just found a disk with 1 title, which i made. at the end of the movie it stops -will investigate

can somebody tell me how to create a bdedit screenshot to post ?

musicman2311
19th April 2008, 06:18
ok here is the screen shot - made by scenarist, stream file name is 00000.m2ts

d0ORk
25th April 2008, 16:07
Hi there, is it also possible to show the correct playlist for movies like Ratatouille, which is splitted in so many m2ts?
If yes, how? :p

lschaudies
25th April 2008, 17:36
:stupid:It can take quite a long time to restructure a movie which is broken up into multiple .m2ts and I cannot figure out how to read that info with BDedit

musicman2311
26th April 2008, 06:36
sorry I don't have that movie

d0ORk
29th April 2008, 15:45
I know the correct playlist now, but I had to search with a hexeditor in the playlist files, so it would be great if BDEdit could show the correct playlist.

Pelican9
29th April 2008, 22:02
Hi there, is it also possible to show the correct playlist for movies like Ratatouille, which is splitted in so many m2ts?
If yes, how? :p

See the 00001.mpls

d0ORk
30th April 2008, 11:49
Hi, is it always the 00001.mpls or just in the Rataouille BR?

Altaria
30th April 2008, 13:54
Hi
Is it possible to correct a defect menu with BDedit or can BDedit show where the fault is, because I've one BD-structure which can't be played with powerdvd . There is only a black screen and powerdvd stops after 10sec

drsmithdtv
5th May 2008, 09:28
Is it possible to use BDedit to modify index.bdmv and MovieObject.bdmv for possible playback of edited BD structure with PDVD or Arcsoft TMT ?

Pelican9
7th May 2008, 16:20
Hi, is it always the 00001.mpls or just in the Rataouille BR?

No, not always.

Is it possible to use BDedit to modify index.bdmv and MovieObject.bdmv for possible playback of edited BD structure with PDVD or Arcsoft TMT ?

Yes, it is.

emufan
8th May 2008, 17:40
I wish BD edit can modify the"IN TIME OUT TIME "in the *.mpls

aklendathu
10th May 2008, 15:11
How can I use BDEDIT to turn on a given subtitle stream by default ? My player doesn't recognize my language (POR) in its setup menu and therefore is always off when my self-authored movie starts...

drsmithdtv
20th May 2008, 14:04
I have created a Blu-ray movie file from two merged m2ts files using a combination of TSsplitter and TsRemux.

I used TSsplitter to join the two m2ts files and then TsRemux to create the Blu-ray movie structure. While the merged m2ts is the right filesize the time duration as reported from TsRemux is only the duration of the second input m2ts file.

In terms of playback from Arcsoft TMT, the time duration of the merged m2ts file with direct playback is correct however when I attempt playback as a movie file, the duration corresponds only to the second input m2ts file. A consequence of this is that TMT will only play part of the file (for the shorter duration) before returning to the start.

Is it possible to change the duration of a BD movie file with BDedit ?

ksamborn
20th May 2008, 21:23
Hi Pelican, great tool.

I have recently begun to experiment with home made movies shot on HDV and authored for Blu-Ray with Adobe Encore CS3.

My goal is to burn my HD movies on a regular DVD for viewing on PS3. The rationale is primarily cost of the media. I know it is realistic since the length is well below 4.7GB capacity of the DVD.

The issue I have is that Encore writes out a standard Blu-Ray file structure, which, when burned to a DVD is incompatible with the PS3.

However, the PS3 is capable of playing authored AVCHD discs, including those with HDV (mpeg2) content.

Therefore, what I have been able to accomplish is that starting with an AVCHD index.bdmv, I can edit it using BDedit to be identical to the authored index.bdmv as output from Encore. Then, I burn the AVCHD structure and it works!

But, this method is time consuming and rather awkward.

When I compare the original Blu-Ray index.bdmv with the AVCHD index.bdmv, I can see that the only distinction is the presence of the "1 extended entry" in the AVCHD.

My question is - is there any capability or do you have any plans to add functionality to edit the ExtensionData() records with BDedit. Naturally, I am primarily interested in adding the AVCHD "tag". This functionality would save a lot of time during the authoring process!

(I have examined the binary data and I have read the Blu-Ray patents I found with Google, but I am unable to find enough detail to implement this myself.)

Here is a link to a description of the workflow:

http://www.adobeforums.com/webx/.59b520d1

Thank you very much for your time.

Pelican9
22nd May 2008, 21:27
My question is - is there any capability or do you have any plans to add functionality to edit the ExtensionData() records with BDedit. Naturally, I am primarily interested in adding the AVCHD "tag". This functionality would save a lot of time during the authoring process!

Here is a link to a description of the workflow:

http://www.adobeforums.com/webx/.59b520d1


Is it help if I make a load/save ext. data function?
I mean is this ext data is constant or depends from the content?

Edit:
I've read that thread, it seems the ext.data is the same.

Pelican9
22nd May 2008, 21:32
Pelican9, is it possible that the decoding of Set:SetSystem:SetStream is incomplete/wrong?

51000001 8FEC8FED 00000000 is decoded as: SetStream PSR109, GPR0

GPR4076 and GPR4077 are used. So I assume that the correct decoding is SetStream GPR4076, GPR4077, <notset>, <notset>

SetStream should have 4 parameters. And 8000h defines if it's used. Parameters being Audio, Subtitle, IG, Angle.

Thanks for the bug report, I'll fix it.

ksamborn
24th May 2008, 02:47
Hi Pelican-

Thank you for your response.

I don't think that the ext.data records are the same for a Blu-Ray index.bdmv and an AVCHD index.bdmv. (I asssume you mean the ExtensionData() record when you are say ext.data.)

In fact, the two index.bdmv files are identical with the exception of a single ExtensionData() record. From my research on the web, I believe this single record contains a a "tag" that distinguishes AVCHD from a typical Blu-Ray configuration.

(In fact, one thing I learned is that the tsremux utility that is often discussed on these forums specifically writes out the AVCHD version index.bdmv.)

Attached are two examples as well as a screenshot of BDedit.

Pelican9
24th May 2008, 15:02
Hi Pelican-

Thank you for your response.

I don't think that the ext.data records are the same for a Blu-Ray index.bdmv and an AVCHD index.bdmv. (I asssume you mean the ExtensionData() record when you are say ext.data.)

In fact, the two index.bdmv files are identical with the exception of a single ExtensionData() record. From my research on the web, I believe this single record contains a a "tag" that distinguishes AVCHD from a typical Blu-Ray configuration.

(In fact, one thing I learned is that the tsremux utility that is often discussed on these forums specifically writes out the AVCHD version index.bdmv.)

Attached are two examples as well as a screenshot of BDedit.

Yes, my ext. dat = ExtensionData()
But you didn't answer my question.

ksamborn
24th May 2008, 18:13
Hi Pelican-

Sorry about that! I didn't fullly get your question.

My understanding is that it is constant and doesn't depend on content.

The sample ext.data that I've been using has worked for a large variety of discs with varying content.

My experiments used several "base" AVCHD index.bdmv from various sources. Then I edited them (using BDedit) to support a structure for a custom authored menu system as written by Adobe Encore CS3.

Therefore, I believe the "tag" is constant.

cutadel
27th May 2008, 10:07
Jo reggelt Pelican,
because TSRemux writes the NTSC but not the PAL-Framerate (25 or 50 fps) into the BDMV- structure (one clip - H.264 Video/DD 2.0 Audio), i was trying to correct that with BDEdit in the Playlist window. After saving (button given below on this window) the Playlist window opens with an error message and i could not further play the Bluray folder. The Clipinf window shows still the NTSC framerate.
What did i wrong and what should i do to correct the framerate ? Köszönöm szépen!

jefrey
29th May 2008, 21:17
Hi pelican, i'Ve just one question, do you know what i have to change in the original movie index file with bd edit, so that i can burn all the bd files on a dvd9 (i've reencode it all) and the player will recognize it?

CiNcH
4th June 2008, 20:55
Hi Pelican9,

nice tool. Can you tell me where I can find some infos about format and structure of playlists (*.mpls)?

ron spencer
6th June 2008, 03:10
I just got a new widescreen monitor, I cannot adjust the bdedit columns now to see the m2ts names in the playlist....why is this?

spunky1a
9th June 2008, 12:49
great tool, i have repaired my stupid ronin-bluray, it asked allways for region b.

other problem with "Welcome to the Jungle" (BD), the menu goes not, i can not select or navigate, it runs only the menuloop, i can not start the mainmovie. can i skip the menu and jump direct to mainmovie, but i do not know how?
edit: "engl." title is "The Rundown"

Robertus
27th June 2008, 09:12
sorry i have a question
when i have a bluray where the movie is on 2 .m2ts, how can i extract the chapter ?

drpaulng
16th July 2008, 13:33
Does BDEdit support AVCHD?
It would be great if it can edit both AVCHD and Bluray because sometimes we need to swap the movie-files without requiring the length re-encoding. Just do the simple authoring of the menu and some dummy import of AVCHD files that require no re-encoding in Nerovision 5.

v_o_r_t_e_x
26th July 2008, 14:01
Any update on that tool?

This is so far the only tool that looks promising for what
I want to do: have SDTV movies on a AVCHD or BluRay Disk.
Since I have a lot of 720x576 PAL M2TS files.

None of the commercial programs I've seen so far can do this.
They always want to upscale to HD! Even if SDTV on AVCHD
is specified by the standard!

arrgh
2nd August 2008, 16:28
Hi,
the following would be good to be able to do:

BR with two alternate versions/angles (like: I am a Legend);
- you keep the menue file(s) (in the above Title it simply states 'Cinema Version' or 'Alternate Version')
- you identify with BDedit all needed m2ts-files for both versions (is already possible) and strip them individually from unneeded streams with TSmuxer (problem: how to make sure you do not dump needed (forced) subtitles? how do I recognize them with the current BDedit version?)
- overwrite the original m2ts-files with the striped ones
- modify the BDMV so the disc starts directly with the above mentioned menue file (problem: I have to say, I have no clue haw to do this; this is very cryptic to me; obviously there are many people who have the know-how; a 'guide/explanation' of all those technical items/information BDedit provides would be really helpful)
- delete the rest (junk)

Well, maybe all of this is already possible and I just don't know how to use Bedit effectively. Again, if this is the case then I would be more than thankful for some kind of manual.

Thanks

sawyer
1st September 2008, 20:19
hi all does anybody have index.bdmv and MovieObject.bdmv from pirates of the caribbean dead man's chest as i have messed up and can no longer play movie on pc any help appreciated

regs sawyer

JimSa
2nd September 2008, 03:58
Pelican,

I noticed that if I edit the empty Content Provider field with BDEdit and save, that it actually doesn't save that field to the index.bdmv. Any chance that you'll be fixing this in an upcoming release?

Currently I'm using a hex editor to throw some gunk in that field (32 bytes of the DiscID), so that when PDVD hashes the files created by TSMuxeR, they are unique. This is handy, so PDVD will keep track of unique resume locations for each disc.

kooibosmania
5th September 2008, 20:12
hi all does anybody have index.bdmv and MovieObject.bdmv from pirates of the caribbean dead man's chest as i have messed up and can no longer play movie on pc any help appreciated

regs sawyer

what version and what is the content of your streams it has to match
is it with or without menu
if it is just the movie run zzzzz.M2TS trough tsmuxer and choose output bluray

chearz

sawyer
7th September 2008, 13:00
Cheers kooibosmania
re-ripped to hard drive everything working again

regs sawyer

SKAPiter
8th October 2008, 12:04
Hi Pelican, great tool.


My question is - is there any capability or do you have any plans to add functionality to edit the ExtensionData() records with BDedit. Naturally, I am primarily interested in adding the AVCHD "tag". This functionality would save a lot of time during the authoring process!


That would really be nice!

I am also doing the trick of editing index with BDEdit to fake the BD structure into AVCHD structure. A simple button in BDedit would be very helpful!

odin24
20th October 2008, 14:36
Is it possible to enable a subtitle stream to play automatically? I used tsMuxeR to mux my video, audio, and .sup subs.

Thanks,

mmace
22nd October 2008, 13:37
Hi pelican, I've been through the thread but I'm struggling to find anything that shows me how to use it or what it can do, so can you help?

I have the new Adobe Encore which I got so I could create pop-up menu's. I have LOADS of BD legal 1080p videos (h.264) but Encore wants to transcode them all plus I have other software that does it quicker and does a better job

is it possible to create a project in Encore with very small video files (including pop-up menu's), let it build the folders and then me replace the video files with the ones I made earlier and then somehow use BDEdit to make it work?

if so, what would I do (or can you point me to the right post within this thread that will explain it?)?

sorry if it's been mentioned, but I went through the thread a month or so ago and have just been through it again now and couldn't find what I'm looking for!

idbirch2
20th November 2008, 23:35
This has been asked several times throughout the thread but I didn't spot an answer - can I set a sub stream to play by default?

odin24
20th November 2008, 23:53
Apparently not. This may be addressed when the new version comes out in the new year. Be sure to make your suggestions at smlabs.net

idbirch2
21st November 2008, 01:01
Hm, smlabs is the home of TSMuxer, this is the BDEdit thread...

rica
21st November 2008, 01:37
Hi pelican...!

He is in Costa Rica by now where there isn't any net connections; he'll spend a five mount without internet.

odin24
21st November 2008, 01:46
Hm, smlabs is the home of TSMuxer, this is the BDEdit thread...

Oh crap!!! I honestly thought I was on the tsMuxeR thread :o

idbirch2
14th December 2008, 23:58
I've found the SetStream drop-down in BDEdit but I can't figure out how to apply the changes bigotti5 has helpfuly provided to set a sub stream on by default. I've re-encoded a film to fit on DVD9 and authored to BD structure using TSMuxer. When I open the new structure in BDEDit I see this:

http://thumbnails13.imagebam.com/2091/ba10cb20906463.gif (http://www.imagebam.com/image/ba10cb20906463)

Now, I've tried adding SetStream 49154,0 after and before the "Jump Title 1" command but nothing happens. There's a few things unclear to me:

1) Where do I add the SetStream command? Navigation commands box? Movie objects box?

2) Once I've chosen Set -> SetSystem -> SetStream, do I tick the 2 boxes at the end and if so do I choose GPR, PSR or Imm?

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

MadMonkey57
15th December 2008, 21:27
Referring to your screenshot, you are editing movie object #0 that shows "suspend, enable, enable, 4" in the upper right.
You should insert the SetStream command BEFORE the "PLAY" command. To do so, select command #1 ("move GRP0, 0") and click "+" on the right.
Then select the newly created command and choose the appropriate items in the list boxes at the bottom "set", "setsystem", "setstream". Tick both checkboxes and choose "imm" in both boxes.
Enter 49154 in the top box and leave 0 in the bottom one.

The command should now show SetStream 49154,0.

Now that you have edited movie object #0, select movie object #1. It shows another "PLAY" command. Insert the same SetStream before it.

Let me know how it goes.

Please consider that I am no expert... Just a few tests and trials... So no guarantees...

idbirch2
15th December 2008, 22:12
Thanks MadMonkey, I followed your instructions and at first I didn't think it was working because in PowerDVD, the subs still weren't forced but burning to DVD and testing on the PS3 showed it was working fine! Thanks so much for your help.

MadMonkey57
15th December 2008, 22:36
Glad i could help !

odin24
15th December 2008, 23:57
@ MadMonkey57 & idbirch2

I'd like to report success, following your instructions MadMonkey57 I was able to automatically enable subtitles. idbirch2, thanks for your trial and error efforts and your instructions MadMonkey57, excellent work guys. So, just to clarify, all I did was;

1. Using BDEdit, open the newly muxed BD structure with subs.
2. In the "BDMV" tab, on the right side highlight the #1 command line, then press the "+" button to the right.
3. No highlight the new cmd line and set the following parameters below.

a. The first three dropdown boxes should be "Set", SetSystem", "SetStream"
b. Check the 2 check-boxes to the right
c. set both small drop-boxes to "IMM"
d. Set the top IMM field to "49154", set the bottom IMM field to 0 (zero)
e. Save, and close.

I did not test this on a full feature, however I did on a two separate 5 minute samples remuxed with tsMuxeR and AVCHD-ME on a USB stick. A/V streams involved were VC-1/AC3core/sup subs and h264/DTS HD-MA/sup subs. This literally took only a few minutes, the longest wait was watching the files transfer to my USB stick.

Note that I applied the BDEdit changes first then renamed using AVCHD-ME... the other way around and BDEdit will not recognize the AVCHD Structure.

Once again, excellent work guys!

EDIT: playback device was my PS3. I will try on a BD soon.

MadMonkey57
16th December 2008, 10:20
I also tried to set an audio stream by default and it works. But there's a little trick here with BDEdit.

In order to set an audio stream, the value for setstream is something like 10000000000000010000000000000000 (binary) which makes it 2147549184 (Decimal). Apparently, BDEdit can't (bug ?) handle decimals that big. The workaround I found was to enter the hexadecimal value 80010000 in the appropriate box.

Tested successfully with a ArcSoft Sofware Player.

G_M_C
16th December 2008, 10:42
Now that you have found a way to set streams, isn' t there a way to adapt BDEdit so that all this becomes more "user-friendly" (I.e. make an option somewhere or a selection field or such ?).

I'm starting to understand this, but i can imagine many people won't, and the dread of making mistakes might keep people off this.

MadMonkey57
16th December 2008, 11:11
Well, I didn't find this trick. bigotti5 did (http://forum.doom9.org/showthread.php?p=1121548#post1121548).
I just ran a few tests and trials and shared with the community.

I agree with the lack of user-frendliness about this method but I'm sure either BDEdit or tsmuxer will soon have new features to handle setting subtitle / audio streams on by default.

odin24
16th December 2008, 11:40
I also tried to set an audio stream by default and it works. But there's a little trick here with BDEdit.

In order to set an audio stream, the value for setstream is something like 10000000000000010000000000000000 (binary) which makes it 2147549184 (Decimal). Apparently, BDEdit can't (bug ?) handle decimals that big. The workaround I found was to enter the hexadecimal value 80010000 in the appropriate box.

Tested successfully with a ArcSoft Sofware Player.

Another good find... however, isn't it whatever audio stream is loaded first (tsMuxeR or tsremux) the default audtio track? Honestly I have never authored a disc with more than one audio stream.

MadMonkey57
16th December 2008, 13:35
Some players rely on their on settings to choose the appropriate default audio / subtitle. Sometimes, you can't even alter these settings.
For instance, I have a portable DVD player that chooses the EN audio and EN subtitles ON by default and I have to manually switch to audio FR (my 4 year old daughter doesn't understand english yet :)) and disable subtitles. It's kinda annoying...

Setting audio / subtitle streams with commands ensures the movie behaves the way I want regardless of the player.

samoin
17th December 2008, 20:13
My blu-ray player is A region tied, and I have a bd back-up but its region free. Could you, please, explain to me how to change it in MovieObject.bdmv to set region code to A??
thanks

KiddColt
22nd December 2008, 23:26
Hello All,

In the 3 March 2008 post it's claimed that this tool can "delete titles" from a BD structure. Could someone please give me a step-by-step on this?

Thanx, KC

PS - Awesome tool - Keep up the good work!

MadMonkey57
29th December 2008, 10:47
With the use of BDEdit, I've stripped down tsmuxer's output (index.bdmv and MovieObjects.bdmv) to the minimum (http://forum.doom9.org/showthread.php?p=1228707#post1228707). The (hopefully compliant) obtained BD structure seems to be a bit more appreciated by my SAP (Panasonic DMP-BD35) than tsmuxer's original output.

Might be of interest to some you guys out there...

mochevolete
1st January 2009, 23:55
I have to change the, wrong, audio tag set by Tsremux (there are 2 tracks eng & ita, but both setted as eng by tsremux, used for a True-HD track), on the second audio track, in the CLIPINF section I can see both audio tracks, but how do I select the second track in the PLAYLIST section to change from the dropdown (in the STN section) ?

thanks Nik

DVD Maniac
4th January 2009, 12:42
Sorry for landing on this thread but i am trying to find a way of pre-processing BDMV structures prior to using jdobbs BD Rebuilder tool. I want to blank out unwanted m2ts files (such as trailers, fbi rubbish etc) in a way which leaves the integrity of the files intact and lets BD rebuilder do it stuff and freeing up more space for the movie itself. There are many tools to achieve this with DVD but not it seems for BD/ HD DVD.

I have played around with ED edit but cant see an obvious way of achieving this, can anyone offer some suggestions?

MadMonkey57
4th January 2009, 13:35
Could you please provide a screenshot of the main tab ?

usr139
15th January 2009, 03:14
Hi,
I am very new to using the BDEdit software.
When I open a clpi file (say 00011.clpi) it has 2 video streams
and 5 audio streams( 2 are true HD lossless.

How can I edit this file to indicate that I have removed
the Lossless TruHD but kept only the DD 5.1 audio only.

I opened the file using BDEdit, and read the clpi file.
It does not let me change anything there.
Thanks

KiddColt
16th January 2009, 18:34
Hello,

I'm currently working on this. BDEdit is currently the only tool for this but I'm having 2 problems:
1) Mods must be done manually (on a per movie basis) until someone puts a "BDShrink/BDBlanker" type project (with source code) into SourceForge.
2) BD Authentication software can't be had so many BD-Rs are wasted (PowerDVD will play most modded BDs while settop boxes won't).

Good Luck to all, KC

KiddColt
16th January 2009, 18:36
My Bad!
My previous post was a reply to DVD Maniac's post:

Sorry for landing on this thread but i am trying to find a way of pre-processing BDMV structures prior to using jdobbs BD Rebuilder tool. I want to blank out unwanted m2ts files (such as trailers, fbi rubbish etc) in a way which leaves the integrity of the files intact and lets BD rebuilder do it stuff and freeing up more space for the movie itself. There are many tools to achieve this with DVD but not it seems for BD/ HD DVD.

I have played around with ED edit but cant see an obvious way of achieving this, can anyone offer some suggestions?

jagaskywalker
5th February 2009, 14:42
I am looking for something similar. I do not want to re-encode the whole movie but to keep it intact, together with the menu, chapter, and audio selection, removing all unwanted extras in order to fit it on a BD25.... (removing unwanted audio streams would also help)....

KiddColt, can you provide some more info on how you are approaching this issue ?


Sorry for landing on this thread but i am trying to find a way of pre-processing BDMV structures prior to using jdobbs BD Rebuilder tool. I want to blank out unwanted m2ts files (such as trailers, fbi rubbish etc) in a way which leaves the integrity of the files intact and lets BD rebuilder do it stuff and freeing up more space for the movie itself. There are many tools to achieve this with DVD but not it seems for BD/ HD DVD.

I have played around with ED edit but cant see an obvious way of achieving this, can anyone offer some suggestions?

stottle
15th February 2009, 16:51
There's a command in Master and Commander that isn't recognized by BDedit. I'm using 0.17b.

The command is 0x31000010, which is a Set, SetSystem, ??. The SetSystem CommandOptions go from "SetStream" (0x31000001) to "Still Off" (0x31000009). It looks like BDedit is out of date with some newer command options? Anyone know what this is? Whatever this command is, it takes a destination register (GPR1 in this case).

Thanks

joerg-daniel
19th February 2009, 00:54
is there a longer description of the movieobject command lines like move jump play etc?

I try to correct the bdmv structure to play the second m2ts from a splitted bluray.

deank
2nd March 2009, 20:00
Here is more information on PSR registers. (http://forum.doom9.org/showthread.php?t=145385)

rmeyers
7th March 2009, 21:40
BD-RB is an encoder/rebuilder. movie only or full disc. shrink to dvd-5, dvd-9, or bd-25.

nwg
13th March 2009, 13:58
I have been using this program to force subtitles for foriegn films using this -


1. Using BDEdit, open the newly muxed BD structure with subs.
2. In the "BDMV" tab, on the right side highlight the #1 command line, then press the "+" button to the right.
3. No highlight the new cmd line and set the following parameters below.

a. The first three dropdown boxes should be "Set", SetSystem", "SetStream"
b. Check the 2 check-boxes to the right
c. set both small drop-boxes to "IMM"
d. Set the top IMM field to "49154", set the bottom IMM field to 0 (zero)
e. Save, and close.

Last night I did Iron Man and now have two subtitles. Forced subs is subtitles 1 and the full subtitles is second. How do I get subtitles 1 to be forced? I did the same as above and it made subtitle 2 forced instead.

odin24
13th March 2009, 14:59
I have been using this program to force subtitles for foriegn films using this -



Last night I did Iron Man and now have two subtitles. Forced subs is subtitles 1 and the full subtitles is second. How do I get subtitles 1 to be forced? I did the same as above and it made subtitle 2 forced instead.

Unless you need the full subtitle stream I'd only mux in the forced subs. Not sure how if you need both.

nwg
13th March 2009, 15:52
Unless you need the full subtitle stream I'd only mux in the forced subs. Not sure how if you need both.

Because the forced subs have only the translations. If I don't, then I will need the full subs on all the time.

edit.

I ended up solving by running the files through clown_BD and getting to automatically detect subtitle 1 as forced for me. It still has subtitle 2 for when I want to use them.

deank
17th March 2009, 12:51
Probably it could have worked if you just used 49153 instead of 49154.

nwg
21st March 2009, 18:28
Probably it could have worked if you just used 49153 instead of 49154.

Thanks for that. It didn't work anyway using clown_bd. It still picked the biggest sub.

The forced subs is the first one.

deank
21st March 2009, 18:45
Did it work with the value I suggested?

nwg
21st March 2009, 19:38
Did it work with the value I suggested?

I haven't burned it yet. I need to watch what I have put on the BD-RE disc later tonight.

edit.

That worked great. Only the forced subs come up automatically.

Tongariro
21st May 2009, 20:26
Hello

I anybody has the MPLS file structure?

I see that the BDedit doesn't show part of the information (audio and subtitle). and i cant edit the rest of the information.

So the only way is to use hex editor, and to use it i need to know the MPLS file structure.

Ghitulescu
25th May 2009, 16:21
I think the mandatory folders are: PLAYLIST, CLIPINF, STREAM, AUXDATA, META, BDJO, JAR, BACKUP (with subfolders PLAYLIST, CLIPINF, BDJO, JAR).
Is that correct?

There are threads on this subject - some BD players require their presence (one or both) while others, Samsungs are notably here, require their absence (one or both).

deank
25th May 2009, 18:33
You're "replying" to the person who knew ALL about it 2 years ago and to a post older than HDDVD-Blu-ray war...

Ghitulescu
25th May 2009, 18:54
You're "replying" to the person who knew ALL about it 2 years ago and to a post older than HDDVD-Blu-ray war...


I think the mandatory folders are: PLAYLIST, CLIPINF, STREAM, AUXDATA, META, BDJO, JAR, BACKUP (with subfolders PLAYLIST, CLIPINF, BDJO, JAR).
Is that correct?


I missed the fact that's a retoric question.
The fact is that I really do not care about the standards once they are not correctly implemented. Can you force Samsung to respect a standard or to implement optional features, I mean as a private person? Or can you force somehow Panasonic to play VC-1 on DVDR? Or can one stop changing the BD standard because that's exactly what they are doing? I don't think so.

I think that is important to obtain BD25/BD9/BD5 that are both BD and player compliant. Or at least within certain small modifications.

DVD Maniac
29th October 2009, 11:05
Is there a guide available for this tool yet?

The key requirement for me is to change the First Play title. I just want to make the First Play title the main menu and skip all the annoying stuff. Ive tried to do this in the First Play options but nothing seems to work.

deank
29th October 2009, 12:38
In most cases it is not that easy to simply change the first playback to another (or to menu). There are some important initializations which need to be performed first.

What you can do is to examine 'first playback' title and find the calls to playlists (such as 'warnings', logos, etc...) and remove these lines.

DVD Maniac
29th October 2009, 14:17
In most cases it is not that easy to simply change the first playback to another (or to menu). There are some important initializations which need to be performed first.

What you can do is to examine 'first playback' title and find the calls to playlists (such as 'warnings', logos, etc...) and remove these lines.

mmmm. Easier said than done. I asume you mean going to the Playlist tab and selecting the Playlist number specified in the First Playback row? In this case its just one row so no calls to warnings or logos here.

To be honest, I don't have the knowledge of BD structure to achieve this with consistent results! This is like Deja vu with the old days of Ifo edit and DVD structures where (with time and learning) you could do a hack of the Frist Play PGC with some success. This only worked with very simple structures, as soon as you have language selection menu's or other branching loops you could basically forget it. :rolleyes:

The only satisfactory solution for this arrived with the likes of PGCedit and VOB Blanker which are fantastic tools and take care of the detailed changes required to keep the structure intact. Is the new BD structure too complex for these sorts of tools to be developed then? I'm surprised nothing has landed yet on the freeware world to do this - i'm hoping jdobbs is not far off with BD Rebuilder......

DVD Maniac
30th October 2009, 13:03
Before I go head first into mucking around with things maybe I can get some help here as basic information on the BD Folder and File structures does not appear to exist!

1. What is the Purpose of the BDJO Folder and the various files in it?
2. What's the distinction between a BD-J and HDMV Object?
3. How do the BD-J / Playlist / m2ts files link together and how do I find the linkages in the tool?

Thanks!

deank
30th October 2009, 13:17
1) BDJO folder holds objects for java applications stored in JAR folder, which are called from BD-J objects/titles

2) BD-J title can call java objects/apps stored in BDJO/JAR, HDMV titles cannot

3) The logic is:

Type of title BD-J can refer only to a JAR file in JAR folder, which in turn deals with the PLAYLIST files, which call/play the M2TS files (sadly you can't possibly know what a JAR program actually does, except that it may call some of the OIDs in movieobject.bdmv). Of course the java app can later call HDMV titles or other BD-J titles.

Type of title HDMV can call objects/OID from within the movieobject.bdmv and those objects can call/play other objects, play playlists or other HDMV/BD-J titles. HDMV titles are easier to examine because you can see most of the code and change it with BDEdit. There are a lot of navigational commands in some m2ts files (like menus), but there is no simple way to change them, unless you're good with a HEX editor and have some oldschool experience writing commands in pure hex format like assembler.

I doubt that there will be any tool to allow full editing of Blu-ray discs if they use JAVA.

***

Here is a very very simple HDMV-titles-only example of the playback sequence in a compilation authored with an older multiAVCHD build:

http://multiavchd.deanbg.com/bd01.jpg
Upon inserting the disc, player should play "First playback" title, which is set to be HDMV object (OID) 255. You can see it on the right side. It performs some initializations of various registers and then jumps to object 256.

http://multiavchd.deanbg.com/bd02.jpg
Object 256 does some more initializations (in this case only setting audio and subtitles) and then jumps to Title 0. Title 0 is the "Top menu title". In this case Title 0 = Top Menu Title = Object 259.

http://multiavchd.deanbg.com/bd03.jpg
Object 259 (top menu) performs some checks (like should it play the intro screen, is it currently in pause/resume mode, or does it need to play the MENU itself) and calls the respective title (if in resume/pause - line 0007) or menu (line 0011). Let's say it was to play the last title in the compilation (set on the left side as 008 HDMV, OID/File 8)...

http://multiavchd.deanbg.com/bd04.jpg
It does some stuff, sets the starting chapter mark to play the video from and then calls the playlist.

Now... things look different with JAVA:

http://multiavchd.deanbg.com/bd05.jpg
First playback will make your player execute java object file BDJO\00000.bdjo (which calls java app from JAR folder) and there is no way of knowing what are the instructions/code inside that JAR application, which means that there is no way to change anything.

Of course there is a simple workaround. You can find the playlist for the video you want to skip and change its OUT_TIME (for example set it to be equal to the IN_TIME). Doing this will make the java app to play the intro video (fbi warning or whatever...), but since you set IN/OUT to be equal it will simply skip it. :)

I posted some notes about IN/OUT times here. (http://forum.doom9.org/showthread.php?p=1327487#post1327487)

Dean

wiggle
2nd November 2009, 21:27
Deank thanks a lot of this well elaborated brief introduction to bluray structure. I was wondering about one step though.
Title 0 is the "Top menu title". In this case Title 0 = Top Menu Title = Object 259.
I see the script calling for Title 0, but you can you tell this is the top menu title?

deank
2nd November 2009, 21:45
All titles are numbered 1 to 254.

First playback is an exception and Top menu (i.e. user call/top menu button on your remote) invokes Title #0.

I'm not sure what your question is about, but there is only one TOP MENU title and it is set with an object ID (in HDMV structures - BD-J discs are different).

You can tell a title is a MENU script/program/OID if it is referred as such by "Top menu" in BDedit. Any OID (object) can be a "top menu". It depends on the programmer of the structure.

Dean

wiggle
3rd November 2009, 01:06
I'm sorry; I mean how can you tell title # 0 is the top menu?

deank
3rd November 2009, 16:16
I don't get it...

Title#0 IS/points to the OBJECT_ID which executes the TOP MENU playlist. You "don't tell", it is just the way it is.

Usually title#0 calls menu playlist, which calls menu .m2ts file, which in turn takes navigation control, because it contains commands just like those you see in BDEdit.

Moviewatcher666
14th November 2009, 00:41
Here is the issues:

http://forum.doom9.org/showthread.php?p=1341685#post1341685
http://forum.doom9.org/showthread.php?p=1343643#post1343643

This may be a long shot and I may be in the wrong place and please correct me if I am.

I have been trying to use BDedit to see if there is a difference to the BD structure of the original rip of Groundhog Day and the RB-Rebuilder rebuild of Groundhog Day. I was hoping that I could see if there is a difference and therefore fix the rebuild so that the movie will play in my Panasonic player. I am of the opinion that it is possible to fix this issue with the right tools.

I am having trouble understanding the structure of this particular Blu-ray (probably not the easiest one to start with!) to see if RB-RD is messing with the files.

Is there anything I should be looking at in particular? I would be happy to provide any files for help with the analysis and trying to find a solution.

My *** on this approach but I thought I would give it a shot.

Any thoughts or comments are greatly appreciated. Thanks!

Moviewatcher666

deank
14th November 2009, 10:26
BD-Rebuilder doesn't touch index.bdmv and MovieObject.bdmv (in Full backup mode) and BDedit won't help you investigate what causes the trouble with your Panasonic BD35 player.

Moviewatcher666
14th November 2009, 16:07
Thanks for the quick reply! Much appreciated.

sreemv
9th January 2010, 10:12
I have a Bluray that is backedup to HD and when played from it, the player is stuck looping at the menu-title without ever presenting the actual menu - can BdEdit help? I am able to playback several other backups without this issue.

Pelican9
1st February 2010, 03:03
Hi all!

I've played a little with BDedit and maybe (MAYBE!) I can work more on it in the next few weeks.
I'd like to figure out something about menu handling (show/edit/generate).

A new snapshot is available now.

Changes for v0.18b

- New Option settings
- Save stream with a selected PID in Clipinfo (elementary stream, PES, standard SUP)
- Follow GoTo, Jump Title, Play PL, etc. in Navigation commands (Double click)
- Load/Save Extension Data to/from index.bdmv
- Check (m2ts) files in STREAM folder
- Warn if mandatory folder is missing
- Progress bar, elapsed and remaining time
- Cancel button (Stops only at PES packet boundary)
- 'About' tabsheet with program history

Download from pel.hu

laserfan
1st February 2010, 14:38
I've played a little with BDeditThanks Pelican9 for working on this.

I have only used BDedit to fix tsMuxeR's output which always loops-back to the beginning when a movie is over, but I've used this for EVERY ONE of my re-muxed BDs so it is a godsend. Glad you're back here so I finally get to say

:thanks:

P.S. For anyone who has trouble with it, when I tried the new 018b it failed to run initially. I had to delete the registry entry from HKCU for the older version first, then it ran fine.

deank
1st February 2010, 15:49
Hi all!

I've played a little with BDedit...

Thank you Pelican for your great work. Without BDedit it would've been impossible to create multiAVCHD!

:thanks::thanks::thanks:
Dean

Pelican9
1st February 2010, 18:46
:thanks:
Only a few people using BDedit, because it's too complicated and almost nobody knows what that lot of little stuff means ... :)
If you use BDedit please post here what do you do with it.

I'm thinking about the following functions:

- Remove FBI warning and other annoying stuff automatically (mean you delete the xxxx.m2ts and the sw do the rest)

- Edit the existing menu structure

- Create a simple menu if not exists

- Remove the complete menu and other stuff, just play the main movie

What is your idea about that?

What would be a really cool feature of BDedit? :)

Or it is a dead end and nobody wants to hack the BD structure?

laserfan
1st February 2010, 20:02
I have only used it to fix what (for me) is an annoying feature of tsMuxeR, which is to jump-back to the start of the movie after the movie has ended. Then just today I was able to use it to SetStream and force a subtitle to ON.

So it's been invaluable to me but I'm sure others will have "cool" ideas for you re: enhancements. :cool:

deank
1st February 2010, 21:40
I'm using it to program from scratch the movieobject objects and it is of great help. Although I know most of the OP codes :) it is easier to do it with BDedit (like a macro-assembler language).

A cool thing to have is to be able to edit (add/remove) entries in the STN. I needed it so badly that I finally wrote a function in multiAVCHD to do it for my needs.

And I don't find it complicated - it is just EXACTLY what I needed and I'm using it everyday.

Dean

crl2007
2nd February 2010, 02:07
:thanks:
Only a few people using BDedit, because it's too complicated and almost nobody knows what that lot of little stuff means ... :)
If you use BDedit please post here what do you do with it.

I'm thinking about the following functions:

- Remove FBI warning and other annoying stuff automatically (mean you delete the xxxx.m2ts and the sw do the rest)

- Edit the existing menu structure

- Remove the complete menu and other stuff, just play the main movie



These 3 functions will be good. If an IGS menu could be edited, it would be really something. And some java ones that are calling strips of fonts instead of whole words. I was thinking of something like vobblanker does for dvd's.

Modifying the IN/OUT Time would also be nice, it would save a lot of people from hex editing. Including me. For branched and series discs.

chompy
2nd February 2010, 08:50
In addition to the functions you've said (for me the most important of them is remove unwanted material), I've think some kind of debugger (something like DVDRemake for BD) should be nice.

Greetings

Pelican9
4th February 2010, 13:15
Coming soon...
http://pel.hu/down/BDedit_MENU.gif

crl2007
4th February 2010, 15:15
Great. :D Glad you resumed your work with BDEdit.

deank
4th February 2010, 16:27
This looks amazing! :thanks:

Pelican9
5th February 2010, 03:55
I need some m2ts file with IG stream (preferably only one 1400 PID inside, no other PID) for testing.
If you can help, upload somewhere (like RapidShare) and PM me. About 10-50 MB file size.
Or at least name it please (movie title, stream number).
:thanks:

I hope this post is not against the forum rules...

chompy
7th February 2010, 08:59
I need some m2ts file with IG stream (preferably only one 1400 PID inside, no other PID) for testing.
If you can help, upload somewhere (like RapidShare) and PM me. About 10-50 MB file size.
Or at least name it please (movie title, stream number).
:thanks:

I hope this post is not against the forum rules...

You have a PM ;)

Pelican9
8th February 2010, 12:29
You have a PM ;)

You too! :)
:thanks:

PurpleMan
8th February 2010, 14:09
@Pelican9:

1. Thank you very much! BDEdit is a most crucial tool to have in the BD manipulation community, and in my opinion, your efforts are absolutely priceless. So thank you.

2. In addition, would you mind listing new features of the coming-soon 0.19 which I'm particularly excited about?

3. If I may feature-request, for the future releases - it would be really nice having the possibility to edit the number and types of tracks listed in MPLS files, as well as copy/paste/edit sub-path entry points.

Regards,
-PurpleMan.

Pelican9
11th February 2010, 16:37
PurpleMan:

Changes for v0.19

- Show IG stream content on MENU tabsheet
Pages, BOGs, Buttons, Commands, Button bitmap
Objects, Palettes
In and Out Effect windows
In and Out Effect effects

These work well but I want more editable fields on the PLAYLIST tabsheet also.

crl2007
11th February 2010, 17:32
@Pelican9 In the Playlist tabsheet would be nice to have something like mpls tools and calculate the entire chaptermarks if you enter another IN_Time.

Also, the IG content can be edited ? To save a still and edit it in photoshop ? Then insert it again. Buttons can be unlinked ?

chompy
11th February 2010, 18:30
PurpleMan:
These work well but I want more editable fields on the PLAYLIST tabsheet also.

Add/Remove/Blank items in Playlists would be really nice... And remove buttons from menus would also be great :thanks:

PurpleMan
12th February 2010, 12:04
PurpleMan:

Changes for v0.19

- Show IG stream content on MENU tabsheet
Pages, BOGs, Buttons, Commands, Button bitmap
Objects, Palettes
In and Out Effect windows
In and Out Effect effects

These work well but I want more editable fields on the PLAYLIST tabsheet also.

Very impressive! The more things we can edit in the MPLS - the better.

As for chompy's and crl2007's requests - I second them.

Wonderful work, really.

Pelican9
12th February 2010, 21:04
@Pelican9 In the Playlist tabsheet would be nice to have something like mpls tools and calculate the entire chaptermarks if you enter another IN_Time.

Also, the IG content can be edited ? To save a still and edit it in photoshop ? Then insert it again. Buttons can be unlinked ?
What is that 'mpls tools'? I've googled it but found nothing.

I don't know yet how can I change the bitmaps, because the size is changing, but we can modify a lot with the commands, buttons, effects and palettes.
Or maybe I can figure out how can I write a completely new m2ts file and then we can change everything. :)

crl2007
12th February 2010, 23:57
That would be awesome.

This is mpls tools and what it does: link (http://forums.sagetv.com/forums/showthread.php?t=41722).

LoneSwan
16th February 2010, 23:47
I have been searching Bluray authoring forums and decided this thread was the best place to ask:

I rip all my Bluray discs to external hard drives and playback the *.m2ts movie files with a WDTV media player (1st generation). This solution works great for me since I can move the external drive(s) & mini-media player from room to room, or house to house.

I am waiting for the "PopBox" to be released, before choosing another (mini)media file player:

http://www.iboum.com/pr/popbox.php

What I am missing from this system is a way to view the original Bluray menu. I do not need full-featured playback such as PowerDVD or TotalMediaTheater. Just would like a way to view and navigate the Bluray menu structure on an average powered PC.

Being able to make a custom menu with BD Structure Edit would be even better! For now, I can devise a work-around if I can just view original menu and follow the pointers to referenced *.m2ts files.

Thank you "Pelican" for your outstanding efforts!

LowDead
17th February 2010, 00:36
@LoneSwan: Maybe you should take a look at multiAVCHD..

crl2007
21st February 2010, 18:20
You have a PM. Sent you a test "subject".

laserfan
21st February 2010, 18:49
@Pelican9 In the Playlist tabsheet would be nice to have something like mpls tools and calculate the entire chaptermarks if you enter another IN_Time.

What is that 'mpls tools'? I've googled it but found nothing.

This is mpls tools and what it does: link (http://forums.sagetv.com/forums/showthread.php?t=41722).

The SageTV link says tsMuxeR output doesn't work right w/Sage unless the IN times are changed, so mpls tools allows one to edit this, but I wonder if anyone here knows: is there anything about a menu that "calls" a mpls to play that requires any knowledge by the menu of the mpls IN time? In other words, does there need to be any synchro of any kind between a menu and a mpls' IN time?

crl2007
21st February 2010, 19:06
The movie ( menu movie or feature feature ) could end faster. Because the in and end values are 00:09:48.350 too short. It is indicated that you either replace the mpls with the one created by tsmuxer, or edit the in_out time with mpls tools.

That's because the most original discs have an in_time of 00:00:11.650 and tsmuxer has 00:10:00.000.

deank
21st February 2010, 21:39
The SageTV link says tsMuxeR output doesn't work right w/Sage unless the IN times are changed, so mpls tools allows one to edit this, but I wonder if anyone here knows: is there anything about a menu that "calls" a mpls to play that requires any knowledge by the menu of the mpls IN time? In other words, does there need to be any synchro of any kind between a menu and a mpls' IN time?

There is no way a navigation / menu / popup... to deal with IN/OUT times. It is like thinking of PTS stamps (in/out times) as low-level (transport) information and menu programming as high-level programming. It is the same as having ETHERNET based network (low level) which can carry different protocols such as TCP and UDP. A menu has no access-to/information-about in/out times (like a TCP packet has no knowledge if it is being transmitted via cable or satellite). In/Out stamps are arbitrary and can have any value... It is that some producers chose 10 mins and other 11 seconds.

Each playlists FIRST playitem IN_TIME defines the base for the playlists. Would it be 00:00:00.000 or 06:07:08.090 makes no difference.

Subpath playitems (menus, PIP...) may be synchronized with the main playlist (when muxed with the video) or not (when muxed in separate m2ts files, but even then there are settings to set a synch information in relation to a specific stream... a lot of options).

Dean

crl2007
21st February 2010, 22:14
From what I understood, he was talking about menu background m2ts files and their mpls. Except if they're not IGS. For java discs, the menu background can be replaced with another m2ts authored with tsmuxer.

laserfan
21st February 2010, 23:46
No, I was not talking about menu background. Thanks Dean for your complete reply--I will look elsewhere for my menu glitching (when an individual program/title ends it does not always return to the menu as it should--I wondered if the IN/OUT times might have been a factor).

crl2007
22nd February 2010, 10:53
In that case, there is no dependency whatsoever between them. What you experience there is bad authoring. Many discs from Europe are broken somehow, and that's because studios here are re-authoring the discs to suit european languages and subtitles, but they are not very good at it and sometimes they end breaking the structure. If the disc is from another region, then maybe that's how it was authored from the beginning.

laserfan
22nd February 2010, 15:44
Actually I am making simple BDMV menus using Ulead MF6+ w/HD pack (using a very short clip that subs as the actual programs) and then inserting m2ts, mpls, and clipinf that I've made using tsMuxeR. It works quite well except as I said that sometimes when a program (episode) ends, the main menu doesn't properly appear again. Not a big problem for me as we tend to watch only one episode at a time anyway, but what with BDedit and all the other info here I'd like to learn how to fix them.

Yeah I know "why not just use multiAVCHD" but it's just a) very complex and b) too much of a moving target at this time. Someday deank will slow down his changes to it and I will take the plunge into multiAVCHD... :)

deank
22nd February 2010, 18:44
I'll slow down this summer when I go to a vacation again... I just can't stand sitting and doing nothing, so I add things... I hope I'll release a stable version in few weeks which won't need updates for some time. :rolleyes:

laserfan
22nd February 2010, 19:36
Hey maybe you'll make a Basic (static menu w/background & music, 4 or 5 numbered episodes listed and a Play All button) and Expert (everything else) for guys like me who are bewildered by it all. :)

Not to mention the fact that my ISP is ridiculously slow such that bigger downloads are no fun for me. :(

Otherwise, don't slow down on my account!!! ;)

crl2007
22nd February 2010, 20:07
Eh, everybody needs a vacation. And God knows that deank deserves it. :) Especially from putting up with me and my endeavours. :)

setarip_old
27th February 2010, 04:02
@deank

As I recall, your last vacation returned you as a well-rested, raring to go HD-DVD problem solving phenom (with functioning email connections) ;>}

Inspector.Gadget
28th February 2010, 02:48
Has 0.19b been released yet? All the MENU screenshots look useful, but I can't find that version...thanks.

Pelican9
28th February 2010, 04:06
Has 0.19b been released yet? All the MENU screenshots look useful, but I can't find that version...thanks.
Not yet, sorry.
I'm working on the v0.20 now which will be released in about a week.

Inspector.Gadget
28th February 2010, 04:35
Thank you. Looking forward to it!

Pelican9
6th March 2010, 22:02
A new snapshot is available on my homepage.

Changes for v0.20b

- Improved menu display (display animated button, cache RLE bitmap)
- Load, Save, Delete ExtensionData() from/to Playlists
- Insert/Delete/Edit STN table
- Insert/Delete/Edit SubPath
- Edit SubPlayItem

Plans:
- a menu simulator which can show the the whole operating menu
- a player simulator to trace/debug commands
- edit and save menu to a new m2ts

Take a look and give me a feedback about the new version please.:thanks:

laserfan
6th March 2010, 23:26
Take a look and give me a feedback about the new version please.
Hmmm all I see under Menu tab is "Not loaded". How does one see any menu data..?

Pelican9
6th March 2010, 23:37
Hmmm all I see under Menu tab is "Not loaded". How does one see any menu data..?

It shows an IG stream, so you have to find one on the CLIPINF tabsheet and use the '->' button to load to the Menu.

laserfan
6th March 2010, 23:46
I see it, thanks for getting me started...!

crl2007
7th March 2010, 11:23
Very good plans for the future. As what I can see here, the menu editing would be a hassle. Too many tiny bitmaps to edit.

One question: how it's normal for the menu elements to appear ? From pushing 1 or 2 ?

http://thumbnails14.imagebam.com/7096/a0979770956716.gif (http://www.imagebam.com/image/a0979770956716)

I ask you this because sometimes preview appears from pressing elements from 2 and sometimes only by choosing from the drop-down.

Pelican9
7th March 2010, 13:30
One question: how it's normal for the menu elements to appear ? From pushing 1 or 2 ?

I ask you this because sometimes preview appears from pressing elements from 2 and sometimes only by choosing from the drop-down.
It's not normal on 2. It was a debug feature for me.
I uploaded a bugfix last night (v0.20b2)
Normally you can see a bitmap click on the object id in the Buttons and some fields of the header.

crl2007
7th March 2010, 15:41
I downloaded now 20b2. That's what I see, that's why I said it would be a hassle to edit so many bitmaps just to replace a word. But, it's a start, and if you can figure out how to save in a new m2ts it would be great. Keep up the good work. It's highly appreciated.

Pelican9
11th March 2010, 14:04
I'm looking for a sw player which can play BD movie from harddisk folder. Especially the menu. Some older versions of PowerDVD can do it, but don't know which version exactly. I've tried some 7.xx but doesn't play BD. I also tried the Totalmedia Theater, but it cannot start on my Windows 7 x64.
Any idea? :confused:

A screenshot from the next version:
http://pel.hu/down/BDedit_PAGE.png

deank
11th March 2010, 14:10
:) Looks nice!

Nero ShowTime plays BD folders from HDD.

laserfan
11th March 2010, 15:25
I also tried the Totalmedia Theater, but it cannot start on my Windows 7 x64.TMT3 plays great on my W7 x64 quadcore--maybe you should give it another try as it is one player that will do it all (BD, HD-DVD, play from hdd folders, etc.).

bigotti5
11th March 2010, 15:53
Small bug in command entry field is still there...
Destination field (dec) to set audio and sub streams wont let you insert correct command.
E.g. set audio and sub to 1 requires 2147598337 in first destination field - you cant do it (you can set in hex field (8001C001) but INVALID is shown always) .

Pelican9
11th March 2010, 15:57
Small bug in command entry field is still there...
Destination field (dec) to set audio and sub streams wont let you insert correct command.
E.g. set audio and sub to 1 requires 2147598337 in first destination field - you cant do it (you can set in hex field (8001C001) but INVALID is shown always) .
Yes it's a bug. :thanks:
Some commands use more than two operands, like SetStream, SetSecondaryStream.
v0.21 can show correctly these, but the input is still buggy.
I thought yesterday nobody will spot this... :)

TMT3 plays great on my W7 x64 quadcore--maybe you should give it another try as it is one player that will do it all (BD, HD-DVD, play from hdd folders, etc.).
You are right! It's working now... It didn't work on W7x64 RC1.

deank
11th March 2010, 16:28
Can you also 'fix' overwriting commands with NOP - I mean when user enters "00000000" in the OP code automatically to set 00000000 in the other two boxes (or at least not disable them).

Also a lot of times when I use PSR as source and move to the destination box, BDedit will change the PSR to GPR. It caused me a lot of troubles and debugging :) when I didn't pay attention to that 'auto'-change. :)

You may also include some notification when a forbidden command is entered in movieobject, since some of the commands may only appear inside an IGS program (and vice verse)

Pelican9
11th March 2010, 21:07
Can you also 'fix' overwriting commands with NOP - I mean when user enters "00000000" in the OP code automatically to set 00000000 in the other two boxes (or at least not disable them).

Also a lot of times when I use PSR as source and move to the destination box, BDedit will change the PSR to GPR. It caused me a lot of troubles and debugging :) when I didn't pay attention to that 'auto'-change. :)

You may also include some notification when a forbidden command is entered in movieobject, since some of the commands may only appear inside an IGS program (and vice verse)

1. Done.
2. I don't understand this auto-change thing... PSR or GPR depends on the highest bit of the operand
3. Working on it.

Edit:
2. I've tried. Understand. Done.

Pelican9
13th March 2010, 21:18
A new version is available.

Changes for v0.21

- Page View on Menu tabsheet with working menu structure
- navigate with five button (up, down, left, right, select) or mouse (limited to basic buttons)
- display animated 'selected' and 'activated' state of buttons ('normal' state not animated)
- run button commands in an emulator (read/write PSR and GPR registers, enable/disable buttons, etc.)
- trace button commands (run step by step) follow on BOGs
- customizable colored infos on buttons (button id, object id)
- customizable colored button and window frames
- show command line on activation (Jump Title, Play Mk, etc.)

- Follow SetButtonPage and GoTo command on BOGs tabsheet (double click on command line)
- Follow Jump Title to the BDMV tabsheet from button commands
- Fixed bug with palette in object view
- Fixed bug with command editing
- Fixed bug with command check
- Fixed bug with SetStream and SetSecondaryStream command line display
- Beep on invalid command (on/off)
- Easy NOPing (Shift-N)
- Improved command line with PSR comments
- Delete, View, Load, Save ExtensionData() from/to MovieObject.bdmv
- View PSR and GPR values on Status tabsheet (displays nonzero only)
- View/Edit PSR and GPR values on the Menu tabsheet

Emulgator
13th March 2010, 22:42
I'm looking for a sw player which can play BD movie from harddisk folder.
Especially the menu.
Some older versions of PowerDVD can do it, but don't know which version exactly.
I've tried some 7.xx but doesn't play BD.

PDVD 7.3.2911e0 here still can do it (OEM version, came with LG drive)
PDVD 7.3.3319a is said to be the last version that was enabled to play BD/HD-DVD from HDD folders:

http://forum.slysoft.com/showthread.php?t=13277&highlight=power+dvd+folder+playback

Pelican9
13th March 2010, 22:56
PDVD 7.3.2911e0 here still can do it (OEM version, came with LG drive)
PDVD 7.3.3319a is said to be the last version that was enabled to play BD/HD-DVD from HDD folders:

http://forum.slysoft.com/showthread.php?t=13277&highlight=power+dvd+folder+playback

:thanks:

turbojet
14th March 2010, 07:39
Thanks for the menu previews will try it out soon, do you have plans to allow editing the buttons and also blanking target(s) through buttons?

Also if all you have is BDMV/BACKUP+CLIPINF+PLAYLIST+STREAM folders the latest powerdvd 7/8/9 builds play from HDD with menus but only AC3/LPCM audio output otherwise silence.