[FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.

C.H.Liu liuchh83 at gmail.com
Wed Mar 6 09:46:52 EET 2019


Yes. Patch aa25198f1b925a464bdfa83a98476f08d26c9209 works to ticket 7572
luckily. To reproduce #7572, need to revert this patch first.
As we talked, #7572 has a deeper reason. Mov demuxer consider that
fragmented index is completed if a ‘sidx’ point to the end of the file. But
there may be other ‘sidx’ for other tracks. If we skip the tail from there,
we will missing the last ‘sidx’ and ‘moof’. Then AV_NOPTS_VALUE occurs.

On Wed, Mar 6, 2019 at 2:35 AM Anthony Recascino <agrecascino123 at gmail.com>
wrote:

> the bug that caused the hang is absolutely still present, the fix that was
> pushed was only fixing the surface level issue of the hang.
>
>
> > On Mar 5, 2019, at 11:28 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
> wrote:
> >
> > 2019-03-05 17:02 GMT+01:00, Charles Liu <liuchh83 at gmail.com>:
> >> 1. organize fragmented information according to the tracks.
> >> 2. do NOT skip the last boxes of fragmented info.
> >
> >> ticket #7572
> >
> > Assuming the ticket is not reproducible for you with current
> > FFmpeg git head (it wasn't for me two weeks ago), please
> > reword this so it is clear you saw an issue looking at this
> > ticket (and its fix) but that this commit does not fix a bug
> > that is still reproducible with the files and command line(s)
> > provided there.
> >
> > Or do I misunderstand?
> >
> > Carl Eugen
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list