View Full Version : BDedit - BD structure edit
Pelican9
17th May 2007, 00: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, 01: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, 09: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, 21: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
17th May 2007, 23: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, 00: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, 00: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, 01: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, 11: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, 14: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, 17: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
22nd May 2007, 23: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, 18: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, 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
TsRemux is your app. :)
bob0r
24th May 2007, 06: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, 08: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, 10: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, 12:19
Ah ok, its not possible yet, so what can this great program do now?
Edit to below:
Roger that.
Pelican9
24th May 2007, 12: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, 21: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, 10:47
Is there any way of removing the region code using this?
dmz01
20th June 2007, 14: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, 20:24
Not used to doing this kinda thing so got completely lost by your explanation, sorry
dmz01
21st June 2007, 16: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, 20: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, 14: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, 16:43
Any idea when we might see a region free option?
Pelican9
12th July 2007, 22:33
Not now.
I'm working on SUPread and EVOdemux.
Bystander
20th August 2007, 19: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, 20: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, 15: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, 10: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.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.