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

Michael Niedermayer michaelni
Fri Oct 12 00:11:08 CEST 2007


Hi

On Sat, Oct 06, 2007 at 12:40:51AM +0200, elupus wrote:
>>
>> 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 
> would.
>
> 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?

the patch is trashed that is linewrapped ..
also it should be split in the url_is_streamed and the 1 second part
the first i think we all agree is good
iam not so sure about the 1sec part, but iam not objecting against that
if baptiste thinks its usefull

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071012/80e36811/attachment.pgp>



More information about the ffmpeg-devel mailing list