Log in

View Full Version : Audio file doesn't match with the video


unix
28th June 2018, 10:47
Hey guys!

I gotta bad time with the audio file that I'm still working on !_!

I encoded the video file with this commands:

v = core.d2v.Source("BS11.ts.d2v").vivtc.VFM(order=1,mode=0).vivtc.VDecimate()
out = v.std.Trim(693,4097)+v.std.Trim(5536,22726)+v.std.Trim(24884,38694)+v.std.Trim(40133,40733)
final = out.set_output()

after that I worked on the audio file, when I extracted it with "D2VWitch.exe", and it mentioned with the audio file name that there's a delay ".....delay-203 ms"
but in the ts. file mediainfo of audio its written that the dealy is -360,

I tried encoding the audio with both number (-203) & (-360),but the Audion doesn't match with the video :confused:

script.avs:

Trim(693,4097)++Trim(5536,22726)++Trim(24884,38694)++Trim(40133,40733)

bat trim:
vfr.py -i "audio-203ms.aac" -o "output.mka" -d -203 -f 24000/1001 -vmr script.avs


This is my first time encoding ts file with VapS. did i made any mistake?

tebasuna51
28th June 2018, 12:02
Please show the full "script.avs" or ask in VapourSynth forum.

I think than:
v = core.d2v.Source("BS11.ts.d2v").vivtc.VFM(order=1,mode=4).vivtc.VDecimate()
change the number of frames of your video and the Trim can't be equivalent for the audio.

But maybe I'm wrong because I don't know well VapourSynth, without audio support AFAIK.

unix
28th June 2018, 13:17
gonna ask in VapourSynth forum.

Thanx.