How to change frame rates using Avisynth with audio in sync?
I have some Divx/Xvid files with unusual frame rates such as 19.2 fps, 24.3 fps, 30 fps. I need to convert them to NTSC compatible frame rates such as 23.976 fps or 29.97 fps while keeping the audio in sync. How can I do this with Avisynth? What are the command lines? I'm gonna use the scripts with CCE to convert to MPEG-2.
|
Try besweet, download the GUI too!
http://dspguru.doom9.org/ |
No need to use a guide : use tmpgenc for encofing both audio AND video together. All will be in synch.
|
Quote:
|
Will it still be in synch if you set tmpgenc to call toolame for audio?
|
Quote:
|
It is a good idea to use the AssumeFPS function in Avisynth. So you use the same frames as in the original and do not do framerate conversion on video.
Then, use Besweet to change framerate of audio stream. Of course, you will have to encode the audio and video separately, and the lenght of the movie may change a little, but as for me, this is still the best way. Hope it helps. Gaudi |
Inserting AssumeFPS in my NTSC AVI scripts cause an illegal pointer error in TMPGENC (avisynth 2.53) ??
|
And that do not do anything on my PC (I just did it yesterday).
|
AssumeFPS(25) is Ok
AssumeFPS(25.000,true) generates illegal pointer error, this syntax seems to be ok with the documentation so what was wrong ? |
Which Audio codec contains your source??? This may cause your problem.
|
Quote:
|
The source codec is Divx5
I've a toshiba sd210 DVD player on an old TV set that does not support NTSC ! That's why, I want to do NTSC2PAL (on old cartoons for my sons) I've just try assumefps(25) and audio is out of sync |
Quote:
Quote:
|
The old tv set does not support RGB.
Anyway, with an 23.9 fps signal, the video can't be synchronized on frames ( in french: le balayage autre que 25 fps n'est pas supporté et l'image défile) For assumeFPS, the correct syntax is assumeFPS(25, true), is it OK ? |
Quote:
I never see a TV set that do not handle it (at least in France, as other countries do not have scart). Quote:
Quote:
|
It's a very old TV set (1981) and no PAL support
Thx for all dialhot |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.