[MPlayer-dev-eng] To demuxer gurus

D Richard Felker III dalias at aerifal.cx
Sun Feb 10 17:16:54 CET 2002


you seem to be confusing interleaving and interlacing, which have
nothing to do with one another. interleaving has to do with the
demuxer, while interlacing is a video issue, and should NOT be
controlled by the -ni option.

rich


On Sun, Feb 10, 2002 at 02:37:52PM +0300, Nick Kurshev wrote:
> Hello!
> 
> I'm still working on correcting my previously applied patch which uses -ni key
> to disable adaptive deiinterlacing on radeons.
> My cheaped research of inet give me following result:
> 
> http://www.oreilly.com/centers/gff/formats/micriff/
> 
> This document says:
> 
>  AVI Header Subchunk
> 
> [snip]
> 
>  typedef struct _AVIHeader
>  {
>     DWORD TimeBetweenFrames;     /* Time delay between frames */
>     DWORD MaximumDataRate;       /* Data rate of AVI data */
>     DWORD PaddingGranularity;    /* Size of single unit of padding */
>     DWORD Flags;                 /* Data parameters */
>     DWORD TotalNumberOfFrames;   /* Number of video frame stored */
>     DWORD NumberOfInitialFrames; /* Number of preview frames */
>     DWORD NumberOfStreams;       /* Number of data streams in chunk*/
>     DWORD SuggestedBufferSize;   /* Minimum playback buffer size */
>     DWORD Width;                 /* Width of video frame in pixels */
>     DWORD Height;                /* Height of video frame in pixels*/
>     DWORD TimeScale;             /* Unit used to measure time */
>     DWORD DataRate;              /* Data rate of playback */
>     DWORD StartTime;             /* Starting time of AVI data */
>     DWORD DataLength;            /* Size of AVI data chunk */
>  } AVIHEADER;
> 
> [snip]
> 
>  Flags contains parameter settings specific to the AVI file and its data.
>  The parameters correspond to the bit values of the Flags field as follows:
> 
>  Bit 8
> 
>     AVI file is interleaved.
> [snip]
> 
> This info is missed in mplayer's header files.
> 
> Does someone knows could we extract more info on how AVI is interleaved?
> Or we should assume EVEN_ODD order of lines?
> 
> Best regards! Nick





More information about the MPlayer-dev-eng mailing list