Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Display Modes
Old 17th May 2007, 01:58   #1  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
BD structure edit



index.bdmv
First playback:
Object type: HDMV or BD-J (if no file in BDJO folder you cannot choose BD-J)
Title playback type: Movie or Interactive (menu)
Movie object id: an object from the Movie objects
BDJO filename: a filename (without extension) from the BDJO folder

Top menu:
Same as First playback.

Titles:
object type: as above.
title search:
permitted: Title Search (UO) into this title is permitted.
prohibited1, prohibited2: Title Search (UO) into this title is prohibited
playback type: as above
Object id/object file: as above
MovieObject.bdmv
Objects:
resume:
discard: The Movie Object is discarded when Menu Call (UO) is executed.
suspend: The Movie Object is suspended and maintains its instance when Menu Call (UO) is executed.
commands: number of navigation commands in the Movie Object

Commands:
Operand types:
GPR: General Purpose Register (The player has 4096 GPRs in total)
PSR: Player Status Register (The player has 128 PSRs in total)
Most important PSRs:
PSR1: primary audio stream number
PSR4: title number
PSR5: chapter number
PSR6: playlist id
PSR7: playitem id
PSR8: presentation time
PSR9: navigation timer
PSR10: selected button id
PSR11: menu page id
PSR14: secondary audio and sec. video stream number
PSR20: region code
Imm.: Immediate value, a 32 bit unsigned integer

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.

Last edited by Pelican9; 21st June 2007 at 17:41.
Pelican9 is offline   Reply With Quote
Old 17th May 2007, 02:24   #2  |  Link
guada2
Registered User
 
Join Date: Jun 2005
Location: Lyon
Posts: 187
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.
guada2 is offline   Reply With Quote
Old 17th May 2007, 10:02   #3  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
Quote:
Originally Posted by guada2 View Post
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?
Pelican9 is offline   Reply With Quote
Old 17th May 2007, 22:43   #4  |  Link
b_squared
Registered User
 
Join Date: Feb 2007
Posts: 14
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.
b_squared is offline   Reply With Quote
Old 18th May 2007, 00:26   #5  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
Quote:
Originally Posted by b_squared View Post
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

Last edited by Pelican9; 18th May 2007 at 02:14.
Pelican9 is offline   Reply With Quote
Old 18th May 2007, 01:08   #6  |  Link
b_squared
Registered User
 
Join Date: Feb 2007
Posts: 14
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.
b_squared is offline   Reply With Quote
Old 18th May 2007, 01:35   #7  |  Link
dmz01
Registered User
 
Join Date: Feb 2007
Posts: 203
Quote:
Originally Posted by b_squared View Post
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...
dmz01 is offline   Reply With Quote
Old 18th May 2007, 02:15   #8  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
Quote:
Originally Posted by dmz01 View Post
Who says TsRemux won't do that for you in the not so distant future...
As I said...
Pelican9 is offline   Reply With Quote
Old 18th May 2007, 12:40   #9  |  Link
Fahzuu
Registered User
 
Join Date: Feb 2007
Posts: 41
Quote:
Originally Posted by Pelican9 View 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.

Download: BDedit v0.1
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."?
Fahzuu is offline   Reply With Quote
Old 18th May 2007, 15:38   #10  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
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.)
Pelican9 is offline   Reply With Quote
Old 18th May 2007, 18:05   #11  |  Link
jagaskywalker
Registered User
 
Join Date: Apr 2007
Posts: 49
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.
jagaskywalker is offline   Reply With Quote
Old 23rd May 2007, 00:39   #12  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
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.

Last edited by Pelican9; 23rd May 2007 at 17:26.
Pelican9 is offline   Reply With Quote
Old 23rd May 2007, 19:25   #13  |  Link
jagaskywalker
Registered User
 
Join Date: Apr 2007
Posts: 49
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
jagaskywalker is offline   Reply With Quote
Old 23rd May 2007, 20:25   #14  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
Quote:
Originally Posted by jagaskywalker View Post
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.
Pelican9 is offline   Reply With Quote
Old 24th May 2007, 07:00   #15  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,270
I will ask then:

How can i make any BLURAY play MOVIE only?
I have some problems understanding this program...
__________________
(x264.nl)
bob0r is offline   Reply With Quote
Old 24th May 2007, 09:06   #16  |  Link
borkaenjo
Registered User
 
Join Date: Oct 2005
Posts: 1
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?
borkaenjo is offline   Reply With Quote
Old 24th May 2007, 11:38   #17  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
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.

Last edited by Pelican9; 21st June 2007 at 17:45.
Pelican9 is offline   Reply With Quote
Old 24th May 2007, 13:19   #18  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,270
Ah ok, its not possible yet, so what can this great program do now?

Edit to below:
Roger that.
__________________
(x264.nl)

Last edited by bob0r; 24th May 2007 at 15:27. Reason: I pressed the edit button.
bob0r is offline   Reply With Quote
Old 24th May 2007, 13:32   #19  |  Link
Pelican9
Registered User
 
Join Date: Jan 2007
Posts: 511
Quote:
Originally Posted by bob0r View Post
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).
Pelican9 is offline   Reply With Quote
Old 10th June 2007, 22:07   #20  |  Link
PHD_1976
Registered User
 
Join Date: May 2004
Location: Russia
Posts: 57
BD chapters information

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!
PHD_1976 is offline   Reply With Quote
Reply

Tags
bdedit, blu-ray

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:09.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.