digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: PAL to NTSC? (http://www.digitalfaq.com/archives/avisynth/8783-avisynth-pal-ntsc.html)

arana 03-24-2004 07:31 PM

Avisynth: PAL to NTSC?
 
ok i was checkingg this site

http://www.dvfilm.com/atlantis/compare.htm

there is some pal videos i need to convert
i was trying to use tmpgenc alone but results are pure crap
is there a way to do the same as this tool using avisynth?

or at least do what this one does
aDVanced PAL-NTSC converter
http://www.focusinfo.com/products/fi.../dvcsuite.html

please iif you can point me to the script for doing this both ways (ntsc->pal and pal->ntsc) with the least quality loss ill appreciate it and im sure many people will do as well.

kwag 03-24-2004 07:39 PM

arana,

Read here: http://www.avisynth.org/index.php?page=FPS
Remember that you're going to have to adjust the audio, to compensate for the frequency change.

-kwag

arana 03-24-2004 07:54 PM

gracias kwag


has any one done this the other way (link shows a ntsc->pal wich seems ok) but at the moment i need to go pal->ntsc

dunno if just changing the same script with diff fps values will be enough, i dont want to be doing this for long and hours later have a crap result due to my zero knowledge of avisynth lol

kwag 03-24-2004 08:07 PM

The best way is to try a small clip :idea:
Encode a couple of minutes, and try it on your standalone.
This way, if it bombs, you don't loose too much time :)

-kwag

incredible 03-25-2004 04:01 AM

@ Arana

What youre trying to do...

convert 25fps interlaced pal to 29.97interlaced ntsc?

or

25fps progressive pal to 23.976 progressive ntsc?


In case of progressive DON't change the audio speed via simple pitch as that will end up in a low tone audio track.

So in case of progressive pal to progressive ntsc do this:

Code:

AssumeFPS(23.976)
TimeStretch(tempo=(100.0*23.976)/25.000)

In case of pal to ntsc interlaced (the 3:2 pulldown):

Code:

AssumeFPS(23.976)
TimeStretch(tempo=(100.0*23.976)/25.000)
SelectEvery(2,0,0,0,1,1).SeparateFields().SelectEvery(4,1,2).Weave()


bman 03-25-2004 10:50 AM

@ Incredible
U are really INCREDIBLE !!!!
bman

incredible 03-25-2004 11:51 AM

:wink:

But you should first do a preview in Vdub or Zoomplayer WHERE YOU CAN LISTEN THE AUDIO ... as there have been a few user reports in doom9.org that the time stretch routine "could" cuase issues to the stereo signal.
If that causes, then you should delete that timestretch() line and first safe the audio as wav to disk. Then loead it into GoldWeave i.e. and do a timestretch there as it also gots that function.

Dialhot 03-25-2004 12:43 PM

I wonder where does people in NTSC area find video in PAL format, and what they are;

Because I just want to make you keep in mind that if you are doing a US movie that was edited on a PAL DVD, and you want to encode the original (english) audio stream, then you DON'T HAVE to "timestrench" it.
The audio was already fasten up when doing the NTSC->PAL original DVD. I never heard a DVD using timestrenching.
So when you convert back to NTSC you just restore the original audio speed :-)

incredible 03-25-2004 01:16 PM

If a original NTSC-Country-Audiotrack is delivered with the source then this is totally correct.

arana 03-25-2004 08:04 PM

its 25p to ntsc film incredible, ty

btw this was born as pal, not a usa dvd , not a dvd at all



what does assumfps really do????
just adjust speed of frames? or is there something more in it?

Dialhot 03-25-2004 08:07 PM

No, assumefps does not do anything but telling to the encoder : this video must be played at that framerate.

That is not like ChangeFPS that actually adds or removes frames to stick to the framerate you want.

incredible 03-26-2004 03:59 AM

AssumeFPS(23.976) does change the duration of the frames and therefore the durantion of the movie, means just a pitch where NO Frames will be added or deleted where in comparison this will be done by ChangeFPS() or ConvertFPS().

By this a movie plays (in this case) slower cause all frames of the movie just will be played back at 23.976 frames per second.
Thats why the Audio wouldn't match if you wouldn't post-process it via speedup or Timestretch.

In our Case of KVCD Work for 99% there's no need to do FPS Conversation but if needed a FPS assuming via Avisynth.

Conversion by ChangeFPS() means always a deep change in the fps architecture and therefore framecount. Even a 3:2 Pulldown won't be done by ChangeFPS().

BTW: In case of Avisynth Command questions ALWAYS do a look at avisynth.org .... there's everything very well explained and it wount hurt to have a look there :wink:


All times are GMT -5. The time now is 09:29 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.