Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 24th August 2002, 16:39   #1  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
NTSC DVD(720x480) to PAL DVD (720x576) resize or borders?

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?
pankov is offline   Reply With Quote
Old 24th August 2002, 17:03   #2  |  Link
HarryM
Registered User
 
Join Date: May 2002
Location: Czech rep.
Posts: 390
Re: NTSC DVD(720x480) to PAL DVD (720x576) resize or borders?

Quote:
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.
HarryM is offline   Reply With Quote
Old 24th August 2002, 22:11   #3  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
I created a FILM2PAL conversion function a while ago. you can find it in an attachment called bob.zip in this thread
sample usage:
Code:
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.
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote
Old 26th August 2002, 07:49   #4  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
@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?
pankov is offline   Reply With Quote
Old 26th August 2002, 07:57   #5  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
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.
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote
Old 28th August 2002, 20:07   #6  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
@dividee

Thank you for the explanation.

@everybody else

arguments are only optional if they are surrounded by quotes. A greedybob function should look like this:
Code:
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:
Code:
video=AVIsource(foo.avi)
Greedybob(video)
Greedybob(video,0)
Greedybob(video,topfirst=0)
__________________
/hakko

http://www.boardgamegeek.com

Last edited by hakko504; 28th August 2002 at 21:25.
hakko504 is offline   Reply With Quote
Old 28th August 2002, 21:09   #7  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
@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!
pankov is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.