View Full Version : PAL deinterlacing/ivct
Dreassica
11th May 2002, 23:57
Anyone know a good setting to covert a interlaced PAL 25 FPS source to 23.976fps and deinterlaced properly (the least blurry), I know there isn't an ideal seting, but any suggestions are welcome.
I tried decimating but the closest i got to the desired Framerate was with decimate(cycle=24)and i tried AssumeFPS(23.976)and it looks like its working, but i don't know if it actually changes it to that rate or that it omly forces the application running the script to report that Framerate.
TRILIGHT
12th May 2002, 00:18
Hey Dreassica! Check the final script I used. I posted it here...
http://forum.doom9.org/showthread.php?s=&threadid=24747
You'll need to change the cycle since you're using PAL instead of NTSC but I found it resulted in GREAT output. I think PAL uses a decimate cycle of 2 but I'd have to check the decomb help file to be sure. Hope this helps. It worked wonders for my interlaced problem.
Dreassica
12th May 2002, 01:11
It turns my framerate at 12.5??
i want it at 23.976, how is it done otherwise then?
I read the same thing as u did, for PAL it's decimate=2
TRILIGHT
12th May 2002, 01:17
Find pulldown.exe and use the following command...
pulldown.exe inputfile.mpv outputfile.mpv -nopulldown -framerate 23.976
That should convert your mpeg file to a 23.976 fps framerate.
Dreassica
12th May 2002, 01:35
Where can i find that exe file then?
hakko504
12th May 2002, 01:49
I wrote this script a couple of days ago, but I haven't had time to test it properly yet. It should work though.
LoadPlugin("decomb.dll")
Loadplugin("GreedyHAM.dll")
LoadPlugin("mpeg2dec.dll")
#Parameters:
#PALmode 0 interlaced
# 1 progressive (including fieldshifted progressive)
#FILMmode 0 leaves output at 24fps
# 1 slows output to 23.976fps
#ConversionMode 0 drops frames (keeping length of movie)
# 1 slows clip down (keeping framecount)
function PAL2FILM(clip clip, int PALmode, int FILMmode, int conversionmode)
{
p=default(PALmode,0)
f=default(FILMmode,1)
c=default(conversionmode,1)
Assert(((p==0)||(p==1))&&((f==0)||(f==1))&&((c==0)||(c==1)),"Not a valid mode!")
clip1=(p==0)?clip.GreedyHMA(1,0,0,0,0,0,0,0):clip.Telecide(guide=2,blend=false)
clip2=(c==0)?clip1.Decimate(cycle=25):clip1
clip3=(f==0)?clip2.AssumeFps(24):clip2.AssumeFps(23.976)
return clip3
}
video=mpeg2source("yourfilm.d2v")
PAL2FILM(video,1,1,0)
I didn't quite get the defaults to work so call it with all parameters.
The first parameter tells the function whether you have a progressive or interlaced PAL source. Interlaced sources will be deinterlaced (with GreedyHMA). Second parameter tells the script if you want FILM at 24 or 23.976fps. For NTSC compatible FILM use 23.976. This will require a manual slowing of the audio. Third parameter tells if you should only slow the clip down or remove some frames. Again, slowing down the video means that the audio must be slowed down too.
DJ Bobo
12th May 2002, 01:59
I suggest the following
...
LoadPlugin("...\decomb.dll")
...
FieldDeinterlace()
AssumeFPS(23.976)
...
It is as easy as that. (you must also slow down audio: divide original audio length by 23.976 and multiply by 25)
NB: there is no PAL IVTC, this doesn't exist.
TRILIGHT
12th May 2002, 02:08
Originally posted by Dreassica
Where can i find that exe file then?
I got mine here...
http://home.concepts.nl/~hzon00008/bin/pulldown.zip
As for the "FieldDeinterlace()" command, I personally had problems with it on my source material. It created the weird "stop motion" type blurring that my other post mentioned. This was not resolved until I used the Telecide and Decimate commands.
Dreassica
12th May 2002, 10:59
I suggest the following
...
LoadPlugin("...\decomb.dll")
...
FieldDeinterlace()
AssumeFPS(23.976)
...
It is as easy as that. (you must also slow down audio: divide original audio length by 23.976 and multiply by 25)
So i can just use the assumeFPS command without any penalties in quality, because the audiu timing changing isn't a problem.
And can't i just use that command in combination with the telecide command instead of the fielddeinterlace one?
DJ Bobo
12th May 2002, 23:57
AssumeFPS hasn't impact on quality, it just changes the framerate (it slows down the video a bit, nothing more)
And yes, if you find that Telecide is more suited that FieldDeinterlace on your video, use Telecide of course, but no Decimate!
As said, there is no PAL IVTC.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.