Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#11027 closed defect (fixed)

avformat/mov: infe box version 0 causes parsing to fail

Reported by: Kai Hendry Owned by:
Priority: normal Component: avformat
Version: 7.0 Keywords: mp4
Cc: MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

This media is produced by the popular Sony Alpha ILCE-7M4 aka "Sony Alpha A7 IV".

https://s.natalian.org/2024-05-24/20240524_a70918.MP4

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x135e063e0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x135e063e0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1001.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x135e063e0] infe: version < 2 not supported
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x135e063e0] error reading header
20240524_a70918.MP4: Not yet implemented in FFmpeg, patches welcome

Attachments (1)

ffprobe-20240524-205614.log (3.1 KB ) - added by Kai Hendry 4 months ago.

Download all attachments as: .zip

Change History (5)

by Kai Hendry, 4 months ago

Attachment: ffprobe-20240524-205614.log added

comment:1 by Kai Hendry, 4 months ago

JEEB: that has since been fixed by commit 5b9db32ccc9426dc2aa37f21eee4c9efd1baf75b

comment:2 by jeeb, 4 months ago

Yes, so this metadata box parser initially returned an error (AVERROR_PATCHWELCOME) when finding an unsupported version of the box.

That commit is indeed where it got fixed on master, and it was back-ported to release/7.0 as ed55219eddc96f6c41f88069d7e492976002f528 .

So both master and release/7.0 branches are both fixed with regards to this, and you should only get the warning regarding an unsupported infe box version (this sample contains version 0). This box is specified in 14496-12 (one can search for the 2015 edition PDF to find the last freely distributed version, which does include this definition).

comment:3 by jeeb, 4 months ago

Resolution: fixed
Status: newclosed
Summary: 20240524_a70918.MP4: Not yet implemented in FFmpegavformat/mov: infe box version 0 causes parsing to fail
Version: unspecified7.0

comment:4 by MasterQuestionable, 4 months ago

Cc: MasterQuestionable added
Component: undeterminedavformat
Keywords: mp4 added

͏    Would "-use_editlist 0" workaround?

Version 0, edited 4 months ago by MasterQuestionable (next)
Note: See TracTickets for help on using tickets.