[MPlayer-dev-eng] [PATCH] Fix yuv4mpeg output, remove spurious first frame.

Arpi arpi at thot.banki.hu
Fri Jun 20 11:59:54 CEST 2003


Hi,

> >>"-vo yuv4mpeg" currently outputs a spurious all-zero (i.e. fully
> >
> >
> > it depends on codec.
> > generally codec ssupoprting out-of-order decoding (like mpeg with B
> frames)
> > return empty frame as first frame. others don't.
> 
> Is this a necessary thing for some deep reason? Or can it be easily
> changed? (Not asking you in particular but the list as a whole)

it's tricky

the codecs actually return NULL, meaning no frame available, but the
yuv2mpeg vo was patched some time ago to save even empty frames, to
avoid a-v desync (ie. length change) when converting files
(for divx->mpeg2enc conversion with mencvcd or so).

so it should be fixed, to save empty frames only after first non-empty


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list