VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hello, I recently attempted to make a d2v project file from a transport stream to use with the TIVTC filter for Avisynth. However, it seems to offset the video by about half a second ahead of the audio.

    Here is my avs script.
    d2vpath = "C:\example.d2v"
    aacpath = "C:\example.ts"

    video=MPEG2Source(d2vpath)
    audio=DirectShowSource(aacpath)
    AudioDub(video,audio)

    tfm(d2v=d2vpath)
    tdecimate(mode=1)

    ConvertFPS(23.976)
    Trim(1023,3170)
    Crop(4,0,-4,-0).Spline36Resize(1280,720)
    ConvertToYV12()
    Is there anyway I can keep the video and audio in sync without having to manually adjust the audio timing?
    Thanks.
    Quote Quote  
  2. when you demux the audio, the delay value will be written in the name

    enter that value for DelayAudio()
    Quote Quote  
  3. That did the trick, thanks.
    Quote Quote  
  4. Originally Posted by poisondeathray View Post
    when you demux the audio, the delay value will be written in the name
    How accurate is said delay value? DGIndex, MediaInfo, and tsMuxer are all giving me different delay values within ranges of about 50ms.
    Quote Quote  
  5. 50ms isn't much but I, for one, would trust the delay value given by DGIndex.
    Quote Quote  
  6. I'm also using AVC transport streams and DGAVCIndex is buggy and won't load a ts with an AAC audio stream, so I need an accurate alternative to DGIndex. I know 50ms isn't much but it's enough to bother me.
    Quote Quote  
  7. DGAVCIndex is supposed to be able to demux AAC audio, but since I don't mess with TS much, maybe someone else can help.

    And if you've really found bugs, I'm sure the author would like to hear about them:

    http://forum.doom9.org/forumdisplay.php?f=5
    Quote Quote  
  8. I get a run time error when I load the TS along with the audio stream, the video stream by itself loads fine.

    Despite that, it seems overkill to have to demux each time with DGIndex just to find a delay value. So honestly, working or not I'd rather not have to use DGIndex, it's a much quicker process just analyzing it with a tool like MediaInfo. But if DGIndex really is the most accurate method then I'm willing to take those extra steps (if I can even get DGAVCIndex to work).
    Quote Quote  
  9. Originally Posted by Norio View Post
    Despite that, it seems overkill to have to demux each time with DGIndex just to find a delay value..
    The main reason for using DGIndex is to get the D2V file then used in an AviSynth script to frameserve to your encoder. The demuxing is just incidental and I don't even ordinarily use it for that. I usually use PGCDemux for demuxing all the assets from a DVD.
    Quote Quote  



Similar Threads

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