[FFmpeg-devel] [PATCH] Reduce exessive seeking in mov demuxer
elupus
elupus
Fri Oct 5 22:55:49 CEST 2007
> Hi
>
>
> the (obvious?) problem is that your patch will totally break files which
> arent approximately correctly interleaved
> (yeah 2 hours of video before the first audio packet doesnt work, or to
> say
> it differently you will run out of memory to buffer a few gb of video)
> still a mov file doing that is perfectly valid ...
>
Valid point. I checked, and just doing it when dts was equal wasn't enough.
Maybe do both checks, then select the pos based version aslong as the
difference in dts is less than some fixed value. Sadly that value will be
rather arbitrary :/.
Any other thoughts?
Regards
More information about the ffmpeg-devel
mailing list