[MPlayer-dev-eng] Re: Interlaced MPEG streams

D Richard Felker III dalias at aerifal.cx
Sun Jul 7 17:35:36 CEST 2002


On Sun, Jul 07, 2002 at 05:21:00PM +0200, Arpi wrote:
> Hi,
> 
> > > I recently tried to encode a movie that looks like interlaced MPEG
> > > (Dune).  This is a 25fps movie but each frame is plit in two parts.
> > > For some reason, mencoder skips all frames (skip frame!!!).  If I
> 
> yes ... 
> i forgot about this problem. as so as i get home, i'll look at it.
> 
> > Arpi : Those mpeg streams have half-frames encoded separately, I mean
> > video_read_frame() in mencoder.c:919 return with sh_video->num_frames
> > like xx.5 for each odd frame.
> > The solution would be to decode two frames at once in a buffer and
> > only then send this decoded 'real frame' to the other video filters
> > down to ve_*.c encoders. But the architecture of mencoder doesn't
> > makes it easy. At least to me :)
> 
> it shouldn't be so hard.

Would it make more sense to make a video filter to do this? i.e.
buffer one frame and only pass a frame on to the next filter in the
chain every other frame? Perhaps filters can't change framerate like
this though.

Rich




More information about the MPlayer-dev-eng mailing list