[FFmpeg-devel] [PATCH] lavf/mov.c: Fallback to finding non-keyframe in fix_index, if keyframe search fails.

Sasi Inguva isasi at google.com
Sun Nov 6 06:38:23 EET 2016


When I play the file using Quicktime Player 7 , it errs out saying "invalid
public movie atom found" . Quicktime 10.4 shows a black screen . Even vlc
doesn't play the video. It's true that it used to work before, but  don't
know if we need to support it.

On Sat, Nov 5, 2016 at 10:25 PM, Derek Buitenhuis <
derek.buitenhuis at gmail.com> wrote:

> On 11/4/2016 9:53 PM, Sasi Inguva wrote:
> > So, if I am not wrong, the only case when that would happen is, if edit
> > list media time was < 0 . And that would be a corrupt MOV file, unless
> edit
> > list media time = -1.
> > I tried to create such a file with AtomInspector but it doesn't let me.
>
> FWIW, this also used 'work'. I made an example file in a hex editor:
>
>     https://transfer.sh/OPAkZ/out.mp4.xz (URL is good for 14 days.)
>
> Near as I can tell, negative entries in .mov are actually allowed,
> since mov timestamps are signed (ISOBMFF's are unsigned).
>
> My opinion is that this failure should go under explode mode
> (AV_EF_EXPLODE),
> and by default adjust to the first timestamp, as long as it's
> possible/makes
> sense. This is, of course, just my opinion. I hope someone else from FFmpeg
> will reply and chime in with theirs.
>
> Cheers,
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list