PDA

View Full Version : Convert 25.00fps->29.970->23.976


apk
10th January 2007, 01:13
Hello,

I was not sure which section to put this in, hope this is the right one.

I have many music videos on dvd. The particular one i am trying to convert to xvid at the moment was shot in NTSC and has been badly converted to PAL at the production end. If the DVD was NTSC then i could just IVTC the videos but as they are heavily interlaced and badly converted the end results are poor. :(

I was wandering if there was a method to take the 25.00fps to 29.970fps so i could then IVTC and bring the videos down to 23.976fps, i dont mind about losing sync with the audio - that can easily be fixed.

I have been backing up DVD's for a long time and am used to bad conversions, this one just really annoys me.

Hope someone can help :)

thanks :D

apk
11th January 2007, 18:11
i know how to take from 29 to 23 but its the 25 to 29 part without making it look "jumpy"

Mug Funky
12th January 2007, 07:49
as they are heavily interlaced and badly converted the end results are poor

you'd rather they sped up your music and brought up the pitch by a semitone?

give this a try: it's not very tested, but worked on a couple of movies that had been converted from NTSC to PAL.

function unconvertPAL (clip c)
{
c.tdeint(1,1,mtnmode=1,expand=4,tryweave=true,cthresh=8,mi=12,type=2).vinverse()#,edeint=Interp).vinverse()
global clippidoo=last
global edge=clippidoo.mt_edge(mode="prewitt",thy1=0,thy2=255,y=3,u=-128,v=-128).levels(0,.25,255,0,255,coring=false)
scriptclip(clippidoo,""" edge.averageluma() < edge.selectevery(1,-1).averageluma() && edge.averageluma() < edge.selectevery(1,1).averageluma() ? clippidoo.ydifferencefromprevious() > clippidoo.ydifferencetonext() ? clippidoo.selectevery(1,1) : clippidoo.selectevery(1,-1) : clippidoo """)
changefps(60000,1001)
tdecimate(cycleR=6,cycle=10)
}

this should output 23.976 fps. if there's any non-film content in the original NTSC it'll have spoiled motion (you can't win them all).


[edit]

you should also try "restore24" and some of the other "un-blending" techniques out there :search:

apk
12th January 2007, 12:59
thanks for the reply - where do i load that script? :p

krieger2005
12th January 2007, 13:20
At the same place where you can find it ;) (it's not that hard).

BTW: If your source is blended than you can also try MOmonster's Crestore.

apk
14th January 2007, 20:13
cant you please just tell me. would i load that into avisynth or vdub or something?
thanks

neuron2
15th January 2007, 03:11
You put that function into your avisynth script and then call it. Maybe like this:

function unconvertPAL (clip c)
{
c.tdeint(1,1,mtnmode=1,expand=4,tryweave=true,cthresh=8,mi=12,type=2).vinverse()#,edeint=Interp).vinverse()
global clippidoo=last
global edge=clippidoo.mt_edge(mode="prewitt",thy1=0,thy2=255,y=3,u=-128,v=-128).levels(0,.25,255,0,255,coring=false)
scriptclip(clippidoo,""" edge.averageluma() < edge.selectevery(1,-1).averageluma() && edge.averageluma() < edge.selectevery(1,1).averageluma() ? clippidoo.ydifferencefromprevious() > clippidoo.ydifferencetonext() ? clippidoo.selectevery(1,1) : clippidoo.selectevery(1,-1) : clippidoo """)
changefps(60000,1001)
tdecimate(cycleR=6,cycle=10)
}

vid=mpeg2source("yourd2v.d2v")
unconvertPAL(vid)

apk
15th January 2007, 13:33
thanks, im going to try that :)

apk
3rd February 2007, 19:46
didnt have much luck with that :( - thank you anyway