INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

PAL to NTSC, NTSC to PAL framerate conversion?

Forum Index -> Video -> Video Conversion Printer-friendly version
Goto page Previous  1, 2
Reply to topic
Author Message
AlecWest
Slow but sure...


Joined: 23 Mar 2002
Location: Location: Location: NTSC

Post Posted: Sep 27, 2006 21:26 Posts Comp View users profile Send private message Reply with quote

manono wrote:
But you didn't answer fritzi93's question. If telecined film, they can be IVTC'd back to 23.976fps before the PAL conversion, for much better results. If you don't know how to answer the question, or don't understand the question, then it's in your best interests to learn. Just know that if converting 29.97->25fps when you could be converting 23.976->25fps, you are unnecessarily ruining your videos.

Fair enough. I assumed a different definition to "telecined." With an MPEG2 file in front of me, how do I tell if it's telecined?
_________________
Reporter: Mr. Hitchcock, is it true you said that actors are like cattle?

Alfred Hitchcock: I said no such thing. I said that actors should be treated like cattle.


manono
Member


Joined: 28 Aug 2003

Post Posted: Sep 27, 2006 22:39 Posts View users profile Send private message Reply with quote

Hi-

Open it in something where you can advance a frame at a time without it being deinterlaced. VDubMod can handle it, I think. Scroll to a place with motion/movement. Advance a frame at a time. If, in every 5 frame sequence, you see 3 good progressive frames and 2 nasty-looking interlaced frames, then it has been telecined and can and should be IVTC'd before the conversion. If every frame is interlaced, then it was shot with interlaced 30fps video cameras, wasn't telecined, and can't be IVTC'd. If these are movies we're talking about, then almost certainly the true framerate is 23.976fps.

By the way, you can also open your Procoder encoded PAL MPV, M2V, or VOBs the same way and have a look at the frames one-by-one. Do you like what you see?


AlecWest
Slow but sure...


Joined: 23 Mar 2002
Location: Location: Location: NTSC

Post Posted: Sep 27, 2006 22:50 Posts Comp View users profile Send private message Reply with quote

manono wrote:
Hi-

Open it in something where you can advance a frame at a time without it being deinterlaced. VDubMod can handle it, I think. Scroll to a place with motion/movement. Advance a frame at a time. If, in every 5 frame sequence, you see 3 good progressive frames and 2 nasty-looking interlaced frames, then it has been telecined and can and should be IVTC'd before the conversion. If every frame is interlaced, then it was shot with interlaced 30fps video cameras, wasn't telecined, and can't be IVTC'd. If these are movies we're talking about, then almost certainly the true framerate is 23.976fps.

TV captures on my Hauppauge card, 29.97. But, I will try your suggestion. Surely, converting from 23.976 to 25 would take less time and be less messy. Thanks.

manono wrote:
By the way, you can also open your Procoder encoded PAL MPV, M2V, or VOBs the same way and have a look at the frames one-by-one. Do you like what you see?

Well ... I can't do it right now. It's busy encoding (grin). But, I do know I like what I see in the end result as it plays. wink.gif
_________________
Reporter: Mr. Hitchcock, is it true you said that actors are like cattle?

Alfred Hitchcock: I said no such thing. I said that actors should be treated like cattle.


klode
Member


Joined: 19 Feb 2004
Location: Italy

Post Posted: Aug 27, 2008 09:00 Posts Comp View users profile Send private message Reply with quote

I'm studying for the best Avisynth Script for conversion PAL->NTSC. I've this script that it makes a 29.97 FILM to 23.976 NTSC deinterlaced:

Code:

#The commented commands are only for view the difference between filters.

LoadPlugin("AviSynth_C.dll")
LoadCPlugin("SmartDecimate.dll")
dgdecode_mpeg2source("dolby_city.d2v")
ConvertToYUY2(interlaced=true)
AssumeTFF()
#GreedyHMA(1,0,4,0,0,0,0,0)
w=doubleweave()
b=dgBob(order=1)
SmartDecimate(24,60,bob=b,weave=w)
TomsMoComp(-1,3,1)
#SmoothDeinterlace(tff=true,lacethresh=10,doublerate=true,blend=true)


Although, this script have yet some little artifacts.

Now, for make a good PAL movie, what can I do?
I think that append this part of script:

[code]
ChangeFPS(50).SelectEven()
LanczosResize(720,576)
[code]

the results is a quite-good PAL solution, except for one doubled frame every xx frames.

Any solution for this one?


guns1inger
Member


Joined: 01 Apr 2004
Location: Miskatonic U

Post Posted: Aug 27, 2008 19:13 Posts Comp View users profile Send private message Reply with quote

Assuming the output is an mpeg-2 video stream for DVD authoring;

Solution 1 : encode at 720 x 576 @ 23.976 fps. Use DGPulldown to apply a custom pulldown for 23.976 -> 25 fps. Author and test play. Most players should be happy with this, some may not.

Solution 2 : speed up the framerate to 25 fps, then time and ptch adjust the audio to match the new running time. Author and play.

Solution 3 : Don't bother. The majority of PAL players will happily play NTSC material, and it saves you a lot of work and the unavoidable loss of quality if you don't convert the video unnecessarily.
_________________
The views expressed in this post are mine alone, unless plagiarised from others
Read my new blog here


Alex_ander
Member


Joined: 12 Oct 2006
Location: Russian Federation

Post Posted: Aug 27, 2008 23:47 Posts Comp View users profile Send private message Reply with quote

klode wrote:

the results is a quite-good PAL solution, except for one doubled frame every xx frames.
Any solution for this one?

Try this plugin (MVFlowFPS function instead of ChangeFPS):
http://avisynth.org.ru/mvtools/mvtools.html
It interpolates all frames for new framerate.

For 23.976 to interlaced PAL:

Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=50, den=1, ml=100, idx=1)
AssumeBFF.DoubleWeave().SelectEvery(4,1)#TFF output

For 23.976 to progressive PAL:
Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=25, den=1, ml=100, idx=1)


sisquo76
Member


Joined: 09 Jan 2009
Location: Bosnia and Herzegovina

Post Posted: Jan 09, 2009 08:06 Posts Comp View users profile Send private message Reply with quote

Alex_ander wrote:
klode wrote:

the results is a quite-good PAL solution, except for one doubled frame every xx frames.
Any solution for this one?

Try this plugin (MVFlowFPS function instead of ChangeFPS):
http://avisynth.org.ru/mvtools/mvtools.html
It interpolates all frames for new framerate.

For 23.976 to interlaced PAL:

Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=50, den=1, ml=100, idx=1)
AssumeBFF.DoubleWeave().SelectEvery(4,1)#TFF output

For 23.976 to progressive PAL:
Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=25, den=1, ml=100, idx=1)


Alex_ander, I think this is pro solution for framerate conversion and thank you very much, this is what I was looking for.


tsuyoshi85
Member


Joined: 07 Aug 2009
Location: Florence, Italy

Post Posted: Aug 08, 2009 13:34 Posts Comp View users profile Send private message Reply with quote

sisquo76 wrote:
Alex_ander wrote:
klode wrote:

the results is a quite-good PAL solution, except for one doubled frame every xx frames.
Any solution for this one?

Try this plugin (MVFlowFPS function instead of ChangeFPS):
http://avisynth.org.ru/mvtools/mvtools.html
It interpolates all frames for new framerate.

For 23.976 to interlaced PAL:

Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=50, den=1, ml=100, idx=1)
AssumeBFF.DoubleWeave().SelectEvery(4,1)#TFF output

For 23.976 to progressive PAL:
Code:

LoadPlugin("path\mvtools.dll")
AviSource("video.avi")
source=LanczosResize(720,576)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
source.MVFlowFps(backward_vec, forward_vec, num=25, den=1, ml=100, idx=1)


Alex_ander, I think this is pro solution for framerate conversion and thank you very much, this is what I was looking for.


I have just tried both of the scripts and unfortunately have to say that never would i have expected such unprofessional results. Original video is literally modified!

If you have a progressive NTSC video (23.976 fps), these are the best solution to me:

If you want a progressive PAL video (the most spread method here in PAL land), apply a speed up (and audio pitch is never to be changed!!! just sped up). Here's the script:

Code:
mpeg2source("1.d2v") #if your source is an mpeg2 file
tfm() #in order to get rid of possible interlaced frames left
assumefps(25) #to speed up. (25,true) if you are loading audio and video together. In that case, remember to add this line: SSRC(48000).
lanczos4resize(720,576) # resizes video to full D1 PAL resolution


If you want an interlaced PAL video, in order to preserve the speed (used here by minor home video companies since this method should be avoided indeed), here's the best solution to me:

Code:
mpeg2source("1.d2v") #if your source is an mpeg2 file
tfm() #in order to get rid of possible interlaced frames left
lanczos4resize(720,576) # resizes video to full D1 PAL resolution
convertfps(50) #converts framerate to 50 fps, since interlaced PAL is 50 fields per second
separatefields.selectevery(4,0,3) # for bottom field first (usually top is first) change to (4,1,2)
weave
converttoyuy2(interlaced=true)


Let me know what you think.
_________________
Tsuyoshi


Reply to topic All times are GMT - 6 Hours
Goto page Previous  1, 2
Forum Index -> Video -> Video Conversion Page 2 of 2





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics