Log in

View Full Version : TMPG reports a stream as interlaced when it's not. How can I fix it?


Chainmax
4th June 2004, 14:38
I am trying to make an SVCD out of a very bad looking 384x288 AVI source. I already have the filtering figured out (thanks, MugFunky), but there's a problem: when resizing to 480x476 and feeding the script to TMPG, it analyzes the file and says it's interlaced. If I don't resize the message doesn't appear, but somewhere during the encoding I got a "scanline index..." error message. What is going on and how could it be fixed, if possible at all?

Arachnotron
4th June 2004, 15:43
Why? No idea. But:

-does it also happen if you letterbox to 480 beforehand? (addborders)
-does it also happen if you select 'Video arrange method' = 'center, keep aspect ratio' in the advanced settings of tmpgenc

I have had problems with TMPGenc deciding a video was interlaced even when I was encoding an imagereader sequence of bmp files. IMHO the detection algo is not that good. Simply overrule it.

Chainmax
4th June 2004, 22:56
The stream is 4:3, so AFAIK there's no need to letterbox, just resize to 480x576 and then use "Full Screen" in "Video Arrange Method". If I had, say, an 1.85:1 stream then I'd have resized to 480x260, used addborders(0,158,0,158) and then select "Full Screen (keep aspect ratio)".

As for the other question, the avs is analyzed and declared interlaced when selecting it as a source, so there's nothing I can do in TMPG to avoid that. If you're talking about the "scanline index..." error, why would selecting "center, keep aspect ratio" solve the issue?

Arachnotron
5th June 2004, 01:13
when resizing to 480x476 and feeding the script to TMPG

I misunderstood. I thought your final target was 480x480, in which case you would need to letterbox 480x476. Disregard my post. :)

Chainmax
5th June 2004, 01:19
Not making typos usually makes it easier for people to understand me :o :).

Arachnotron
5th June 2004, 10:57
Just a thing you probably already thought of: you did end your script with a ConvertToRGB() ?

Bogalvator
5th June 2004, 14:29
I know the "problem" you refer to but I don't thinks it's anything to worry about.

I usually just override the settings - namely:

1) Set "Video source type" in the 'Advanced' tab to "Non-interlace"
2) Set "Encode mode" in the 'Video' tab tto "Non-interlace"

I don't think there are any negative effects with this method.

But I don't know why it assumes interlaced in TMPGEnc. If you put a AssumeFPS(23.976) at the end it will assume progressive. It just seems to go by source frame rate.

Chainmax
5th June 2004, 20:56
Remember that I said that if I don't resize the message doesn't appear, but somewhere during the encoding I get a "scanline index..." error message. I bet that the same error message would appear if I change the stream type to non-interlaced, but it doesn't hurt to try. I'll get back to you later. The source is PAL , BTW.