PDA

View Full Version : NTSC DVD(720x480) to PAL DVD (720x576) resize or borders?


pankov
24th August 2002, 17:39
I'm trying to convert a few NTSC .vobs to PAL. I know I'll have some frame rate problems but if suppose I find a solution to this what should I do with the aspect ratio?
The NTSC trailers are both in 4:3 and 16:9 anamorphic. To convert them to PAL should I only add black bars to fill the whole 576 height or should I use resize to 720x576?
Can someone give me a good explaination and if possible a avisynth script?

HarryM
24th August 2002, 18:03
Originally posted by pankov
I'm trying to convert a few NTSC .vobs to PAL. I know I'll have some frame rate problems but if suppose I find a solution to this what should I do with the aspect ratio?
The NTSC trailers are both in 4:3 and 16:9 anamorphic. To convert them to PAL should I only add black bars to fill the whole 576 height or should I use resize to 720x576?
Can someone give me a good explaination and if possible a avisynth script?

You MUST use resize from 720x480 to 720x576.
You must re-fps from 23.976 fps (NTSC movie) to 25 fps (PAL) too.

Movie get about cca 5% quicker (sorry), but this needed for playing in PAL systems.

hakko504
24th August 2002, 23:11
I created a FILM2PAL conversion function a while ago. you can find it in an attachment called bob.zip in this thread (http://forum.doom9.org/showthread.php?s=&threadid=31924)
sample usage:Import(bob.avs) #I assume the most common filters to be present in GKnot lib
#You still might have to remove a few of the first lines
#if you don't have all filters installed.
#Greedy and decomb are required however.
video=mpeg2source(dvd.d2v) #Setmemory line is only useful if you have
BicubicResize(720,576,0,0.5)#a relly new version of AVIsynth.
FILM2PAL(video,0) #Speeds up the video to PAL speed
#remember to adjust audio manually.

pankov
26th August 2002, 08:49
@hakko504
I've downloaded the bob.zip and used tried to use it but I got an error complaing about the parameters of GreedyBob function
!?!?
I looked at your script and found that in NTSC2PAL there is only one param in the call of GreedyBob. I have no idea but the default value doesn't work
!?!?
I tried it three different version of avisynth (2.05, 2.04 and 1.06) but the same error
:(
Can someone explain me how the default values for params work?

I fixed the script and used it. I wasn't satisfied with the results
:(
I got a good video - no speed problems (no jumps or so) but the image quality wasn't as good as I expected. I suppose the resize function made it this way. I tried VirtualDub's bicubic resize and gave better results. Can reproduce these results in avisynth scripts?

Another question:
Which programme and settings should I use to reencode the avisynth stream to MPEG-2 so I can import it in DVDMaestro?
I have TMPGEnc but don't know what settings should I use
Can someone help me? Has any one done this before?

hakko504
26th August 2002, 08:57
I'm sorry about the mistake with only one parameter to the GreedyBob call. Somewhere the deafult function stopped working as intended, probably on the change from 1.05 to 1.06, because I know it worked a while ago. I thought I had changed all calls, but as I don't use these functions very often, I must have missed this occasion. I mostly do DivX and then framerateconversions are not necessary. I'll post a bug-report on the sourceforge project page. (http://sourceforge.net/projects/avisynth2)

hakko504
28th August 2002, 21:07
@dividee

Thank you for the explanation (https://sourceforge.net/tracker/?func=detail&atid=482673&aid=600071&group_id=57023).

@everybody else

arguments are only optional if they are surrounded by quotes. A greedybob function should look like this:function GreedyBob(clip clip, int "topfirst")
{
loadplugin(greedyhma.dll)
t=default(topfirst,1)
a=clip.greedyHMA(t,0,0,0,0,0,0,0)
b=clip.greedyHMA(1-t,0,0,0,0,0,0,0)
c=interleave(a,b)
return c
}
and it could be called in any of the three fashions:video=AVIsource(foo.avi)
Greedybob(video)
Greedybob(video,0)
Greedybob(video,topfirst=0)

pankov
28th August 2002, 22:09
@hakko
Thanks for clearing this up.
I have a question about the NTSC2PAL convertion
I used your function but in still pictures with horizontal lines in the picture (like the Dolby Digital Logo in trailers (dd-egypt.vob) it kind of moves up and down.
:(
I tried using only BicubicResize and found that it's not what's causing the problem.
I suppose the problem comes from GreedyBob or Weave but I'm not sure what I can do to fix it

Please, someone, help me!
:confused: