View Full Version : Suggestions on Deinterlancing
TMLewiss2
3rd March 2005, 15:56
Well, I am recording alot of shows with my WinTV PVR 250. The script I usually use to convert the raw mpeg captures is this script:
LoadPlugin("C:\Custom\Programs\Audio\AviSynth 2.5.5\plugins\DGDecode.dll")
LoadPlugin("C:\Custom\Programs\Audio\AviSynth 2.5.5\plugins\Decomb521.dll")
MPEG2Source("test.d2v",cpu=4,idct=4,ipp=false)
Trim(21,12606) ++ Trim(14572,29683) ++ Trim(32833,46624)
Telecide(order=1,guide=0)
Decimate()
Crop(12, 4, -8, -4)
It works pretty good on real life people, shows like Stargate, or Lost. But I still get some interlace issues. One big problem I am haveing is with anime. The interlance issues with anime are horrible, also, with anime, I am getting skipping video from useing decimate, but I know other uses it and don't get that problem. Any suggestions, on interlaceing and decimating for mostly anime, but also for other video. Thanks in advance for any help on this topic.
PS: I know the WinTV PVR 250 is a hardware encodeing device, but do you think that system specs have anything to do with capture quality?
neuron2
3rd March 2005, 16:05
The only way to help is to have access to a clip of your source material. Put one on my FTP site and notify me. I'll have a look. You can put up to several hundred megabytes there.
TMLewiss2
3rd March 2005, 16:11
I have to goto school soon, but I am recording an anime show while I am there. I will trim the video to like around 3 min so it won't be huge, other than that I will do nothing, I will leave it raw... I might have to change it to uncompressed avi so that the quality does not change at all. Still 3 min of uncompressed will be alot smaller than 40 min of compressed mpeg2 that ranges around 1 gig lol. I guess I will also remove the sound, no need for that :). I get back in about 4 hours, I will do everything then. Thanks
TMLewiss2
3rd March 2005, 16:23
Ehh, I just used an old episode of Futurama I recorded. It only like a min, but you will notice the bad interlace issues if you go slow. Also, it is encoded in XviD, but with 80,000 bitrate (maxed), so nothing would change on it. It is called "Futurama (Interlace).avi". I am sending it now.
TMLewiss2
3rd March 2005, 16:26
keeps telling me authintification failed on your ftp...
I sent you a private message with my ftp and a username/password for you. It has the video there. You will only download at like 38-40 kbps because it is hosted off my cable, but thats the same speed I would be uploading to you anyways. I don't know if you are actually going to download it from me, but just in case I closed and blocked all other transmitions so you would get all the bandwidth. If you do, thanks.
neuron2
3rd March 2005, 17:20
All my clients fail in trying to connect to your site.
TMLewiss2
3rd March 2005, 19:51
lol well that stinks, what can we do. I might be entering your ftp wrong. I use firefox and I goto ftp://guest@neuron2.net . it asks for the password, so I put guest, and it says failed...
Leak
3rd March 2005, 19:55
Originally posted by TMLewiss2
lol well that stinks, what can we do. I might be entering your ftp wrong. I use firefox and I goto ftp://guest@neuron2.net . it asks for the password, so I put guest, and it says failed...
You really want to go to ftp://guest%40neuron2.net:guest@neuron2.net/ if you're using Firefox - you need to encode the "@" in the username or Firefox will think it's the separator for the server name...
The general syntax is "ftp://<user>:<pass>@<host>", but if the user name (or password) contains a "@" or ":" you need to encode it.
@Donald: How about adding this link to your .sig as well? ;)
np: Andrew Thomas - Soft Bullets (Pop Ambient 2005)
TMLewiss2
3rd March 2005, 19:59
that brouth me to a index of his ftp, but not in ftp form, I can't send anything.
Ok... umm all my friends just useing IE, they can get into my FTP... I don't know why you can't.
Leak
3rd March 2005, 20:21
Originally posted by TMLewiss2
that brouth me to a index of his ftp, but not in ftp form, I can't send anything.
Ummm... at least Mozilla-the-application-suite has an "Upload file..." item in it's file menu, so I can't think of a reason why Firefox shouldn't have it. Anyway, a "real" FTP client is something like http://filezilla.sf.net/ ...
np: Thomas Fehlmann - With Oil (Pop Ambient 2005)
TMLewiss2
3rd March 2005, 20:22
I just downloaded Core FTP... I had to set it to 10 retries, but it got in... I am sending it.
TMLewiss2
3rd March 2005, 20:41
finished, thanks neuron
neuron2
3rd March 2005, 22:54
Oh man, I think I'll add a standard question to people when they ask for assistance: Does your video have blended fields? If the answer is yes, my standard answer will be: There is no good solution for blended fields. I do not have anything to suggest for you. Deinterlace it with blend deinterlacing and do not decimate, and if you see blends in the final encode, console yourself that they are there in the source material.
TMLewiss2, do a search on "blended fields".
TMLewiss2
4th March 2005, 00:04
So wait, I can't really do anything about it... I searched and found a few scripts that help a little. But what I want to know is what causes this. Can I prevent it? Also, how come my actuall videos with people turn out fine, while anime screws up. I know alot of people use the PVR 250 to do their capturing, and as far as I know, they don't have this problem.
LOL I still have those same questions but I figured out my problem I think. Decimate... that was it. When I just do telecide I get only like maybe 1 or 2 frames throughout the whole video that are bad. But decimate was what was makeing it skip... I am a moron. Of course decimate is going to make it skip... it removes a frame. Most videos I know of, that does not matter. Are some anime films actually produced in 30 fps instead of 24? That's all I can think of. Anyways, I think I fixed it. I will get back to you if I find anything else out.
neuron2
4th March 2005, 01:09
The blended fields are produced by broadcasters and/or DVD authors when they convert PAL<-->NTSC. It is a cheap, quick and dirty way to do standards conversion. When shown on interlaced TV, it looks OK. But trying to recover a good progressive stream is a nightmare, as you have discovered. Normally, decimate() would be OK for anime that is clean 3:2 pulled down. But this field-blended poop isn't clean 3:2. To keep the smoothness, you need all the fields. I hope that answers all your questions.
TMLewiss2
4th March 2005, 02:05
Neuron, I don't suppose you know this... Ok I use the standard DVD profile on WinTV Cap for all my captures. It Caps at 720x480. I have noticed that that is more of a widescreen cap that a fullscreen one. What is the default resolution for NTSC video 640x480? Also if I want to resize it to that, should I resize it because it is stretched and needs to be stretched back, or crop it?
ArabianSwan
4th March 2005, 02:08
hmm you don't resize 16:9 to 4:3!!! Why would you want to do that anyway?
TMLewiss2
4th March 2005, 02:16
that is what I am asking though, when it caps at 720x480. Is that the normal size of a TV channel? Or is it cutting off some of the image when it is captureing, or is it stretching it. Because if I watch the show live, there are no lines at the top or bottom, but if I watch the recording, there are black lines at the top and bottom.
ArabianSwan
4th March 2005, 02:31
720x480 is 16:9 "letterbox"
640x480 is 4:3 "full screen"
So they are different sizes
When playing the file in normal size on the PC.. you would not see the black borders.. you only see it when it is stretched to full screen
TMLewiss2
4th March 2005, 02:43
well I know shows like futurama are in 4:3 right... so when I capture, since 720x480 is the highest my card can cap, is it stretching the image? Because it is either cutting off part of it or stretching it. Why would I get black lines on the recording, and not on the live showing (Both out to TV).
Nematocyst
4th March 2005, 05:04
@TMLewiss2
Your capture card doesn't know anything about the source format, all it does is record how it is set up to; you are going to resize correctly when you postprocess your recording. You get basically the same result recording at 640x480 as you will recording at 720x480 and resizing later. You might choose smaller sizes if your hardware can't keep up or if your filesizes are too large. You might choose larger sizes if your hardware isn't being burdened and you want the most data possible for your filters to work with.
Frame Sizes (http://www.doom9.org/index.html?/capture/sizes_newbies.html)
particularly 4.2, 4.3, and 4.4.
TMLewiss2
4th March 2005, 13:50
So I am right to assume that I should resize shows like The Simpsons, or Futirama, or any fullscreen captures to 640x480, instead of leaving them at 720x480.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.