PDA

View Full Version : How should I encode interlaced video in XVID?


drcl
29th June 2007, 19:27
I just bought a dvd player with the divx logo on it.

it plays all progressive stuff fine - 2 b frames , qpel, vbr audio

but when i tried to play an interlaced video i could see combing.

i used xvid's interlaced setting.

im probably missing something to do with mpeg 4 streams but i havent a clue what

Please can someone tell me how to playback interlced xvids with my standalone and get the same bob-deinterlace i get when playing interlaced dvds?

SeeMoreDigital
29th June 2007, 19:49
What encoding application are you using. And did you remember to "disable" automatic deinterlacing facility?

Also, are you "re-sizing" your interlaced MPEG-4 encodes? If so don't... Keep them at the same resolution as your source. However, cropping away any black mattes is okay!


Cheers

setarip_old
29th June 2007, 23:13
@drcl

Have you checked the "Setup" screen of your new player - to see if it offers settings for "Interlaced" as well as "Progressive"?

drcl
30th June 2007, 04:08
surely there is a recommended way to do this by now ?


@seemoredigital

Not sure what you mean by automatic deinterlacing facility and I always use virtual dub (usually whichever version came with the latest gordion knot) along with xvid, in an avi container.


I'm aware of the problem of interlace resizing; the material i used was originally from a pal concert DVD and i didnt resize it at all (which also raises the problem of aspect ratio signals in mpeg4)


@setaripold

I dont think my player has that option.

setarip_old
1st July 2007, 03:35
I dont think my player has that option.I'd be surprised if it doesn't. Even my ancient, inexpensive Philips 642/37 has this capability.

So, rather than "thinking" that it doesn't have this capability, why don't you simply RT_M and/or check the options available on the "Setup" (or similar) menu screen?

drcl
2nd July 2007, 03:15
i didnt have the manual available at the time I last posted to check for sure; I had only skimmed through it before I set up.

I have since checked and there is no sure option.

Just to clarify, I'm not talking about anything related to progressive scan.

I would just like to know how to get the player to "know" when its trying to play something that is interlaced xvid.

Maybe it's not possible in avi?

the player i have is a silvercrest 6506 which i believe has a mediatek chip mtk1389FE

setarip_old
2nd July 2007, 07:41
The following, regarding the player's "Setup", is from a Silvercrest 6510 manual - and may be applicable to your model as well:

"YUV (component video out)
YUV refers to the component signal, which is available with
this device at the YPbPR output in the form of "half images";
as a rule this is the best signal for the control of large screen
televisions and projectors, which can not process Progressive
scan signals. As with RGB video signals, the YUV consists of
three separate video signals:
• the brightness signal "Y" and
• both colour difference signals "Pb/Cb" and "Pr/Cr"
Half images (interlacing) / full images (progressive scanning)
A standard television image consists of 576 visible lines; first
the odd then the even image lines are displayed in alternation.
In other words, one half image is shown at a time. In
this way, only 30 full images (60 half images) can be displayed
per second. This method is referred to as "interlace" format.
Contrary to this with the so called progressive or "Progressive
scan" format all images are shown every time, that is to say
60 full images per second are displayed. This increases the
overall quality of the image; for example paused images and
text appear sharper."

SeeMoreDigital
2nd July 2007, 11:02
@seemoredigital

Not sure what you mean by automatic deinterlacing facility and I always use virtual dub (usually whichever version came with the latest gordion knot) along with xvid, in an avi containerI must admit, I'm not familiar with the settings in Gordian Knot, so I don't know if it has an "auto" de-interlace" option.

drcl
2nd July 2007, 16:21
i didnt use GKnot to make the encode, merely the version of virtual dub that came with it.

I'm in PAL land so i dont use component or YUV outputs, simply RGB or composite over a scart.

This is nothing to do with progressive scan.

The player plays "proper" mpeg2 DVDs fine, and displays interlaced content without combing.

So logically I have to assume that the player isnt reading a corresponding flag on mpeg4 streams.

all i'm really trying to find out is the method to write this flag in to the avi file

SeeMoreDigital
2nd July 2007, 17:31
Try these 2No MPEG-4 interlaced samples: -

http://www.mytempdir.com/1366708

drcl
4th July 2007, 02:08
tried them...... both have combing

SeeMoreDigital
4th July 2007, 14:18
tried them...... both have combingI'm not that familiar with the Silvercrest 6506. What "video output" modes does it offer (ie: progressive, 720p/1080i upscaling etc)?


Cheers

drcl
6th July 2007, 02:11
Why does it matter what video output modes it has?

The player only offers Standard definition output as far as i can work out. There is no mention of HD or upscaling anywhere in the manual.

I am trying to use it with SDTV PAL TV system using composite/s-video/RGB.

All I am trying to ascertain is how to flag divx/xvid/mpeg4 avi as a interlaced in order to get the player to display it correctly in the same way as it plays back 50 fields per second from interlaced dvd/mpeg2.

SeeMoreDigital
6th July 2007, 10:04
Why does it matter what video output modes it has?Because up-scaling "pure interlaced" sources (and making the displayed image look good) is far more difficult to do than upscaling progressive sources.

The player only offers Standard definition output as far as i can work out. There is no mention of HD or upscaling anywhere in the manual.

I am trying to use it with SDTV PAL TV system using composite/s-video/RGB.

All I am trying to ascertain is how to flag divx/xvid/mpeg4 avi as a interlaced in order to get the player to display it correctly in the same way as it plays back 50 fields per second from interlaced dvd/mpeg2.Hmmm...

The output connections you mentioned (ie: Composite/S-video/RGB (I presume thats SCART RGB)) are only capable of outputting "interlaced" images anyway.

Unfortunately, just because your player is capable of correctly outputting pure interlaced MPEG-2, does not automatically mean it can correctly output pure interlaced MPEG-4 (even though MediaTek's chip-set supports both). It all comes down to the maturity of the players firmware!


Cheers