PDA

View Full Version : Anamorphic from 4:3 DV?


Bexley
5th January 2006, 04:12
I've searched around but haven't been able to find anything on exactly my problem.

Last week I took my girlfriend to the mountains for New Year's, and right before we left I bought a Panasonic PV-GS35 miniDV camera to record the trip - my first video camera. I noticed that it had a "cinema" mode that appeared to shoot in 16:9, which I thought is good because eventually everything will be 16x9 anyway. You know... planning for the future and all that. ;)

Well, it turns out that it doesn't shoot in 16:9. It shoots in 4:3 with a crop/addborders on the top and bottom..... grrrr. So what I've got is a 720x480 with black borders like this:

http://img419.imageshack.us/img419/201/untitled17ft.png

And what I want is an anamorphic DVD. :rolleyes: I know that stretching an image like this probably isn't the best idea, but hey.... it's what I want. :p

The script I've been using is like this:

AVISource("D:\segments\23.avi").ConverttoYUY2()

Reinterpolate411()

ConverttoYV12()
Crop(0,52,-0,-52)
SeparateFields()
odd=SelectOdd.LRemoveDust(17,6).LanczosResize(720,240)
evn=SelectEven.LRemoveDust(17,6).LanczosResize(720,240)
Interleave(evn,odd)

a=last
masker=greyscale(invert(a)).tweak(bright=-90,cont=1.2)
b=ConverttoRGB32(a).HDRAGC(max_sat=1,avg_lum=100,coef_gain=2.5,max_gain=14,min_gain=0.5)
c=overlay(a,b,opacity=0.3,mask=masker)
last= c
Weave()

And what I get is something like this:

http://img440.imageshack.us/img440/8262/untitled26tf.jpg

Not the best. :( I've played around with LimitedSharpen instead of LanczosResize, but nothing seems to preserve the quality the way I want. I'm not going to ask "what's best" because I don't want to get slapped down with a Rule 12 violation. So the question I'll ask is this: If this were your video, what would you do with it? Would you even attempt to make an anamorphic disc out of it? If so, what script would you use?

Mug Funky
5th January 2006, 04:53
AVISource("D:\segments\23.avi").ConverttoYUY2()
Reinterpolate411()

tdeint(1,0,mtnmode=3,mthreshl=6)

lanczosresize(last.width,last.height,0,52,last.width,3*last.height/4.)

assumetff().separatefields().selectevery(4,0,3).weave()

ConverttoYV12(interlaced=true)

this worked very well on some mostly-film-but-interlaced-titling stuff. it may be a tad slow though. i changed a couple of things bearing in mind you're in NTSC land and are working with pure interlaced stuff, not field-shifted and titled film.

Boulder
5th January 2006, 08:03
Wouldn't it be better to use the pixel_type="YUY2" parameter in AVISource?

Also converting to YV12 before reinterlacing is recommended IIRC.