PDA

View Full Version : Decoding interlaced XviD


InfoCynic
2nd January 2003, 06:59
I had a badly hybrid interlaced clip, and since I do most of my watching on my TV, I figured I'd just use interlaced mode and not worry about not being able to watch it on my monitor. But I can't seem to decode it properly, even on my TV. The clip was encoded in 2-pass with MPEG quants and "use interlaced" on, B-Frames on (3/150/100), using Koepi 09122002-1. AVISynth 2.5--mpeg2dec3 (cpu=0, ipp=true), crop (left/right borders only), BicubicResize(640,480,0,0.5). Source was an NTSC DVD.

Tried all combinations of: Latest (29-12-02) Nic's decoder or ffdshow - (use xvid off), and either WMP 6.4 or ZoomPlayer 3.0 beta. Tried with and without "force overlay mixer" in ZP. Video card is an ATI Radeon 8500 connected by S-Video to a standard Phillips/Magnavox TV. Using DirectX 8.1 on WinXP SP1 (I haven't heard anything that makes me want to jump and download DX9 yet).

The clip plays okay but it looks the same on the TV as it does on the monitor - interlaced. Assuming for the moment this is a decoding issue not an encoding one, what else can I try?

sysKin
2nd January 2003, 13:52
Originally posted by InfoCynic
The clip plays okay but it looks the same on the TV as it does on the monitor - interlaced. Assuming for the moment this is a decoding issue not an encoding one, what else can I try? I'm not quite sure where the problem is. You encoded an interlaced clip, you decode an interlaced clip - so what's wrong?

Well ok, I'll tell you one thing that was wrong - you resized an interlaced content. But this is not XviD related, is it?

Anyway, I don't understand the main problem. From what you say, everything is the way it's supposed to be.

drebel
2nd January 2003, 16:29
I can only assume that your tv is NOT PAL,or else you cannot see properly interlaced material anyway.Maybe some post-deinterlacing would help.Did you try any of ffdshow's deinterlacing methods first to see what happens?You have a lot of options there,even with Dscaler dlls...
regards,
george

InfoCynic
2nd January 2003, 17:31
TV is NTSC.

My understanding is you're allowed to horizontally resize interlaced content as long as you keep all the vertical lines. (720x480 -> 640x480, simple AR correction).

When you use TV-Out with a hardware overlay, the TV can process an interlaced signal (like it normally does from a broadcast antennta, your VCR, your DVD player, etc.) and deinterlace it on the fly.

I could use ffdshow to perform some rough deinterlacing, but if I wanted rough deinterlacing, I could attempt a hybrid deinterlace with decomb. A truly interlaced source should display correctly, deinterlaced, on a TV. I'm moving today, so I can't spend a lot of time searching the forums here for the background to some of these claims, but when I have a minute, I'll give you links to posts to back these statements up. (Or you can search for yourselves, of course. :))

NeVeRLiFt
2nd January 2003, 17:51
It does not always work or look good IMHO.
I have tried this and most times fast motion scenes that are interlaced look bad even on my TV using TV-out.
If you know how to deinterlace right you should beable to deinterlace without ruining your quality.

just my .02

InfoCynic
3rd January 2003, 00:44
I'm an experienced encoder, and as many will tell you, Star Trek: TNG DVDs are so badly interlaced that there is no perfect solution for making a progressive stream out of them (consult: http://forum.doom9.org/showthread.php?s=&threadid=35106&highlight=star+trek+%2Ainterlac%2A).

As for resize horiztonally, avih posted "the width doesn't matter, but the height MUST be EXACTLY 576 for pal or 480 for ntsc." here: http://forum.doom9.org/showthread.php?s=&threadid=31812&perpage=20&highlight=*interlac*%20TVout&pagenumber=2

Also check that same thread for a few notes about watching interlaced XviD on a TV.

Now that we've established that I'm not an idiot :D can anyone help me? :)

NeVeRLiFt
3rd January 2003, 01:18
Originally posted by InfoCynic


Now that we've established that I'm not an idiot :D can anyone help me? :)

Whats to help man?
Do the best you can and deinterlace it ;)

Aktan
3rd January 2003, 08:43
I think the main problem is the tv out. Your Ati Radeon 8500 does not output to the tv exactly 480 for height. That is why you see the interlaced lines. If u resize the tv out, and move it tot he right spot, then maybe it would work. *shrugs*

vinetu
3rd January 2003, 21:10
I'm 100% SURE it is TV OUT of Radeon!
It is NOT interlaced capable!
So the signal sended to TV monitor is "deinterlaced" by hardware(if it's
a MPEG2(may be MPEG1 too) file and the player is using your Radeon as hardware decoder)
or not touched at all - your case.
So if I'm right you cannot pass any video(any video format or source) to TV interlaced... am I?
The best way to check this is to pause the player when something is moved FAST(a hand for example)
-you should see 2 hardly flickered hands.
The Only interlace capable TV out from VGA card I know is Matrox G400DH-G450DH and may be Parhelia(?)
and even with G400 i've spend about an hour to tweak the drivers options to enable this since it's
not enabled by default...
However,buying a G400 DH (it's better than G450) is not a good solution-very quickly your hair will become WHITE!!!
:D