Opened 11 months ago

Last modified 11 months ago

#5911 open defect

Error reading MOV file

Reported by: FishB8 Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I have a mov file recorded on an AJA KiPro?. I've never had a problem with the files from this device until now.

The contents should contain "Apple ProRes? 422(LT)" for the video stream, and "pcm_s24le" for the audio streams, plus a "tmcd" timecode.

This particular file will open and play with quicktime without audio, so something in one or both of the audio tracks is messed up. Oddly enough VLC for MacOS manages to open and play with audio.

With ffmpeg I get the following:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f426c0093e0] Invalid sample_count=-1744855732
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f426c0093e0] error reading header

This is using ffmpeg-3.1.5. I can build and test with current head if that would seem to make any difference.

The file is rather large (368G) so let me know how I can submit a chunk that is just large enough to provide enough info to work with

Change History (8)

comment:1 Changed 11 months ago by cehoyos

Without a sample, fixing a possible issue will not be possible. Our upload server does not work currently, please use a filehoster of your choice.

comment:2 follow-up: Changed 11 months ago by FishB8

Is there any way to provide a sample without loading the entire file? Is the header alone enough to figure out what the issue is. I don't know of many filehosters that can deal with a 368G file.

comment:3 Changed 11 months ago by FishB8

See if this is enough.

Here's the front 2k (base64)

AAAAIGZ0eXBxdCAgIAUDAHF0ICAAAAAAAAAAAAAAAAAAAAABbWRhdAAAAFv2IFB0AANhYGljcGYA
lAAAYWphMAUAAtCBAAAAAgAAAwQFBgcJCw0PBQUHCAsNDxEGBwkLDQ8PEQcHCQsNDxETBwkLDQ4Q
ExcJCw0OEBMXHQkLDQ8RFRwjCw0QERUcIykEBQYHCQsNDwUFBwgLDQ8RBgcJCw0PDxEHBwkLDQ8R
EwcJCw0OEBMXCQsNDhATFx0JCw0PERUcIwsNEBEVHCMpQAADYI8BwjABrQFyAPAA2QDfAPAA+gDr
APcBcAHDAVQA+gDmAO8BAQDvAP0A9gE2AcIBKADoAO4BAQDsAQoA/gDiASoBpw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OnJq/p89aJqNyfV
L67bcWWlfzuLP4nzHhn58ExWbpnf3w/Y9/48mDOAMAMAogAoBSNZJpNFFmS0M+N6yexbIxIPtCYG
2vz/999O979tZ+uX+vE/3cs/cs793f8TXXLf/Tvv6vs/3d3f6r/+lxb0E72CXX+4v775zl/ixunw
ap+//C/mFifBGueWc9/Bstx77Zx7yz8L/dmCf7n4/hMRk1izhd5/4bfwuSNidsJ9wnYM0y0=

Here's the tail 2k (base64), which contains the atoms that should be of interest.

AABb8325GAAAAFvzgTFIAAAAW/OErCgAAABb84gl+AAAAFvzi5/oAAAAW/OPGwgAAABb85KUGAAA
AFvzlg6wAAAAW/OaopQAAABb854bwAAAAFvzoZO0AAAAW/OlDnQAAABb86iIBAAAAFvzq//sAAAA
W/OvejwAAABb87Lz0AAAAFvztm0wAAAAW/O555gAAABb871gpAAAAFvzwNlgAAAAW/PEURQAAABb
88fLEAAAAFvzy0R0AAAAW/PP1xwAAABb89NSTAAAAFvz1sq0AAAAW/PaRiQAAABb893BGAAAAFvz
4TscAAAAW/PktiAAAABb8+gvkAAAAFvz66lMAAAAW/PvIsQAAABb8/KedAAAAFvz9hnIAAAAW/P5
k5AAAABb8/0NLAAAAFv0AIiEAAAAW/QFG+wAAABb9AiWFAAAAFv0DBAQAAAAW/QPiRwAAABb9BMC
lAAAAFv0FnvYAAAAW/QZ9LgAAABb9B1tjAAAAFv0IObsAAAAW/QkX9AAAABb9CfZ8AAAAFv0K1FI
AAAAW/Quy+QAAABb9DJGZAAAAFv0NcBcAAAAW/Q6UkAAAABb9D3LxAAAAFv0QUdIAAAAW/REwyAA
AABb9Eg8IAAAAFv0S7b8AAAAW/RPMbQAAABb9FKsvAAAAFv0VibQAAAAW/RZnRQAAABb9F0XoAAA
AFv0YJGsAAAAW/RkCvAAAABb9GeFAAAAAFv0av28AAAAW/RvkUgAAABb9HMKxAAAAFv0doRcAAAA
W/R5/lAAAABb9H14PAAAAFv0gPB8AAAAW/SEaaQAAABb9IfiqAAAAF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16xvMAAAAW/XulJAAAABb9fINhAAA
AFv19YiAAAAAW/X5AMgAAABb9fx6pAAAAFv1//WoAAAAW/YDb7QAAABb9gbpuAAAAFv2CmJYAAAA
W/YN2mgAAABb9hFTMAAAAFv2FM1MAAAAW/YZX/AAAABb9hzX0AAAABR0cmVmAAAADHRtY2QAAAAE
AAAB9XRyYWsAAABcdGtoZAAAAA7UL/651C/+uQAAAAQAAAAAEvsYgAAAAAAAAAAAAAAAAAAAAAAA
AQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAtAAAEAAAAAFAAAAABQAAAAAAZFtZGlhAAAAIG1k
aGQAAAAA1C/+udQv/rkAABdqEvsYhAAAAGQAAABFaGRscgAAAABtaGxydG1jZAAAAAAAAAAAAAAA
ACRMaWJxdWlja3RpbWUgVGltZSBDb2RlIE1lZGlhIEhhbmRsZXIAAAEkbWluZgAAAE9nbWhkAAAA
GGdtaW4AAAAAAECAAIAAgAAAAAAAAAAAL3RtY2QAAAAndGNtaQAAAAEAAAAAAAwAAP///////wAA
AAAAAAZTeXN0ZW0AAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMYWxpcwAAAAEAAACpc3RibAAA
AEFzdHNkAAAAAAAAAAEAAAAxdG1jZAAAAAAAAAABAAAAAAAAAAYAABdqAAAAZDwAAAAAD25hbWUA
AwAAMDAxAAAAGHN0dHMAAAAAAAAAAQAAAAES+xiEAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAA
AQAAABRzdHN6AAAAAAAAAAQAAAABAAAAGGNvNjQAAAAAAAAAAQAAAFv2IFCQAAAACHVkdGE=

comment:4 in reply to: ↑ 2 Changed 11 months ago by cehoyos

Replying to FishB8:

Is there any way to provide a sample without loading the entire file? Is the header alone enough to figure out what the issue is. I don't know of many filehosters that can deal with a 368G file.

Why don't you upload the first 100MB?

comment:6 Changed 11 months ago by cehoyos

Use tools/qt-faststart to move the moov atom of the original (complete) file in front, then verify that the new (large) file plays fine with vlc and upload the first 100MB of the new file.

comment:7 Changed 11 months ago by FishB8

Ah, thanks. I had assumed qt-faststart would have bailed the same way ffmpeg / ffprobe did. Good to know.

Confirmed it does play (with audio) in VLC.

Updated Link:

https://drive.google.com/file/d/0Bx8bKrES4nIFOUdwQXZUVmpMZ1k/view?usp=drivesdk

comment:8 Changed 11 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Regression since 143a19f5 / c2319876, see also ticket #5771.

Note: See TracTickets for help on using tickets.