VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member rkr1958's Avatar
    Join Date
    Feb 2002
    Location
    Huntsville, AL, USA
    Search Comp PM
    Am I handling Audio Delay Correctly? Any potential A/V Sync Issues?
    Here's what I'm doing.

    1. I'm converting VHS tapes to DVD via VCR to Hauppauge USB2 external capture card.

    2. Video is 720 x 480. VBR w/max = 6000 kbps & average determined by run time of the video to fit on a SL DVDR.

    3. Audio is MPEG1 layer 2 at 384 kbps. I plan to convert this audio to ac3 at 192 kbps, which gives me a little more bit rate for the video. However, the biggest reason I want to convert is in order to clean it up using Goldware.

    4. After capture, I use DGIndex to generate a d2v file and to extract the audio.

    5. I then use VirtualDub to open the d2v file w/audio via an avs script and then save the audio as an wav file for cleanup with Goldwave.

    6. Here is an example of the avs script that I use,
    Originally Posted by AVS Script
    LoadPlugin(plugin_dir+"DGDecode.dll")
    LoadPlugin(plugin_dir+"mpasource.dll")

    # source video.
    video = MPEG2Source("__20071202_100632.d2v").ConvertToRGB

    # load & add audio
    audio = MPASource("__20071202_100632 T01 DELAY -44ms.mpa").DelayAudio(-0.044)
    # AudioDub(video,audio)
    AudioDub(video,audio)

    # Get Info (Load file in VirtualDub)
    # info()
    7. Does my method, as illustrated by the above script, properly account for audio delay?

    8. After clean up, including volume adjustment, using Goldwave, I use ffmpeggui to encode the audio to ac3 at 192 kbps.

    9. I author using TDA 1.6.

    10. In addition whether or not I'm correctly handing the audio delay, are there any other things in my method that might cause audio/video sync issues?
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I use Delaycut, which autofixes errors in the .mpa file and fixes the delay automatically as well.

    FixMPA.bat
    Code:
    for %%a in ("*.mpa") do delaycut -fixcrc silence -auto -out "%%~na.mp2" "%%a"
    Then, add the .mp2 file to the avisynth script WITHOUT delayaudio


    Or, you can automate it further, decoding to WAV and normalizing the audio via command line

    Code:
    for %%a in ("*.mpa") do delaycut -fixcrc silence -auto -out "%%~na.mp2" "%%a"
    for %%a in ("*.mp2") do ffmpeg -i "%%a" -vn -ac 2 -y "aud-%%~na.wav"
    for %%b in ("*.wav") do normalize -l 0 --peak -v "%%b"


    normalize.rar
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!