[FFmpeg-devel] [RFC] Questions and suggestions regarding AVSEEK_FORCE?

Tomas Härdin tomas.hardin
Wed Mar 24 17:41:30 CET 2010


On Wed, 2010-03-24 at 10:21 +0000, Carl Eugen Hoyos wrote:
> Tomas H?rdin <tomas.hardin <at> codemill.se> writes:
> 
> > While poking around with the mov muxer and demuxer the other day I
> > noticed a peculiar behavior: ffplay wouldn't play files with
> > sufficiently large skip tags inserted before the mdat tag if the file is
> > read from a pipe or HTTP stream.
> 
> Is this related to issue 1791?
> 
> Carl Eugen

Not intentionally, but I see that it is equivalent.

What I'm trying to accomplish is writing the moov tag before the mdat
tag. For that purpose I'm reserving space at the start of the file and
later turning the left over slop into a skip tag. It's very experimental
at the moment - it works as long as the moov tag doesn't end up larger
than 1 MiB (or whatever the limit is set to).

A better solution would need some API changes so the muxer gets a decent
guess for the numbers of packets per stream. But that's a discussion for
another thread that I'll probably post in a day or two.

/Tomas




More information about the ffmpeg-devel mailing list