digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Length of DVD audio and video is different ? (http://www.digitalfaq.com/archives/encode/13895-length-dvd-audio.html)

swr1973 10-19-2005 07:41 AM

Length of DVD audio and video is different ?
 
Hello,

i am trying to convert some PAL DVD to KDVD and have with one Movie a problem (while the others worked great).

I made a d2v with DGIndex1.4.5. It gives me the following Information about the Film:

Type: PAL
FPS: 25
Progressive
Resolution: 720x576

i try to encode them with the following script (Size: 702x576, KDVD-Template, TMPEG):

#------------------------------------------------
Mpeg2Source("movie.d2v",cpu=4,idct=7)
ConvertToYV12()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
BicubicResize(672,304,0,0.6,0,71,720,434)
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
AddBorders(16,136,16,136)
#-----------------------------------------------

After that i encode it with TMPEG and get a 2GB File.
I want to author them with the original AC3 (with has a delay of 5ms) via DVDLabPro.

When i now have a watch at the produced video and audio stream, the video stream is about 2min's longer than the audio and it results in a total async.

Can please someone give me a hint what i do wrong ? Why in the hell is the length of audio and video different ?

Thanks and best regards
Sven

Dialhot 10-19-2005 07:58 AM

The ac3 is the one extracted with DGIndex, while you compiled the d2v ?

Try to extract the ac3 directly from the vobs (with vob edit) and compare the lenghts.

Two minutes it's long !

swr1973 10-19-2005 08:11 AM

Thank you for your reply. Yes, the ac3 is the one extracted with DGIndex.
I will try to extract audio with vob edit and give you the result.

Best regards
sven

Dialhot 10-19-2005 08:15 AM

Note: why do you use a script designed to deal with avi source when you have a DVD as source ?

For instance, remove the "blindPP" line, it is useless ("cpu=4" does the same in the mpeg2source line).

swr1973 10-19-2005 08:51 AM

Hello,

i use this script cause for me the resulted qualtity seems to be a little bit better. The film is quiet old and a little noisy.
But you are welcome to help me with some better script.

I have now demuxed audio with vob-edit. Result is still the same.

Movie-Length : 1:25:02
Audio Length: 1:23:29

I really don't understand whats going on here....

Regards
Sven

swr1973 10-19-2005 09:53 AM

Hello,

maybe i have found some hint.
When i preview the DVD in DGIndex The first seconds it show me the source as "Interlaced" (this is the whole "Pubolisher"-Logo) . When Main-Movie starts the source-type is "Progressive".

Can this be a Problem ? Can this really result in 2 MInutes difference ?

Edit: This seems not to be the probem... Other DVD's which i encoded successfully display's the publisher-logo also as "interlaced" and the film itself as "progressive". So this is not the problem

Regards
Sven

Dialhot 10-19-2005 10:56 AM

Quote:

Originally Posted by swr1973
Movie-Length : 1:25:02
Audio Length: 1:23:29

Is this movie the one encoded by tmpgenc or the length of the m2v stream isolated by vobedit ?

To be clear, can you give :

m2v length of tempgenc encoded movie
m2v length of vobedit demuxed movie

ac3 length of dgindex demuxed audio
ac3 length of vobedit demuxed audio

Can you also give the total frame number reported by tmpgenc ?

Prodater64 10-19-2005 11:31 AM

Quote:

Originally Posted by swr1973
Hello,

i use this script cause for me the resulted qualtity seems to be a little bit better. The film is quiet old and a little noisy.
But you are welcome to help me with some better script.

I have now demuxed audio with vob-edit. Result is still the same.

Movie-Length : 1:25:02
Audio Length: 1:23:29

I really don't understand whats going on here....

Regards
Sven

Test this script:

http://www.kvcd.net/forum/viewtopic....ovedust#120527

About your async problem do your project with dvd2avidg and see if the extracted audio match with the video time. This is to discard a DGIndex problem.
As PAL most time is progressive, do your project with none option in dvd2avidg video menu.
Anyway, preview your ripped vob, specially high motion scenes and see if interlaced artifacts are present (combing lines).

swr1973 10-19-2005 11:39 AM

Hello,

now things getting strange. Here are the results:

Quote:

m2v length of tempgenc encoded movie:
1:25:09

Quote:

m2v length of vobedit demuxed movie
1:05:19

Quote:

ac3 length of dgindex demuxed audio
1:23:29

Quote:

ac3 length of vobedit demuxed audio
1:23:29

Quote:

Can you also give the total frame number reported by tmpgenc ?
142126



I hope this will make things clearer. Why is the vobedit-m2v shorter in time ? If i view it with vlc, film is complete.


Thank you for your help.

Best regards
Sven

swr1973 10-19-2005 01:19 PM

Hello,

i have now cutted the main-movie part with dgindex and demuxed the video and audio.
Now the length of audio and video is identical. It seems that the part before main-movie and afterwards was made differrent somehow.
So i will encode main-movie and hopefully be happy.

Thank you anyway.
Sven

Dialhot 10-19-2005 01:29 PM

Just to clarify that :
Quote:

Quote:
m2v length of tempgenc encoded movie:

1:25:09

Quote:
m2v length of vobedit demuxed movie

1:05:19
It seems to me that your movie has multipla angles. This can explain that (vobedit does not handle angles), and this can also explain the diff between video and audio length : the audio is not duplicate for the two angles but the video is.

Prodater64 10-19-2005 01:46 PM

If the original vob is loaded in DVDLab Pro, it will ask for demultiplexing (if you didn't change the original config).
So do it, wait for a while and you will have video and audio streams demuxed.
Then compare playing times.

Boulder 10-19-2005 03:06 PM

Quote:

Originally Posted by Dialhot
Just to clarify that :
Quote:

Quote:
m2v length of tempgenc encoded movie:

1:25:09

Quote:
m2v length of vobedit demuxed movie

1:05:19
It seems to me that your movie has multipla angles. This can explain that (vobedit does not handle angles), and this can also explain the diff between video and audio length : the audio is not duplicate for the two angles but the video is.

If this is true, DVD Decrypter can be set to strip all the other angles but one.

swr1973 10-21-2005 03:55 AM

Thank everyone for the help. Problem is now solved.
After cutting main-movie part with dgindex and reencode, everything is in sync now.

Best regards
Sven


All times are GMT -5. The time now is 09:48 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.