Hi,

On 6/12/2009 11:55 PM, Michael Conrad wrote:
> On Fri, 12 Jun 2009 20:58:56 -0400, Stas Oskin <stas.os...@gmail.com>
> wrote:
>> but it seems to work only if I have the
>> whole media mapped to memory?
>>
> 
> Well, libavformat likes to seek around and even close and reopen the
> stream a few times during av_find_stream_info... which is very unfortunate.

FYI it only seeks for MPEG PS and MPEG TS AFAIK to retrieve last pts and
get duration.

It closes and reopen the stream only when stream is not seekable.
However if you think not doing that is better and more efficient, I
think it would be possible to change it. Can you explain the problem you
experience or what you would like to do ?

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org
_______________________________________________
libav-user mailing list
libav-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to