Log in

View Full Version : how to correct audio delay in mpa file?...help


oldpainless
17th July 2002, 07:54
Help plz......audio delay after demuxing captured video

Hi.......i hope this is not off topic...it is to do with audio

I have the WinTV Nova T Pci card. Captures digital TV great onto hard drive and I can play back via windvd fine...no sync inssues, however:

If i use dvd2avi to create a project file (for use in CCE), it names the audio mpa file with a delay. If I recode the video file, and mux them back together, its out of sync. How can I fix this......with an AC3 file I just run ac3 corrector....but cannot find a solution for an mpa file. Can anyone help?

For info i have:

PIII - 667
128mb ram
G-Force 2 with 64mg ram
Via motherboard
XP Pro

I loaded my captured file in dvd2avi - Channel 4 - 2002,07,16 17,27,46.mpg

Save project and process mpeg audio - ended up with:

test MPA T01 DELAY -534ms.mpa
test.d2v


hope this helps

cheers

kevin

lightwave90@btopenworld.com

tiki4
17th July 2002, 08:43
How do you mux audio and video in the end? If you mux in bbMPEG you are able to choose different audio and video delay values. Just delay the video by the -534 ms relative to the audio. This means if you have something like audio preload 180 ms (which is default as far as I know) choose (180 + 534) ms for the delay of the MPEG2 video stream.

Hope that helps.

tiki4

oldpainless
17th July 2002, 08:49
cheers......will try and report back.

kev

DSPguru
17th July 2002, 16:27
Originally posted by oldpainless
test MPA T01 DELAY -534ms.mpa http://forum.doom9.org/showthread.php?s=&threadid=15738
q24.

oldpainless
17th July 2002, 18:02
Cheers

Im kinda new to this....I have downloaded Besplit and the GUI...thanks.....how do I now fix the delay using the gui...or do I need to use command promt


cheers

kevin

DSPguru
17th July 2002, 18:33
command prompt. type = mpa.
Originally posted by DSPguru
24. BeSplit. How am I supposed to deal with a delay of say -500msec ?
BeSplit -core( -input original.ac3 -prefix e:\track -type ac3 -ending ) -split( 0.500 )

oldpainless
17th July 2002, 18:54
tried this...........what did I do wrong......


C:\BeSplit -core ( - c:\ test-438ms.mpa - c:\track -type mpa -ending ) -split( 0.438)



any help would be great...



cheers

kevin

DSPguru
17th July 2002, 21:05
here's your commandline :C:\BeSplit -core( -input c:\test-438ms.mpa -prefix c:\track -type mpa -ending -logfile besplit.txt ) -split( 0.438 )
and please post besplit.txt :logfile:

oldpainless
17th July 2002, 23:05
Many thanks for all your help......works a treat!!

Regards

Kevin

DSPguru
18th July 2002, 05:01
Originally posted by oldpainless
Many thanks for all your help......works a treat!!great ! can we see the logfile.. ?

oldpainless
18th July 2002, 08:26
Logfile txt:


BeSplit v0.7 logfile.
--------------------------
Logging start : 07/17/02 , 23:11:39.

C:\BeSplit.exe -core( -input f:\wintv\test-486ms.mpa -prefix f:\wintv\track -type mpa -ending -logfile besplit.txt ) -split( 0.486 )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : f:\wintv\test-486ms.mpa
[00:00:00:000] | Output Prefix : f:\wintv\track
[00:00:00:000] +---------------------
[00:00:00:504] | Found starting address !
[00:00:10:536] | Writing f:\wintv\track01.mpa
[00:00:10:536] +---------------------
[00:00:10:536] Operation Completed !
[00:00:00:000] <-- Process Duration
Logging ends : 07/17/02 , 23:11:39.


thanks for all your help

Kevin

oldpainless
18th July 2002, 09:03
took the command and created a bat file. That way I just need to edit the bat and run in future.

Thanks


Kevin

DSPguru
18th July 2002, 16:40
very nice..