Log in

View Full Version : Problem with PAL DVD to NTSC DVD conversion...


alanisrox69
24th January 2006, 07:38
Hi all,

a while ago I got some great help from scharfbrain about PAL->NTSC conversion.

Unfortunately I have this really weird PAL disc. Here's the specs:
MPEG2 Video 720x576 (4:3) 25.00fps 3900Kbps

now, I want to take it to 16:9 NTSC 720x480 because it's an anamorphic movie, just was encoded to 4:3, and since I'm reconverting for NTSC, I figured I might as well utilize the 16:9 encoding method.

Here's the AVS script I used:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("I:\narnia.d2v")
ConvertToYUY2()
Bob()
Crop(0,58,0,-58)
lanczosresize(720,480)
changefps(59.94)
separatefields()
selectevery(4,1,2)
weave()

I used the Crop method otherwise the aspect ratio wouldn't be correct (it wasn't correct in the first place).

I encoded it using CCE 2.67, 9pass VBR @ 4250kbps, 16:9. Here's the weird part, when I demuxed the original audio/video, I assumed I would have to adjust the audio so that it would be in synch, but I didn't, the audio from the original PAL matched fine with the newly converted 29.97fps video. So I moved on.

Multiplexed it and it looks great in media player. I author it using TMPGEnc DVD Author, burn it, and pop it in my player...starts up and I notice a jerking effect, seems like other couple of frames it goes back 1 frame. Yet it plays perfect in media player!

What am I doing wrong here?

Thanks!

-Derek-

PS. If you need more info, it's the Narnia DVD Screener.....

Mug Funky
24th January 2006, 08:50
try this:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("I:\narnia.d2v")
# converttoyuy2(interlaced=true) # uncomment if you're using convertfps
leakkernelbob(order=1,threshold=4)
Crop(0,58,0,-58)
lanczosresize(720,480)
changefps(60000,1001) # change this to convertfps for smoother motion
# at the cost of field-blending and worse compression
# efficiency. i also changed the framerate to "num, den"
# notation because it's a little nicer.
assumetff()
separatefields()
selectevery(4,0,3)
weave()

this may not look different (well, it'll look a little better on horizontals), but if you swap the changefps for convertfps it'll look better.

make sure you encode it as top-field first in CCE (offset line = 0 if you're using the version that doesn't have a field-order checkbox).

alanisrox69
24th January 2006, 09:32
Thanks, I will definately try that.

Any idea why the audio is the same synch? I thought that would have had to be adjusted?

-Derek-

Boulder
24th January 2006, 09:34
Why not just encode to NTSC resolution without changing the framerate and then use DGPulldown to do a 25fps->29.97fps pulldown?

alanisrox69
24th January 2006, 09:37
No idea I could do that (I've done it for 23.976fps before though)! What script would I use to do such a thing?

Thanks for everyones help!
-Derek-

foxyshadis
24th January 2006, 09:54
Did you really do 9 passes? o.O I guess that's a nice way to keep your house warm in winter...

Anyway, aside from changefps/convertfps there's always motionprotectedfps and mvflowfps2, part of the latest motion and mvtools respectively. Never tested them on CG like narnia, but they should do well. Depending on how important the conversion is, of course. ^_^

All of the normal fps converters don't require any audio changes because they add/remove frames to keep the same length and in sync. Assumefps would, because it only speeds up or slows down the video. (Which is what some 24->25 do, so they need audio changed.) The problem with your script was just either the encoder or the source was tff while you used a bff selectevery.

Boulder, won't dgpulldown do essentially the same as what he has now? (Admittedly it'd be a simpler way.)

alanisrox69
24th January 2006, 10:11
Yes I really did 9 passes hehe.

I figured if I'm gonna do it, I might as well do it right! Only took like 12 hours or so.

I am going to try the script by Mug Funky, have it set to start encoding when I go to bed heh.

as for this movie, it's not really a DVD screener, more like a Telecine, it seems that it was screened in a theater for FACT but the reels were copied, and since there is a Disney watermark and the sides are cropped off (original was anamorphic, this is cropped to regular 16:9), so I'm assuming this is a telecine->standalone PAL dvd recorder. Perhaps using the telecine machine to zoom in on the image.

This is the first time I've encountered such a problem, the output looks amazing on my TV, it's just jumpy.

can't wait to see if Mug Funky's script works! so I can finally watch this flick :)

-Derek-

Leak
24th January 2006, 11:24
as for this movie, it's not really a DVD screener, more like a Telecine, it seems that it was screened in a theater for FACT but the reels were copied, and since there is a Disney watermark and the sides are cropped off (original was anamorphic, this is cropped to regular 16:9), so I'm assuming this is a telecine->standalone PAL dvd recorder. Perhaps using the telecine machine to zoom in on the image.
Maybe I'm missing something here, but could someone explain me how this couldn't be a blatant violation of forum rule #6 (http://forum.doom9.org/forum-rules.htm)?

Wilbert
24th January 2006, 13:23
Maybe I'm missing something here, but could someone explain me how this couldn't be a blatant violation of forum rule #6?
I don't think you are missing something here. Thread closed.