View Full Version : PAL to NTSC out of sync
magboy
30th March 2011, 22:30
I've tried several programs (Avi2Dvd, FavC, DivXtoDvd, seems like one more???) to convert a mkv file to dvd and in every attempt the audio is not sync'ing, so I'm assuming the conversion programs are not at fault, but that I'm missing a setting or four. Anyone with experience in this area?
sneaker_ger
31st March 2011, 10:39
A cause could be a variable framerate which most programs do not take care of.
Try creating an AviSynth script that looks like this (needs ffmpegsource plugin (http://code.google.com/p/ffmpegsource/)):
audio=ffaudiosource("source.mkv")
video=ffvideosource("source.mkv", fpsnum=25, fpsden=1)
AudioDub(video, audio)
Ghitulescu
31st March 2011, 12:40
I've tried several programs ... to convert a mkv file to dvd and in every attempt the audio is not sync'ing, so I'm assuming the conversion programs are not at fault, but that I'm missing a setting or four. Anyone with experience in this area?
Define not sync'ing.
magboy
31st March 2011, 13:34
Thanx, sneaker_ger. I installed a plugin in FavC and the routine crashes with the error Error: Could not find PCM audio track in "E:\Temp\Working Folder 4\Title0.avs". Any quick tips or must I take crash course in AviSynth?
Ghitulescu, the audio is out of synchronization with the video.
Thanx, GL
Ghitulescu
31st March 2011, 14:02
Ghitulescu, the audio is out of synchronization with the video.
I know English, but thanx for the accurate translation.
Could you then define the audio is out of synchronization with the video?
To avoid recursive Q/A sessions a hint is probably needed:
- audio loses gradually synch
- audio is "before" of "after" video with exactly the same delay
- audio is sometimes before, sometimes after, or the delay is not fixed
- combinations of the 3
Each symptom has a cause and one or more cures.
sneaker_ger
31st March 2011, 14:19
Thanx, sneaker_ger. I installed a plugin in FavC and the routine crashes with the error Error: Could not find PCM audio track in "E:\Temp\Working Folder 4\Title0.avs". Any quick tips or must I take crash course in AviSynth?
Ghitulescu, the audio is out of synchronization with the video.
Thanx, GL
The plugin consists of the three files "ffms2.dll", "ffmsindex.exe" and "ffms2.avsi". Copy those three files to you AviSynth plugin folder, which is usually to be found in "C:\Program Files (x86)\AviSynth 2.5\plugins".
Open Windows' notepad, copy the code from my last post into it and save it as "source.avs" in the same directory as the source.mkv file. Then open "source.avs" with FAVC.
magboy
31st March 2011, 19:01
sneaker_ger, I am getting a favc error "favc is unable to process the following files:" which points to the avs file I created. This file is named video6.avs and the video file is video6.mkv. I placed this in the source video box, was it meant to go into the advanced scripting section?
Ghitulescu, the audio appears to be constant throughout before the video.7
sneaker_ger
31st March 2011, 20:14
sneaker_ger, I am getting a favc error "favc is unable to process the following files:" which points to the avs file I created. This file is named video6.avs and the video file is video6.mkv. I placed this in the source video box, was it meant to go into the advanced scripting section?
No, you used the correct box. Try previewing your script in Media Player Classic (or the DirectShow player of your choice) to see if it is working correctly.
If it is working correctly try using AVStoDVD (http://sites.google.com/site/avstodvdmain/home), as FAVC is deprecated. Set it to NTSC in the preferences on the video tab.
magboy
31st March 2011, 22:38
sneaker_ger, I installed AVStoDVD and I can't get it to work on my 64 bit OS (Windows 7). Is there another prog you think I could try? (I take it the script is working properly, but I do get an error in the video, stating "there is no function named 'ffaudiosource'")
sneaker_ger
31st March 2011, 23:00
The plugin consists of the three files "ffms2.dll", "ffmsindex.exe" and "ffms2.avsi". Copy those three files to you AviSynth plugin folder, which is usually to be found in "C:\Program Files (x86)\AviSynth 2.5\plugins".
Do this first.
magboy
31st March 2011, 23:23
sneaker_ger, These files are in the AviSynth plugins folder when it fails.
sneaker_ger
31st March 2011, 23:27
Make sure you use the 32 bit version of the plug-in (http://ffmpegsource.googlecode.com/files/ffms2-mt-r452.7z).
magboy
31st March 2011, 23:48
reinstalled from your link, re-ran and still get error stating 'error reading *avs file'
sneaker_ger
1st April 2011, 08:26
But do you still get the error "there is no function named 'ffaudiosource"? And is the avs file sync?
I personally can't run FAVC on my win 7 x64 (and a short google search reveals others have the same problem), but AVStoDVD works just fine. Be more specific than "I can't get it to work".
You may also ask the author of AVStoDVD directly, as he is active on this forum and has a thread for the program (http://forum.doom9.org/showthread.php?t=126647).
magboy
1st April 2011, 14:57
sneaker_ger, Thanx for your help (and patience--more than my usual share of priorities have interrupted this back-and-forth process). I uninstalled the registry version of AVStoDVD and used the "no install" version, and initially, at least, have resolution to this sync issue.
Thanx, too, for your jumping in, Ghitulescu.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.