On Wed, 15 Apr 2015 13:16:20 +0200
Michael Niedermayer <michae...@gmx.at> wrote:

> On Wed, Apr 15, 2015 at 01:12:27PM +0200, wm4 wrote:
> > On Wed, 15 Apr 2015 12:43:36 +0200
> > Michael Niedermayer <michae...@gmx.at> wrote:
> > 
> > > On Wed, Apr 15, 2015 at 11:08:02AM +0200, wm4 wrote:
> > > [...]
> > > > the start of the file. (Seeking to anywhere else likely won't work,
> > > > because libavformat tries to use the imperfect xing toc, instead of
> > > > scanning the frames.)
> > > 
> > > btw, you can disable the imperfect xing toc for seeking with
> > > "-usetoc 0"
> > 
> > But that breaks VBR even more, shouldn't it?
> 
> libavformat should build a index by linearly scanning the file
> up to the point where one seeks to, so it should work with vbr

And how could this be achieved?

I'm also not very fond of utils.c messing with what the demuxer does.
It really made developing and debugging this harder. It should be the
other way around, with the demuxer directly being called by the user,
and the demuxer invoking generic helpers if it needs to.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to