[Ffmpeg-devel] mpeg4 avi, corrupted frames when CODEC_FLAG_TRUNCATED is set

Rich Felker dalias
Wed Oct 26 18:10:29 CEST 2005


On Wed, Oct 26, 2005 at 01:03:48PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Tue, Oct 25, 2005 at 07:07:09AM +0200, Stefan Lucke wrote:
> > On Samstag, 22. Oktober 2005 00:42, Stefan Lucke wrote:
> > > On Freitag, 21. Oktober 2005 11:45, Stefan Lucke wrote:
> > 
> > > > I'll do some tests when I'm back home.
> > > 
> > > Done. The internal framer seems to be ok. But the number of consumed
> > > byte is not. I changed the test sequence of get_consumed_bytes()
> > > to first check CODEC_FLAG_TRUNCATED and than s->divx_packed.
> > > By that this stream plays fine with and without CODEC_FLAG_TRUNCATED.
> > > See attached diff.
> > > 
> > 
> > No other comment from ffmpeg developer on that patch ?
> 
> rejected, dont use CODEC_FLAG_TRUNCATED, use a AVParser

hey michael,

on a related issue, is there any example/doc on how to use lavf/lavc
to demux to a sequence of packets will full pts info? it's a common
question on here it seems, and i think a lot of powerful stuff has
been added to lavf/lavc to overcome the problems, but i don't know
anything about it so i can't tell people who ask for help what to do,
except for telling them it's a very difficult problem.

rich





More information about the ffmpeg-devel mailing list