PDA

View Full Version : WMV -> AVS -> CCE sync issues advice needed.


Elbart0-
2nd January 2007, 13:17
I have converted quite a few WMV files to MPEG2 using CCE/Avisynth to make them into dvds without much trouble. But now I am having problems with a couple of them going out of sync. I have tried lots of different versions of Avisynth without any luck, when playing the wmv in media player via avs script using DirectShowSource they are out of sync but if I skip ahead and then go back it is in sync.

I gave up in the end and tried TMPGEnc which doesn't have sync problems but the video quality is so poor in comparison and I cannot stop it from stretching the video no matter what settings I use.

So really I want to find a way of fixing the sync problem with Avisynth or possible convert the WMV to AVI without losing any picture quality and then running that through CCE. I have heard about conversions that don't lose any quality but is it possible with wmv files? and if so does anyone have any recommendations on how to do this?.

Cheers Elbart0-.

foxyshadis
2nd January 2007, 14:23
What is your script, exactly? You should be using fps=...,convertfps=true in DirectShowSource. Where fps is 24, 30, or whatever the natural framerate of the video is. Otherwise wmv (as well as mkv) can go out of sync, for certain VFR files.

Elbart0-
2nd January 2007, 14:46
Hi my script is,

DirectShowSource("file.wmv")
ConvertToYV12(interlaced=true)
ResampleAudio(44100)

The wmv's are 29.97fps.

hanfrunz
2nd January 2007, 17:10
wmv files can have different framerates in a file, maybe yours is such a file. i think there was a thread where this was disscussed, try search.

Elbart0-
6th January 2007, 16:05
Thanks for your help guys I have now sorted this problem but have a new one which I have posted here. (http://forum.doom9.org/showthread.php?p=927152#post927152) :)