Log in

View Full Version : Adding an audio stream to an existing titleset


Pages : [1] 2

Dave82
11th February 2004, 23:47
Adding an audio stream to an existing titleset

Actually you have to reauthor your titleset, but I'll explain you how to recreate the original VOB structure and correct the IFOs, so that you'll be able to import this new titleset in your VIDEO_TS and everything (menues included) is going to work.
This could be useful even if you just want to modify an existing audio stream (since audio remuxing isn't supported yet) and rebuild your VOB.

Tools needed:
- IFOEdit
- VOBEdit
- MenuEdit (unregistered version)

1. Open your VTS_??_1.VOB with VOBEdit, click on Demux, check "Demux all Video streams" and "Demux all audio streams", click OK and choose the destination folder. Click "Save".

2. Open your VTS_??_0.IFO with IFOEdit, go to VTS_PGCITI and for each VTS_PGC_? click on File ---> Save celltimes to file.
If your titleset has got only 1 PGC, skip to step 4., otherwise go to next step.

3. Open the first CellTimes.txt with a text editor and append to it the values of the second one increased by the last value of the first *.txt. Append each CellTimes file, increasing its values by the current last number of the first file. Save the *.txt

4. Open IFOEdit and click on DVD Author ---> Author new DVD. Input all your streams (the new audio too) and the CellTimes.txt, select the destination directory and click OK.
Delete the new IFOs, keep only the new VOBs.

5. Open your new VTS_01_1.VOB with VOBEdit, click on "Demux" and check "CellID" and "Demux complete titleset". Click OK.

6. Open these new VOBs with Menu Edit and using "Change ID" reproduce the original VOB/cell ID sequence (you find it in the VTS overview of your original VTS_??_0.IFO). Pay attention: the sequence must continue through the VOBs!

7. Open the first VOB with VOBEdit and click on Edit ---> Join CellVobs files. Rename your new files according to your titleset number.

8. Take the VOBs and put them in your original VIDEO_TS folder overwriting the existing VOBs (it's a good idea to make a backup of the entire folder before you replace the VOBs).

9. Open VTS_??_0.IFO with IFOEdit. Go to VTSI_MAT and increase the number of audio streams in VTSTT_VOBS by 1. Go to VTS_PGCITI and for each VTS_PGC edit the new audio stream status: double click on it and insert a number which is the conversion from hexadecimal to decimal of the stream number followed by 00.
Examples:

Stream HEX value Decimal value

80 8000 32768

81 8100 33024

82 8200 33280

Edit audio stream properties in VTS overview. SAVE and close.

10. Open VTS_??_0.IFO again, click on "VOB extras", we are going to do a mock strip. Select "Strip streams","Correct Vob-Unit (Navigation Pack) pointers in VOB files" and "correct original IFOs".
Uncheck "Autocopy menu-files to destination".
Click OK, check all your streams and click Strip it. Let IFOEdit process all your files.

11. Put all these files from IFOEdit in your VIDEO_TS folder and it should be OK! (I tested this method with PowerDVD and DVD Shrink).

jorel
12th February 2004, 03:11
in step 8 :
menuedit runtime error trying to open the new VTS_01_1.vob.....
(abnormal program termination)(mfc42.dll..the prog will be closed)
something is wrong with my system(ME) or with menuedit?!?!

edited:
after reboot the system, menuedit is working very fine!
:)

jorel
12th February 2004, 17:41
Dave,
i did all using a little cartoon(25 minutes)
and after the "disclaimers" the menu don't came
and the player stop!
i'm lost in step3....celltimes.
the movie have 7 vts_pcgs and his :
vts_pcg_1...406
vts_pcg_2...653
vts_pcg_3...160,2172
vts_pcg_4...12130,24902,37455,42659
vts_pcg_5...12130
vts_pcg_6...12772
vts_pcg_7...12553

i did only one celltimes.txt using all values...don't work!
i'm loosing here:
:confused:
"But you mustn't insert these values: you have to add to each one the last frame value of the previous PGC (and so, within the same PGC, you'll add the same value to each frame number). Save the *.txt "

sorry,i don't understand how to do the celltime.txt.
can you use the values posted and use to build the right celltimes?

thanks!

ps:
sometimes menuedit give the same runtime error and close.

Dave82
12th February 2004, 18:48
Yeah, maybe I didn't explain it very well...
So, in your case:

Frames Cell times CellTimes.txt
vts_pgc_1 406 406 406
vts_pgc_2 653 406+653 1059
vts_pgc_3 160 1059+160 1219
2172 1059+2172 3231
vts_pgc_4 12130 3231+12130 15361
24902 3231+24902 28133
37455 3231+37455 40686
42659 3231+42659 45890
vts_pgc_5 12130 45890+12130 58020
vts_pgc_6 12772 58020+12772 70792
vts_pgc_7 12553 70792+12553 83345

Let me know if this works for you.
I think I'll edit the guide to make it more clear ;)
BTW, maybe your uncorrect celltimes.txt caused the errors in MenuEdit...

jorel
12th February 2004, 19:33
now is very clear Dave!
:)
my celltimes was(is) uncorrect.

i'm trying and post the result later.

thanks again!
:cool:

jorel
14th February 2004, 02:03
hi Dave,
:)
i have some news!

i got the 3 audios, menu,etc working with some "changes"
that i "break my head" to found cos i don't knew
the ifoedit,vobedit and menuedit progs.

i follow the guide but the menu don't came....then
i compare the ifos and vobs and found a "solution"...
using a little cartoon as sample with 2 vobs(main movie),
the first with 0,99gb and the second with 155mb
and 1,15 gb total before the new audio(original vobs,main movie).
from steps 1 to 5,all is ok(using the celltimes that you posted.)

after step 5 with one more mp2 audio
i got 8 vobs with 1,19gb total size.

in step 6:
if the vts.vobs group have more than ~870 mb,
(*)menuedit crash(in step 8),then i did:
from vts_01_001 to vts_01_005 with 406mb in the first folder,
and from vts_01_006 to vts_01_008 with 813mb in the second folder!

(*)menuedit crash too if i try to open the original vobs with 0,99gb!
don't know the reason!
:confused:

in step 7 :
open the first vob of the first folder in vobedit,click in
edit--->join clips--->save!
after this vob edit ask about "first vob id"..
1 is ok for the first group!

now open the first vob from the second folder in vobedit,click in
edit--->join clips--->save!
vobedit will ask again about "first vob-id"...
was used 6 for the second group!!!
see the first vts from the second folder:
vts_01_006 !

if use " Join CellVob files " i got in menuedit:
only one "vob ID" with 5 "cell ID" from the first folder and
only one "vob ID" with 3 "cell ID" from the second folder
but using :
"join clips",save and the "first vob id" from each folder,
i got 5 "vob id" from the first folder
and 3 "vob id" from the second folder.
was needed only adjust all the "cell id" values and
:cool:
bingo!

the chapters,menu,sound selection ...all is working but
:rolleyes:
got a new problem:
the 3 audio channels are out of sincro with the video!

...... i did all (many times) again and
don't know the reason of this problem and how can i solve this!

please Dave,send more hints.
thanks in advance
:)

Dave82
14th February 2004, 02:46
i got 8 vobs with 1,19gb total size.
There's something wrong here...if you used the celltimes I posted you should have 11 VOBs, not 8!
the 3 audio channels are out of sincro with the video!
These 2 things make me suspect you're trying to add the new audio just to some PGCs, not to all the titleset. If I am right, be careful: you can't do that, all the parts of a titleset must have the same A/V features, there can't be different PGCs!
from vts_01_001 to vts_01_005 with 406mb in the first folder,
and from vts_01_006 to vts_01_008 with 813mb in the second folder!
You're right, you don't need to rename the files in each folder to start from 001, I'll edit the guide!
if use " Join CellVob files " i got in menuedit:
only one "vob ID" with 5 "cell ID" from the first folder and
only one "vob ID" with 3 "cell ID" from the second folder
Sorry, you're right again, you must use Join Clips every time...
was used 6 for the second group!!!
This is useless (VOB ID 1 is always OK) since in step 8 you're going to edit every ID with MenuEdit (BTW, you seem to have some problems with this program ;) )

jorel
14th February 2004, 20:52
:o
Dave,this post is too big but i'm trying to write extreme details,ok?

thinking....."what i did wrong?!?!"
i trash everything and restart from zero.

rip the cartoon with dvddecrypter3190 (file mode)
and backup again in another folder....the files:
video_ts.bup --- 12k
video_ts.ifo --- 12k
vts_01_0.bup --- 42k
vts_01_0.ifo --- 42k
vts_01_0.vob --- 1,71mb - menu
vts_01_1.vob --- 0,99gb - main movie
vts_01_2.vob --- 155mb - main movie
vts_02_0.bup --- 14k
vts_02_0.ifo --- 14k
vts_02_0.vob --- 0 bytes
vts_02_1.vob --- 123mb - extras (3 little cartoons,~1 minute each)
vts_03_0.bup --- 20k
vts_03_0.ifo --- 20k
vts_03_0.vob --- 0 bytes
vts_03_1.vob --- 464mb - extras2(4 little cartoons,~9 minutes,30 seconds)

total size of the cartoon is 1,72gb !

step 1:
VTS_01_1.VOB with VOBEdit, click on Demux,....did ok and got:
vts_01_1.m2v --- 1,02gb - video
vts_01_1.80.ac3 --- 34,9mb - ac3-2 channels
vts_01_1.81.ac3 --- 69,4mb - ac3-5.1 channels
that was used to do the new mp2 file at 256 bitrate-48k(no resample):
vts_01_1.81.mp2 --- 46,3mb
all files are ok tested in powerdvd,winamp,soundforge!

steps 2 and 3:
vts_01_0.ifo in ifoedit(vts overview):
from pgc_1 to pgc_7
pgc_3 with 2 cells(01,02)
pgc_4 with 4 cells(01,02,03,04)
the remainders with 1 cell each
total 11 cells in 7 pcgs!
in vts_pgciti in ifoedit have (of course) 7 pgcs too.
the celltimes are the same posted that you correct for me!
(celltimes have 11 numbers like posted)

step 4:
ifoedit dvd author using all streams demuxed,
the new mp2 and celltimes that got:
vts_01_01.vob --- 0,99gb
vts_01_2.vob --- 202mb.
i open this vobs in powerdvd(as files)and the audio is out of sincro.
i load the ifos,select the 3 audios and they all are out of sincro too!
i did it before the new ifos and bups was trashed.

i open in vobedit the original vts_01_1.vob (ripped in hd)
and the new vts_01_1.vob (new with mp2) after step4 and got
using "get video/audio delay" :
original vts_01_1.vob:
video-delay:0
audio-delay id <80>:0

new vts_01_1.vob (new from step4):
video-delay:0
audio-delay id<80>:0
audio-delay id<81>:0
audio-delay id<c2>:0

then i stop cos i don't know where i did something wrong
and the reason of the 3 audios are out of sincro with the video!
if i follow the remainder of the guide,
i will got the menu working
but the audio out of sincro,like the last time that i did!
:confused:

thanks again Dave!
:)

Dave82
14th February 2004, 21:30
i open this vobs in powerdvd(as files)and the audio is out of sincro.
audio-delay id<80>:0
audio-delay id<81>:0
audio-delay id<c2>:0
:confused: I'm sorry, I really can't understand how VOBEdit could give you such information if the audio is out of synchro...
It's a stupid question, I know, but are you sure you didn't set any delay while authoring with IFOEdit?
Try to use ReJig to correct the A/V delay (even if VOBEdit says it's 0, just in case...)
if i follow the remainder of the guide,
i will got the menu working
At least I'm happy of that :)
I suggest also to try with another DVD and see what happens...

jorel
14th February 2004, 22:04
really thank you Dave!

....and yes,i didn't set any delay while authoring!
the menu is working ok and the main movie have 3 audios!
i will try with another dvd and post!
:)

ps:
you wrote:
"it's a stupid question, I know,..."
no,not stup...
all that i learn with this 3 progs was follow your guide.
before that, i don't knew anything about authoring dvds!
i thank you in the same way Dave!
my first steps with this progs was too big...
you have big patience and frienship!
:cool:

:)

Woodlake
16th February 2004, 05:58
Dave82,

Firstly - thanks for the guide :D
I have been playing with this for the last couple of days to see if I can get it to work, but I am having a couple of problems.
I chose a short Music DVD single to practice on - it has a couple of versions of a song and then some small 30sec clips. It is a multi PGC title BUT I think the reason I am having problems is that the vob/cell sequence is NOT in order. I have something like this;

PG1 v/c 1/1
PG2 v/c 6/1
PG3 v/c 2/1
PG4 v/c 3/1
PG5 v/c 4/1
PG6 v/c 5/1

It appears that when I strip the streams that they are stripped in PGC order? - so when I join the clips, everything apart from the first vob is out of order? I pressume this will also affect the way I should do the celltime.txt? - should I add cell times in "VOB order" rather than PGC order? When I look at the end results, my cells are not the same as the original.
My other problem is audio - all I did was to take the stripped audio stream (LPCM) and create a duplicate as an .ac3 file to see if I could add it. Now apart from the above problem, I find that with the default audio playing (the original) - it plays correctly but the VIDEO runs at twice normal speed!! If I switch to the ac3 track I added (on the fly) it play properly AND is in sync??
Any suggestions are welcome.....

Woodlake

jorel
16th February 2004, 20:41
Dave,

why dvd2avi project show -67ms audio-delay and
vobedit audio-delay id<80>:0 using the same source?

edited:
and ripping with smartripper i got the same -67ms!
rip method=files mode

***************
* Stream Info *
***************

Stream[001] X=[[0xE0] Video NTSC 720x480] [PTS 0:01:52] [Delay 0 ms] [@1] []
Stream[002] X=[[0x80] Audio Portugues AC3(2Ch) 48kHz ] [PTS 0:00:45] [Delay -67 ms] [@7] [192 kb/s]
Stream[003] X=[[0x81] Audio Portugues AC3(6Ch) 48kHz ] [PTS 0:00:45] [Delay -67 ms] [@6] [384 kb/s]
Stream[004] X=[[0x??] Others] [] [] [] []

:eek:

Dave82
17th February 2004, 21:02
I have edited the guide removing some (I think) useless stuff: please report if it still works (have a look at step 6,7,8,10).

@Woodlake
I don't know much about this stripping issue. To check what happened open your *.m2v with PowerDVD/WinDVD and see if your PGC 6/1 is in the same place as the original or has been moved to the end. If it's at the end just edit your CellTimes.txt appending the info from your 2nd PGC at the end. After demuxing by cellID rename the VOBs so that the last one becomes VTS_01_002 and the other ones (except the first one) are shifted by one. Then join the vobs (step 7) and it should be OK. Follow the other steps.
I find that with the default audio playing (the original) - it plays correctly but the VIDEO runs at twice normal speed!! If I switch to the ac3 track I added (on the fly) it play properly AND is in sync??
I'm afraid I can't help you with this, try to do what I suggested to you here, and see if this issue comes out again ;)

@jorel
I'm sorry, I've never used DVD2AVI, and I would like to know too why VOBEdit doesn't give the correct values...:confused:
Have you tried to reauthor with this delay? Is your project OK now?
BTW, jorel, are you a Smallville addicted like me? :p

2COOL
17th February 2004, 21:15
Originally posted by jorel
Dave,

why dvd2avi project show -67ms audio-delay and
vobedit audio-delay id<80>:0 using the same source?

edited:
and ripping with smartripper i got the same -67ms!
rip method=files mode

***************
* Stream Info *
***************

Stream[001] X=[[0xE0] Video NTSC 720x480] [PTS 0:01:52] [Delay 0 ms] [@1] []
Stream[002] X=[[0x80] Audio Portugues AC3(2Ch) 48kHz ] [PTS 0:00:45] [Delay -67 ms] [@7] [192 kb/s]
Stream[003] X=[[0x81] Audio Portugues AC3(6Ch) 48kHz ] [PTS 0:00:45] [Delay -67 ms] [@6] [384 kb/s]
Stream[004] X=[[0x??] Others] [] [] [] []

:eek:

@jorel

There's has been talk in past threads that VobEdit does not give out the right delay. My guess is that if ReJig is reporting the same delay as DVD2AVI and SmartRipper then, IMO, it is safe to assume that the delay of -67 is most likely true and I would go with that. ;)

jorel
18th February 2004, 02:05
Dave,
i'm a smallville addicted too but not a superman's father!
:p

2 cool,
welcome(back) to this tutor.
i search but not found where in past threads about vobedit's delay!
thanks for the information!
:)

@ Dave and 2 cool:
thanks in advance.

i did all again (no lazy here...:-) )

after step 4,using dvdauthor with rejig and/or ifoedit,
adjusting -67 or not using the adjust,
using the news or the old ifos and bups i got
the same error in sincro....
the audio remains coming round 3 seconds before the video!
and without the new audio channel...
only using the 2 originals .ac3!

:eek:

Woodlake
18th February 2004, 03:08
Thanks Dave82,

I will look into it some more....By the way, wasn't it determined earlier in the thread that step 7 should be "join clips" rather than "Join CellVobs files"?

Woodlake

OK - the navigation problems are solved - the celltimes.txt MUST be done in VobID order NOT PGC order.
Unfortunately, I still have my audio problems though. It's strange, it appears that IFOEDit doesnt like the LPCM audio track. If I do nothing apart from striping the video and audio out, then simply multiplex them together (using "Author new DVD") I have the problem with the video speed ??
Could someone please try to demux and multiplex a video and LPCM track (typically found on music DVD's) and see if they have any problems?

jorel
18th February 2004, 13:24
Woodlake wrote:
"... step 7 should be "join clips" rather than "Join CellVobs files"? "
right(works in my tests)

and

"... the celltimes.txt MUST be done in VobID order NOT PGC order."
here i'm lost.
where i got the celltimes.txt in vobid?
:o

thanks!
:)

Woodlake
18th February 2004, 13:49
Hi Jorel,

I guess I was unlucky and picked an odd DVD to try this on :D
The PGC's and VobId's are not in order and were structured like this:

PGC1 [Vob/Cell Id 1/1] [Frames 7130]
PGC2 [V/C Id 6/1] [Frames 6246]
PGC3 [V/C Id 2/1] [Frames 760]
PGC4 [V/C Id 3/1] [Frames 760]
PGC5 [V/C Id 4/1] [Frames 810]
PGC6 [V/C Id 5/1] [Frames 760]

Notice that VobId 6 is played 2nd. This means that my celltimes.txt would look like this:

VobId frames cell time celltime.txt
---------------------------------------------
1 7130 7130 7130
2 760 7130+760 7890
3 760 7890+760 8650
4 810 8650+810 9460
5 760 9460+760 10220
6 6246 10220+6246 16466
----------------------------------------------

I'm guessing that generally the VobId and PGC's are usually in sequence - but if you come across one like this at least you will know what to do now :D

Woodlake

Dave82
18th February 2004, 19:51
Originally posted by Woodlake
By the way, wasn't it determined earlier in the thread that step 7 should be "join clips" rather than "Join CellVobs files"?
That's because I moved the MenuEdit part to step 6, and so you need to do Join CellVob Files to keep the IDs you have adjusted. It's much easier this way, I removed all the group-in-folders part...

jorel
18th February 2004, 22:07
Dave,
another prog to demux the audio and video streams?
i think(but have doubt)that vobedit give the sincro error!

:)

Woodlake
19th February 2004, 02:41
That's because I moved the MenuEdit part to step 6, and so you need to do Join CellVob Files to keep the IDs you have adjusted. It's much easier this way, I removed all the group-in-folders part...

Thanks Dave82 - I didn't look at your edits close enough :D

For anyone that is following, it appears that the problem with using IfoEdit and PCM audio is a known problem - I found an old thread that covered the subbject here:

http://forum.doom9.org/showthread.php?threadid=38859&highlight=ifoedit+pcm

Unfortunately, it doesn't look like there is a solution...

Woodlake

jorel
19th February 2004, 14:05
@ Woodlake and Dave:
i did step 1 using vobrator (no vobedit),
was "very complicated".....(i never used vobrator before)
and from step2 to step4 like the guide and got
perfect sincro between audio(2*ac3 + new mp2) & video.
(not did at the final of the guide,
only using the .ifos and .vobs of this step in powerdvd)

for me,
----> vobedit give the error after step 1 (demux).

@ Dave:
no matter what dvd i use,
in all, i got less cells after step 5
than i find in the original VTS_01_0.IFO
that show the ifoedit overview.
the last movie(too big) have from
pg1 to pg13, pg12 have cell 12 and cell 13 and pg13 have cell 14,
after step 5 i got only 10 cells!
:confused:

sorry mate,
i can't find the reason!
:(

Woodlake
19th February 2004, 15:13
@Jorel,

I can't say I have had any problems with the streams demuxed by VobEdit. My problems are to do with putting the steams back together again with IfoEdit. Just to confirm that this is in fact the problem, you could use Media Player Classic and view the m2v and .ac3 files and see if they are in sync? As long as the video and audio have the same file name and are in the same folder eg "test.m2v" and "test.ac3" it will play them.

hxxp://www.doom9.org/Soft21/Players/mpc2kxp6478.zip

You might also want to try using DVDDecrypter in "ifo mode" and enable "stream processing" to demux instead of VobEdit? Again you can check the sync using Media Player.

As for the number of cells being incorrect, I really dont know??. The number of entries in your celltimes.txt file is the number of cells you should have? I pressume that you are putting this in the "Scene changes/chapter" section of the IfoEdit "DVD Author" section at Step 4?

Woodlake

jorel
20th February 2004, 01:29
ok,ok!
i try like you posted and all(well,not all) is ok(second dvd)

the first dvd(cartoon)used for test give sincro problems...
maybe the reason is that the first cell have only one audio...
(don't know ...maybe)could be?

the second dvd (big) don't have sincro problems
but cell(celltimes) problems:
ifoedit show as posted:
"pg1 to pg13, pg12 have cell 12 and cell 13 and pg13 have cell 14,
after step 5 i got only 10 cells!"
than i can't play the movie,only the menu(then close powerdvd).

from ifoedit:
PCG_1 :
pg 01 cell 01 v/c id:1/1
to
pg 11 cell 11 v/c id:1/11

pg 12 cell 12 v/c id:1/12
..........cell 13 v/c id:1/13

pg 13 cell 14 v/c id:2/1

PCG_2 :
pg 01 cell 01 v/c id:2/1

i loose somewhere cos i got only 10,see the log:
File VTS_01_001.VOB: [Vob/Cell Id: 1/1]
File VTS_01_002.VOB: [Vob/Cell Id: 1/2]
File VTS_01_003.VOB: [Vob/Cell Id: 1/3]
File VTS_01_004.VOB: [Vob/Cell Id: 1/4]
File VTS_01_005.VOB: [Vob/Cell Id: 1/5]
File VTS_01_006.VOB: [Vob/Cell Id: 1/6]
File VTS_01_007.VOB: [Vob/Cell Id: 1/7]
File VTS_01_008.VOB: [Vob/Cell Id: 1/8]
File VTS_01_009.VOB: [Vob/Cell Id: 1/9]
File VTS_01_010.VOB: [Vob/Cell Id: 1/10]

@ Dave
where are you?
your guide is great
(maybe the first for full movie with one more audio channel)
and only fews are posting
but have many views!
we are in the final step!
help us more!
thanks!
:)

@ 2cool,members and developers:
you're welcome too!
:)

jorel
20th February 2004, 01:37
here are the celltimes from the second movie:
PCG_1:
12136
24848
33206
44021
58400
67128
78296
91056
98587
110946
119684
119791
133606
133636

PCG_2:
30

!

Dave82
20th February 2004, 01:52
It seems like you have quite a capabilty of picking up particular DVDs! ;)
pg 13 cell 14 v/c id:2/1

PCG_2 :
pg 01 cell 01 v/c id:2/1
You see? You have the same short (about 1 sec) cell used twice.
I suppose they refer to it twice in the IFO, but infact there's just one of it in the vob. So when you reauthor, try to ignore the celltimes.txt from pgc 2, use just the one from pgc 1. At the end you should have 14 cells, just go along with the guide and you should be OK. Let me know if it works :)

jorel
20th February 2004, 18:20
ok Dave!
;)

i did like recomendations....
step 3
using only the Celltimes from PCG_1:
12136,24848,33206,44021,58400,67128,78296,
91056,98587,110946,119684,119791,133606,133636 !

log after step 5:
File VTS_01_001.VOB: [Vob/Cell Id: 1/1]
File VTS_01_002.VOB: [Vob/Cell Id: 1/2]
File VTS_01_003.VOB: [Vob/Cell Id: 1/3]
File VTS_01_004.VOB: [Vob/Cell Id: 1/4]
File VTS_01_005.VOB: [Vob/Cell Id: 1/5]
File VTS_01_006.VOB: [Vob/Cell Id: 1/6]
File VTS_01_007.VOB: [Vob/Cell Id: 1/7]
File VTS_01_008.VOB: [Vob/Cell Id: 1/8]
File VTS_01_009.VOB: [Vob/Cell Id: 1/9]
File VTS_01_010.VOB: [Vob/Cell Id: 1/10]

---> the same 10 vobs!
:eek:

i did at the final steps and the menu don't came .
than i play again (powerdvd) and "right click"
after the advertences and apresentations,
going to the "tree menu" and play the movie!
the new audio is there!

i check everything and did all again(2 times),Dave.
just the same!
:(

Dave82
20th February 2004, 19:13
I'm really confused...:confused:
I don't know how much this can be useful, but have a look at your 10 vobs and see what parts are missing.
BTW, did you remember to check "Demux entire titleset" in step 5?

jorel
20th February 2004, 19:29
Dave,
the 10 vobs have the complete full movie,
...just like the 4 original vobs!

and yes,
"CellID" and "Demux entire titleset" was checked in step 5!

when i open first vobcell in menuedit,
i have only one
vob id:1
cell id:1 (0 buttons)

and only one "vob id" in the 9 remainders!

Dave82
20th February 2004, 19:50
Originally posted by jorel
Dave,
the 10 vobs have the complete full movie,
...just like the 4 original vobs!
:eek: :confused:
I can't understand what's happening...
Try this: have a look at the IFOs created by IFOEdit when you author with the new audio track. Create a CellTimes.txt from VTS_01_0.IFO and compare it to the one obtained from the original titleset IFO. Maybe we'll understand something from the differences...

jorel
20th February 2004, 19:59
it's here:
from original ifo:
12136
24848
33206
44021
58400
67128
78296
91056
98587
110946
119684
119791
133606
133636

after the new audio track
(or without,only using the original audio,just the same)
IFOs created by IFOEdit :
12138
24857
33212
44031
58400
67132
78296
91065
98588
107811

!

Dave82
21st February 2004, 08:50
It seems there's a problem with IFOEdit, I don't know why it doesn't create cells as the celltimes.txt says, I'm sorry... and also confused, in the attempt I made with an authored movie of mine everything was OK :confused:

jorel
23rd February 2004, 03:44
Dave,
i was thinking:
don't have a way to demux the vobs as cells,
change the vob ids one by one,join clips and make a new ifo
for the main movie for use in the full movie?
...or something like this?

i can't desist, we walk a long road trying and testing!
:)

Luzipher
23rd February 2004, 05:50
I'd like to say that with extreme simple movies (no menues, just one PGC) it is sufficient to do steps 1 through 4.

And, what kept me busy quite a long time, was that my source DVD didn't contain a valid ac3 track - it played well, but IFOEdit didn't like it. I ad to reencode the exact same audio (ac3->mp3->ac3) to make it work. So check if the size of your movie after step4 really is enlarged by the new audio. :)

Eh, and thanks for the guide, Dave !

jorel
23rd February 2004, 09:00
Originally posted by jorel
[B]the movie have 7 vts_pcgs and his :
vts_pcg_1...406
vts_pcg_2...653
vts_pcg_3...160,2172
vts_pcg_4...12130,24902,37455,42659
vts_pcg_5...12130
vts_pcg_6...12772
vts_pcg_7...12553


Dave,some observations in ifoedit using vts_01_0.ifo:

vts_pcg_4 [cell 01] [vc id: 5/1] 06:44:10...[frames: 12130]
have the same value as
vts_pcg_5 [cell 01] [vc id: 5/1] 06:44:10...[frames: 12130]


vts_pcg_4 [cell 01] [vc id: 5/1] 06:44:10...frames: 12130
+
vts_pcg_6 [cell 01] [vc id: 6/1] 07:05:22...frames: 12272
= 13:50:02 and 24902 frames (same values of vts_pvg_4 cell 02)


vts_pcg_4 [cell 02] [vc id: 6/1] 06:44:10...frames: 24902
+
vts_pcg_7 [cell 01] [vc id: 7/1] 06:58:13...frames: 12553
= 20:48:15 and 37445 frames (same values of vts_pcg_4 cell 03)


see that:
vts_pcg_4 cell 01 have same numbers of frames and time of
vts_pcg_5

vts_pcg_4 cell 01 with vts_pcg_6 have the same frames and times as
vts_pcg_4 cell 02

vts_pcg_4 cell 01 with vts_pcg_7 have the same frames and time as
vts_pcg_4 cell 03

vts_pcg_4 have different value only in the
[cell 04] [vc id: 8/1] 02:53:14...frames 42659

i got 2 vobs(cells) from vts_pcg_3 and
one more of each vts_pcg (pcg_4 include).
that give me 8 vobs....
i see that vts_pcg_4 give me only one vob(cell)

maybe is the reason that i got only 8 vobs(cells)after step 5,don't?
could it be?

cool or lame?
:p

Dave82
23rd February 2004, 11:30
Originally posted by jorel
Dave,
i was thinking:
don't have a way to demux the vobs as cells,
change the vob ids one by one,join clips and make a new ifo
for the main movie for use in the full movie?
...or something like this?
Yeah, maybe it could work, but you would have to copy all command tables in the new ifo and if you had a menu you would have to merge menu tables...IMHO it seems a bit messy, but it's good to try everything! ;)
maybe is the reason that i got only 8 vobs(cells)after step 5,don't?
Very interesting...to confirm that, please post your VTS overview with all the V/C IDs and frames, like this:
[cell 04] [vc id: 8/1] 02:53:14...frames 42659
but for all of your PGCs.

@Luzipher
Welcome on Doom9's forum! :D
I'd like to say that with extreme simple movies (no menues, just one PGC) it is sufficient to do steps 1 through 4.
You're right, Luzipher, but actually yours is a complete reauthoring...;)

jorel
23rd February 2004, 13:07
@ Luzipher,
welcome in forum!
(sorry,i forgot in the last post to send welcome)
:)

Dave,
i got!
:D

i left the out:
vts_pgc_5 12130 45890+12130 58020
vts_pgc_6 12772 58020+12772 70792
vts_pgc_7 12553 70792+12553 83345

and use the only the first 8 :
vts_pgc_1 406 406 406
vts_pgc_2 653 406+653 1059
vts_pgc_3 160 1059+160 1219
2172 1059+2172 3231
vts_pgc_4 12130 3231+12130 15361
24902 3231+24902 28133
37455 3231+37455 40686
42659 3231+42659 45890

everything is working:
menu,chapters,extras,etc but
with a little problem...
audio running out of sincro round 5 seconds
(audio came first than video from cell 02 to cell 08!)
the end of the cell 02, have ~5 seconds of cell 03.
the same happen in the others cells,
the end of each have the begining of the next cell !

strange...the pcg_3 cell 01,have time00:05.10 seconds
like overall audio error in the final.

maybe the reason is that the first cell(advertences)
have only one audio track(080)(without sound but with a track).
i will try to change the audio in the 7 cells remainder
and left the first alone without change....waiting your opinion first!


see the cells from original .ifo:

pcg_1 (use vob ids: 1)
[cell 01] [vc id: 1/1] time00:13.16 pos: 00:13.16 frames 406

pcg_2 (use vob ids: 2)
[cell 01] [vc id: 2/1] time00:21.23 pos: 00:21.23 frames 653

pcg_3 (uses vob ids: 3,4)
[cell 01] [vc id: 3/1] time00:05.10 pos: 00:05.10 frames 160
[cell 02] [vc id: 4/1] time01:07.02 pos: 01:12.12 frames 2172

pcg_4 (use vob ids: 5,6,7,8)
[cell 01] [vc id: 5/1] time06:44.10 pos: 06:44.10 frames 12130
[cell 02] [vc id: 6/1] layer Br. time07:05.22 pos: 13:50.02 frames 24902
[cell 03] [vc id: 7/1] layer Br. time06:58.13 pos: 20:48.15 frames 37455
[cell 04] [vc id; 8/1] layer Br. time02:53.14 pos: 23:41.29 frames 42659

pcg_5 (use vob ids: 5)
[cell 01] [ vc id: 5/1] time06:44.10 pos: 06:44.10 frames 12130

pcg_6 (use vob ids:6)
[cell 01] [vc id: 6/1] time07:05.22 pos: 07:05.22 frames 12772

pcg_7 (use vob ids:7)
[cell 01] [vc id: 7/1] time06:58.13 pos: 06:58.13

* what means "layer Br" in pcg_4 ?

thanks Dave,the solution is the next step!
:)

Dave82
23rd February 2004, 14:36
and use the only the first 8
That's because actually the last 3 don't exist in the VOBs, they are just the first 3 cells in PGC 4 called for the second time by the IFO, so you have to ignore them when reauthoring.
audio running out of sincro round 5 seconds
Does this affect every audio stream?
maybe the reason is that the first cell(advertences)
have only one audio track(080)(without sound but with a track).
I don't think this is possible, since every part of a titleset must have the same audio/video features.
i will try to change the audio in the 7 cells remainder
and left the first alone without change....waiting your opinion first!
For the same reason you can't do that, you have to edit the audio stream of the entire titleset at once!
what means "layer Br" in pcg_4 ?
It stands for "Layer Break", but you don't need to care about it.

What's the delay information you get from VOBEdit? And from DVD2AVI or SmartRipper?

jorel
23rd February 2004, 14:50
"Does this affect every audio stream?"
yes Dave, all audios are wrong but
--->the error is a little different in each track!

"And from DVD2AVI or SmartRipper?"
dvd2avi delay -66ms !

Dave82
23rd February 2004, 17:42
Originally posted by jorel
audio running out of sincro round 5 seconds
(audio came first than video from cell 02 to cell 08!)
the end of the cell 02, have ~5 seconds of cell 03.
the same happen in the others cells,
the end of each have the begining of the next cell !

strange...the pcg_3 cell 01,have time00:05.10 seconds
like overall audio error in the final.
So I suppose all the audio for cell 3 shifted up at the end of cell 2, right?
What seems strange to me is that you said this delay starts from the end of cell 2. But what about cell 1? If cell times are correct and the audio comes 5 seconds before the right time, don't you have 5 sec. of cell 2 at the end of cell 1? Shouldn't the synchronization be wrong since the beginning?

jorel
23rd February 2004, 22:17
no,no Dave.
like i posted here before,
cell 01 have only one audio track(080-ac3 2 channels)
--->but in complete silence!

cell 02 to cell 08 have:
080 -ac3 2ch and
081 -ac3 5.1ch.

in the cell 2 the sound came before(out of sinc with the video
and remember that cell 1 is in complete silence)
in the final of each cell, when his own audio end,
came 5 seconds from the begining of the next cell!
the next cell in this case,came without the initial 5 seconds
of his own audio that was left in the previous cell.

the worse: the begining of cell 2 is silence too,
but the overall audio of cell 2 is out of sinc.
than i don't know if in the end of cell 1,
have the begining of cell 2....maybe yes.

ahhh....sorry my poor english Dave!
i was clear now or turn it all more confuse?
:o

if needed, i redo all again....no lazy here!
the percistence take us to success!
:)

Dave82
23rd February 2004, 22:53
cell 01 have only one audio track(080-ac3 2 channels)
Do you mean that when you watch your project with a software player, in the first cell there's just an available audio stream?
Really, I've never seen something like that, I've always thought it was not DVD-compliant...:confused:

jorel
23rd February 2004, 23:16
yes,it's true Dave.

see the time of cell 1 that i posted:
pcg_1 (use vob ids: 1)
[cell 01] [vc id: 1/1] time00:13.16 pos: 00:13.16 frames 406
cell 1 have only 13.16 seconds!
is the "advertences" like "FBI disclaimer"...in complete silence!

cell 2 is the "paramont presents"...little movie/logo with 21.23 seconds

cell 3 is the movie apresentation
one cell with 05.10 seconds and
another cell with 01minute and 12.12 seconds

than came the menu(between cell 3 and cell 4)
the menu is in vts_01_0.vob with 1,60mb size.

cell 4 have the 4 short cartoons that can be choosed in menu.

the extras,sound choices,etc are in another 2 vobs
(vts_02_1.vob and in vts_03_1.vob)

is strange but the "disclaimer" and "paramont"
are in the vts_01_1.vob and
cell 1(diclaimer),have only one audio track,
the remainders have 2 audio tracks!

:eek:
really confused dvd, don't?

ps:
i forgot...
i have another 4 differents dvds from the same cartoon producer.
the vobs have the same groups.
the menu,extras,sounds are the same too,
only change the stories of the cell 4 in vts_01_1.vob!

Dave82
23rd February 2004, 23:29
I'm just shooting in the dark, but when you ripped this DVD on your HD, did you checked the option "Remove PUOs"? In DVDDecrypter there are 2 kind of options: Remove IFO/BUP PUOs and Remove VOB PUOs, and you can find them in preferences ---> File mode / IFO mode / ISO Read mode.
Try checking all of them: maybe the second audio track is just "locked".
Let me know.

jorel
23rd February 2004, 23:45
no Dave, no one of them.
was ripped as "mode-file" and the remainders adjusts as "default".
Remove IFO/BUP PUOs and Remove VOB PUOs are default unchecked!

i'm ripping the dvd again like your recomendations!
thanks.
:)

Luzipher
24th February 2004, 06:18
sorry, OT.
thanks for the welcome, guys :)

and well, it's probably neither reauthored nor retail. :devil:

jorel
24th February 2004, 18:28
Dave,
i "trash" everything and re start from zero!
did the rip like posted and in the final....
:(
just the same...out of sincro!

now i will do like i told you:
demux the vobs as cells,
then i left alone the cell 1 and
do the "job" from cell 2 to cell 8
with the new audio to see what happens,ok?
:)

jorel
24th February 2004, 19:29
hey Dave,

what i did(works for a while):
pass 1 of the guide like posted....

--->then left alone the cell 1 in another folder.

renamed the vts_01_002.vob to vts_01_008.vob
as vts_01_1.vob to vts_01_7.vob !
did the new audio mp2!

pass 4 of the guide (new dvd author)without celltimes
using the 3 audios and the .m2v files!

the result was open in powerdvd
opening (dvd from hd,not as file)using the video_ts.ifo
created after pass 4 (new dvd author):

perfect sincro in all the movie with the 3 audios !
:cool:

..now,i'm thinking:
how i "clue" it all together with the cell 1 (first part)?!?!
:p

Dave82
24th February 2004, 21:01
Originally posted by jorel
pass 4 of the guide (new dvd author)without celltimes
using the 3 audios and the .m2v files!
Use a celltimes.txt instead: take the celltimes.txt created as explained in step 3, delete the first value and subtract it from all the following values. Then open your authored VOBs with MenuEdit and change the V/C IDs to reproduce the original sequence (but of course starting from cell 2, since you left cell 1 in another folder).
Adjust in the same way the V/C ID in cell 1 (it should already be 1/1).
Cell 1 should be already named VTS_01_001.VOB, then rename the new authored VOBs (with the new audio) starting from VTS_01_002.VOB.
Open VTS_01_001.VOB and Join CellVob Files.
Follow steps 8 to 11 in the guide.
I'm not sure it's going to work, but give it a try ;)

jorel
24th February 2004, 21:28
Dave,i was waiting for you than i did without
use menuedit but the chapters are in differents points.
the remainder is ok!
now i'm doing like you posted!
:)