View Full Version : Convert NTSC to PAL using AviSynth ?
arminio
27th May 2004, 10:29
I have pretty tricky situation: I have MPEG in NTSC format and the same thing in PAL format. Now, I want to add audio from NTSC file to PAL video (because of different languages used in audo streams) and make new DVD out of it.
I need to convert audio from NTSC file to fit to PAL framerate - is it possible to do that with AVISynth, and, if it is, how ?
There is no problem if I must convert video and audio (I'll use only audio at end) ... just need some tips how to do it.
Also, if AVISynth can do that, does it do that by changing speed of placyback or it does time stretching with preserved pitch (it will not be good if audio sounds faster) ?
Does some other tool can adapt audio (SoundForge or something else) ?
killingspree
27th May 2004, 16:08
try those functions:
http://www.avisynth.org/index.php?page=AssumeSampleRate
http://www.avisynth.org/index.php?page=TimeStretch
i personally would probably rather use besweet for the conversion!
cheers
steVe
N.B. As appears at the bottom of the TimeStretch link above, this function is only present in AviSynth 2.55alpha which can be downloaded here:
http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html
Also, Virtual Dub has a function in the audio filters which will stretch the file but the pitch will change accordingly. However, I have not personally had occasion to try either yet. But looking forward to giving them a try. These are really neat because the last time I had this problem neither fix was available, so had to download a trial version of Cool Edit, and install it on my PC, bloat! But , for some reason, it wouldn't work correctly until I reinstalled Cool Edit on its own drive. Now 6 months or so later we have 2 methods, and this Time Stretch even preserves the pitch, wow!
Originally posted by killingspree
try those functions:
http://www.avisynth.org/index.php?page=AssumeSampleRate
http://www.avisynth.org/index.php?page=TimeStretch
i personally would probably rather use besweet for the conversion!
I'd have said he should use the SoundStretch binary that comes as a demo for the SoundTouch library, but since the last version of BeSweet incorporates SoundTouch I guess that's the way to go - works like a charm for 23.976 to 25FPS conversions. :)
np: Autechre - Overand (Tri Repetae)
arminio
28th May 2004, 08:24
Originally posted by Leak
I'd have said he should use the SoundStretch binary that comes as a demo for the SoundTouch library, but since the last version of BeSweet incorporates SoundTouch I guess that's the way to go - works like a charm for 23.976 to 25FPS conversions. :)
np: Autechre - Overand (Tri Repetae)
I just tried BeSweet - it works fine but it change speed without preserving pitch so sound is a bit faster...
Originally posted by arminio
I just tried BeSweet - it works fine but it change speed without preserving pitch so sound is a bit faster...
Just checking, but you DID use BeSweet v1.5b28 and something like
-soundtouch(-tempo 4.2709376)
which keeps the pitch constant and not
-ota(-r 23976 25000)
which just adjusts the playback speed of the audio?
(That 4.2709... is calculated this way: (25.0/23.976-1.0)*100.0)
np: Autophonic - Mind The Dot (MAS Confusion comp.)
arminio
30th May 2004, 19:09
I used -ota(-r 23976 25000)
I'll try -soundtouch option because it looks like the right thing.
Thanks!
DSPguru
1st June 2004, 15:39
Originally posted by arminio
I used -ota(-r 23976 25000)
I'll try -soundtouch option because it looks like the right thing.
Thanks! you better use -soundtouch (http://dspguru.notrace.dk/soundtouch.html)( -r 23976 25000 )
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.