Log in

View Full Version : How To Convert This HD Source Properly?


EpheMeroN
3rd October 2005, 00:00
I've recently been capturing the hi-def .ts streams directly to my laptop via the firewire method using a Motorola 6200 receiver. Everything on the hd channels are flagged as 16:9, which is normal for most everything, but some sporting events, like this NHL Hockey preview I captured, is really a 4:3 broadcast, with big black borders on the side. I have not been able to remove the borders successfully, even though a simple Crop(88,0,-88,-4) in an AviSynth script should in theory work, but it doesn't. When I import that script into Vdub, the borders are still there. Also, the broadcast is 1920x1080i and it appears to be interlaced, but if I resize to 704x480 (for dvd), or 512x384 (for XviD), it appears the interlacing is gone.

So if anyone can help me figure out how to properly handle this type of video I would be greatly appreciative. I took the raw .ts, processed it in VideoReDo to get a nicely edited .mpg file, and cut a sample of it to be looked at. Get the sample here: http://rapidshare.de/files/5807415/hockey.mpg.html

scharfis_brain
3rd October 2005, 00:50
have fun:

mpeg2source("D:\FORUM\EpheMeroN\hockey.d2v") #,cpu=6)
crop(232,0,-232,-8) # crop to correct AR
leakkernelbob(order=1)
converttoyuy2()
bicubicresize(720,486)
crop(0,2,0,-4)
assumetff()
separatefields().selectevery(4,0,3).weave()

EpheMeroN
3rd October 2005, 02:40
Well now I know why my original crop(88,0,-88,-4) didn't work. I was putting the script into Vdub with a bicubicresize(720,480). It was only cropping part of the black borders. Your script kept it interlaced correct? What are the advantages of using a bobber on this source though? Also, why is there a converttoyuy2() call in there? Finally, why is there a resize of 720,486 and THEN a crop to get it back to 720,480? Is it because of the source being 1920,1088? I'm new to HD right now. The all progressive stuff is easy stuff, but interlaced is some work.

scharfis_brain
3rd October 2005, 12:49
Your script kept it interlaced correct?Yes.
What are the advantages of using a bobber on this source though? you get a better image quality.
Also, why is there a converttoyuy2() call in there?Because it ensures high chroma quality and avoids problems with reinterlacing.
Finally, why is there a resize of 720,486 and THEN a crop to get it back to 720,480?because I was too lazy to do the mathematics. So I used this trick to still get a correct aspect ratio.