[FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek
Ching-Yi Chan
chingyichan.tw at gmail.com
Thu Sep 24 11:27:51 CEST 2015
Hi Hendrik,
I move the index data into AVStream, but seeking is slow. (it try to
download many data).
Is there something wrong ?
2015-09-24 16:09 GMT+08:00 Hendrik Leppkes <h.leppkes at gmail.com>:
> On Thu, Sep 24, 2015 at 9:08 AM, Ching-Yi Chan <chingyichan.tw at gmail.com>
> wrote:
> > flacdec is not supported fast-seek yet.
> >
> > changes:
> >
> > 1. parse the seekpoint from metadata block
> > 2. add seek callback to look up seek position
> >
>
> You should store the index in the AVStream index_entries field, that
> way you don't need to duplicate the structure in the private flac
> context, and the generic seeking code can make use of them without you
> needing a specialized seekign function.
>
> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-flacdec-support-fast-seek.patch
Type: application/octet-stream
Size: 2652 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150924/95e344c2/attachment.obj>
More information about the ffmpeg-devel
mailing list