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.
Is there anyway I can keep the video and audio in sync without having to manually adjust the audio timing?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()
Thanks.
+ Reply to Thread
Results 1 to 9 of 9
-
-
when you demux the audio, the delay value will be written in the name
enter that value for DelayAudio() -
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.
-
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 -
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). -
Similar Threads
-
Audio syncing problem...
By Huntr777 in forum MacReplies: 3Last Post: 1st Aug 2011, 16:30 -
Audio Syncing Issues
By Alexstarfire in forum AudioReplies: 6Last Post: 4th Jul 2010, 03:49 -
Syncing and adding to audio?
By architectofpain in forum AudioReplies: 2Last Post: 20th Jun 2009, 02:03 -
Audio Syncing issue
By jmclean69 in forum DVD RippingReplies: 15Last Post: 4th Feb 2009, 15:34 -
audio syncing
By projecttemp in forum AudioReplies: 3Last Post: 9th Apr 2008, 21:11