View Full Version : Pal to NTSC with QT being source
bokas
2nd November 2008, 22:03
I've read all the threads here but Im having no luck converting a Quicktime progressive Pal to a NTSC file. I've done a few but when bringing in my avs into Vdub it's choppy. I'm going to start from the beginning in hope someone can give me guidance. For a QT source what would I usually do is seperate the audio and video to use the QT scripts and my avisynth scripts but I'm dealing wth Pal now. Thanks for any help on this.
# Created by AVSEdit
# Owner 12/3/2005
LoadPlugin("S:\_Software\_AVISYNTH\QTSource_0_0_5a_bin\QTSource.dll")
QTInput("E:\mymovie.mov")
Changefps(29.97)
AssumeFrameBased
SeparateFields SelectEvery(8, 0,1, 2,3,2, 5,4, 7,6,7)
Weave
LanczosResize(720,480)
Alex_ander
2nd November 2008, 22:30
The correct filter order for what you are trying to do would be:
1. Resize your progressive source
2. Change framerate
3. Interlace
E.g.:
LoadPlugin("S:\_Software\_AVISYNTH\QTSource_0_0_5a_bin\QTSource.dll")
QTInput("E:\mymovie.mov")
LanczosResize(720,480)
ChangeFPS(59.94)
AssumeBFF().DoubleWeave().SelectEvery(4,1)# encode TFF 29.97
Alternatively, you can use just this:
LoadPlugin("S:\_Software\_AVISYNTH\QTSource_0_0_5a_bin\QTSource.dll")
QTInput("E:\mymovie.mov")
LanczosResize(720,480)
then encode for 25 fps progressive and apply DGPulldown with 25 -> 29.97 setting to elementary video.
bokas
2nd November 2008, 22:52
Thanks Alex. I converted it and rendered it out of Vdub but it plays back very slow and there's no audio that's happening to the file either. Any idea why?
Alex_ander
2nd November 2008, 23:18
Which script did you use and is this intended for MPEG2 (you are resizing to DVD's numbers)? What is the audio type by MediaInfo and do you see audio just after the opening line (if you put info() there)?
bokas
2nd November 2008, 23:33
I used the first one you posted. All I want is an avi file as my final output. The audio type from the Quicktime file in medai info reads
1536kbps, 48 khz, 2 channels , PCM (Big/Signed).
I'm not sure I follow you about the opening line you are talking about.
Alex_ander
3rd November 2008, 07:01
I meant this:
LoadPlugin("S:\_Software\_AVISYNTH\QTSource_0_0_5a_bin\QTSource.dll")
QTInput("E:\mymovie.mov")
info()
The video details (incl. audio parameters) will be displayed on screen and you'll see whether the missing audio is imported from the file by QTSource (I don't know whether QTSource should work with audio).
What do you mean by 'slow' (are there too many repeated frames)? Does media info show 25fps?
Instead of the line:
AssumeBFF().DoubleWeave().SelectEvery(4,1)
try these two:
AssumeTFF().SeparateFields()
SelectEvery(4,0,3).Weave()
It's generally the same, but in case of multiple repeated frames after ChangeFPS() there might be some difference.
If you want an avi (for computer display?) then why are you resizing to 720x480 (this is 3:2, not 4:3), use 640x480 instead. Also for PC display you don't need conversion of PAL to NTSC especially since there's no simple way to keep video progressive. Which encoder did you use, does it support interlacing?
bokas
4th November 2008, 07:44
Hey Alex
No it's not for computer display. And I was taking my avs into vdub to check things out and when I play it with vdub it lags. Let me try the other thing you mentioned. Thanks
Gavino
4th November 2008, 11:33
I converted it and rendered it out of Vdub but it plays back very slow and there's no audio...
By default, audio is disabled in QTInput. To get audio, you need to use
QTInput("E:\mymovie.mov", audio=true)
Even then, you need to have Quicktime 7 installed. Audio is completely disabled for Quicktime 6.
bokas
5th November 2008, 20:07
I meant this:
LoadPlugin("S:\_Software\_AVISYNTH\QTSource_0_0_5a_bin\QTSource.dll")
QTInput("E:\mymovie.mov")
info()
The video details (incl. audio parameters) will be displayed on screen and you'll see whether the missing audio is imported from the file by QTSource (I don't know whether QTSource should work with audio).
What do you mean by 'slow' (are there too many repeated frames)? Does media info show 25fps?
Instead of the line:
try these two:
AssumeTFF().SeparateFields()
SelectEvery(4,0,3).Weave()
It's generally the same, but in case of multiple repeated frames after ChangeFPS() there might be some difference.
If you want an avi (for computer display?) then why are you resizing to 720x480 (this is 3:2, not 4:3), use 640x480 instead. Also for PC display you don't need conversion of PAL to NTSC especially since there's no simple way to keep video progressive. Which encoder did you use, does it support interlacing?
I did enter the info() and and it shows yuy2, 25fps, audio channels 2, sample type: integer 32bit and sample per seconds 48000.
When I bring my avs to Link2 it reads the parameters fine but the video is still slow. It like the audio finished so much faster and the person talking is in slow motion. I converted it using After Effects but I'm sure Avisynth does a better job. any other ideas? Thanks
Alex_ander
5th November 2008, 21:35
What will info() read for fps in the very end of the script? Did you replace 29.97 (which was in your initial script) with 59.94 in ChangeFPS()?
bokas
7th November 2008, 23:17
info for the original reads 25fps and when I use the script it does read 2997 on the output but it still doesn't look right. Really strange as I feel this should of been easily done and maybe it's the source? But then again the source plays just find on 25 fps.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.