[FFmpeg-devel] [PATCH] Reduce exessive seeking in mov demuxer

elupus elupus
Sat Oct 6 00:40:51 CEST 2007

> Yes, I totally agree.
> Im still thinking about a nice way to handle piped or streamed files
> where it might be better to read by position.
> Demuxing that way for url_is_streamed files might be ok.
> What do you think about that ?

In general that sounds like a good plan, but there is a problem with that 
for http streams where seeking actually is allowed, just not fast. Setting 
url_is_streamed then isn't a good approach as it breaks other files + 
changes how the mov header is read.

I'm quite sure the supplied patch will be accepted as is. if nothing else 
cause it does mix in some cosmetics + code dup. But maybe something like it 

It can force up to a second of buffered data wich might be unacceptable. But 
for my purpose it'll be fine (we buffer almost 8 seconds :/).

What do you guys think?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov2.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071006/76c37cc9/attachment.txt>

More information about the ffmpeg-devel mailing list