Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th March 2011, 22:30   #1  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
PAL to NTSC out of sync

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?
magboy is offline   Reply With Quote
Old 31st March 2011, 10:39   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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):
Code:
audio=ffaudiosource("source.mkv")
video=ffvideosource("source.mkv", fpsnum=25, fpsden=1)
AudioDub(video, audio)
sneaker_ger is offline   Reply With Quote
Old 31st March 2011, 12:40   #3  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
Quote:
Originally Posted by magboy View Post
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.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 31st March 2011, 13:34   #4  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
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
magboy is offline   Reply With Quote
Old 31st March 2011, 14:02   #5  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
Quote:
Originally Posted by magboy View Post
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.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 31st March 2011, 14:19   #6  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by magboy View Post
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.
sneaker_ger is offline   Reply With Quote
Old 31st March 2011, 19:01   #7  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
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
magboy is offline   Reply With Quote
Old 31st March 2011, 20:14   #8  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by magboy View Post
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, as FAVC is deprecated. Set it to NTSC in the preferences on the video tab.
sneaker_ger is offline   Reply With Quote
Old 31st March 2011, 22:38   #9  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
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'")

Last edited by magboy; 31st March 2011 at 22:44.
magboy is offline   Reply With Quote
Old 31st March 2011, 23:00   #10  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by sneaker_ger View Post
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.
sneaker_ger is offline   Reply With Quote
Old 31st March 2011, 23:23   #11  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
sneaker_ger, These files are in the AviSynth plugins folder when it fails.
magboy is offline   Reply With Quote
Old 31st March 2011, 23:27   #12  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Make sure you use the 32 bit version of the plug-in.
sneaker_ger is offline   Reply With Quote
Old 31st March 2011, 23:48   #13  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
reinstalled from your link, re-ran and still get error stating 'error reading *avs file'
magboy is offline   Reply With Quote
Old 1st April 2011, 08:26   #14  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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.
sneaker_ger is offline   Reply With Quote
Old 1st April 2011, 14:57   #15  |  Link
magboy
General Lee
 
Join Date: Mar 2011
Location: Piedmont area of NC
Posts: 7
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.
magboy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.