Log in

View Full Version : VirtualDub capture filters resolution


mod
9th September 2005, 14:41
Hi all.
This is my 1st thread, I hope I'll find an answer to the following question.
First of all, I have read the other threads, but I haven't found any similar one.
Here is the problem:
I have a Radeon 9000Pro VIVO which I use to record TV programs, PAL standard. Usually I capture at 352x288 YUY2, with DivX 5.21 SLOW @740 Kbps (UYVY 352x288 does not work well).
The matter is that I cannot use filters, because the resolution of filters is only 320x240 and I cannot change that. The only way is using as 1st filter a resize one, with a "new" resolution equal to the capture one, but of course this causes quality loss.
Considering that 320x240 implies decimation in compressing and interpolation in decompressing, I want to avoid that at such "low" bitrate.
Of course I have to choose DivX if I want to capture at full resolution (which for PAL is still 352x288 -> 720x576) because is the only MPEG4 codec that deinterlaces "well" the frames (RealMagic 1.1 gives worst results).
I have this problem only in realtime encoding, and I think this is not correct, cause is always the same image processing as in encoding from file.
So: (how) can I use filters at different resolution?

Please reply with clear english, this is not my language.
Thanks.

fccHandler
9th September 2005, 19:11
I don't think that's true. I believe that the resolution passed through the filter chain when configuring filters is indeterminate, so 320 x 240 is passed by default. (It's just a placeholder for the real value.) Once the capture starts and the filter chain becomes active, the true resolution of the source is used.

mod
10th September 2005, 12:30
I thought it was so, but if I capture at res 720x576 with any deinterlace filter it appears that it isn't..
Moreover, if it was just a default value, it mustn't change immediatly after I place as 1st filter a resize one, I think.
I appreciate every idea, because I'm not really new to video encoding, etc, and I don't know how to solve the problem.

fccHandler
11th September 2005, 07:59
Hmm... I think you were right with your first post. I tried some capture filtering today, and it totally didn't work like I expected. I'll do some more testing tomorrow and see if I can get Avery Lee to comment on this.

mod
11th September 2005, 14:40
Thanks! I think it's strange nobody had this problem before. I've tried the best I could, so I wait any suggestion..
Thanks again..

fccHandler
11th September 2005, 20:53
I must have been mistaken yesterday. Today my test confirms what I posted above, that the "320 x 240" entry into the filter chain doesn't affect the capture filter resolution. FWIW, here's what I did:

I set my capture resolution to 720 x 480, then added the resize filter and configured it to resize to 640 x 480. The filter list showed the resolution on entry to be 320 x 240, as always. But when I started the capture it did pass the correct resolution of 720 x 480 to the resize filter. If it had really passed 320 x 240, the result would have looked blurry and there would be blending of the video fields. That didn't happen.

mod
12th September 2005, 00:21
So I think you are partially confirming what I wrote in the first msg, to be precise:
"The only way is using as 1st filter a resize one, with a "new" resolution equal to the capture one..".
So if I understand the ONLY way to apply filtering while capturing is using as 1st filter a resizer, even with a different resolution, and this DOES NOT affect final quality? (This is the only way I have found). This sounds like "let's first of all tell the filters which resolution we are going to work with", am I right?
Can I ask you to try capturing at 720*XXX (PAL or NTSC) WITHOUT resize filter, with any deinterlace filter you have installed, and WITHOUT deinterlacing with video codec settings? If you still get a (partially) interlaced avi, this may be the answer.
I really thank you for the help.

mic
12th September 2005, 01:21
welll... using the 2:1 reduction filter doesn't have any effect nor does interlace using an aiw. Perhaps the best thing might be to post in one of the V/dub forums, as Avery is revamping the filter handling anyway.

mod
12th September 2005, 01:36
Ok, I'll try posting.. if I'll find something interesting I'll write it down here.
Really thanks for the help!!

fccHandler
12th September 2005, 04:15
Can I ask you to try capturing at 720*XXX (PAL or NTSC) WITHOUT resize filter, with any deinterlace filter you have installed, and WITHOUT deinterlacing with video codec settings?
I tried this without the resize filter. I used VirtualDub's own deinterlace filter set to "unfold fields side-by-side." The result was a 1440 x 240 video, proving that the filter does use the true resolution of the source.

mod
12th September 2005, 19:29
I have just tried using that..
The best result I get is with DivX (of course with no deinterlace selected), but video still shows interlaced areas.
With XviD, 3ivx, Arithyuv, Huffyuv, video still remain interaced.
I hate asking again, but seems the problem is mine, so.. any other idea?
Thanks.

fccHandler
12th September 2005, 21:44
Well, I was only addressing your original complaint that the capture filters seem to use only 320 x 240 resolution, which is not true. But your capturing methods, and your goals, are very different from mine. (I always capture lossless and I don't use filters, and I don't deinterlace anymore because my goal is DVD.)

I used to deinterlace a long time ago, and my favorite deinterlacer was the old Smart Deinterlacer 0.7 (http://fcchandler.home.comcast.net/Smart.zip) by Donald Graft. There are other (and newer) deinterlacers today, but for the most part I'm unfamiliar with them.

mod
13th September 2005, 08:18
Well, when my goal is storing programs I capture lossless too, but when I just want to save for post viewing with no real interest in high quality, I use mpeg4. I think the "unfold fields side by side" maybe a right compromise. In a couple of days I'll take some frames with smart deinterlace (I already have it) and work on the right settings..
Really thanks for the help.