#9111 closed defect (fixed)

"Invalid data found when processing input" on certain SpeedHQ mov files

Reported by: ianshade Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: speedhq
Cc: krzys95@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
I am trying to transcode an mov file with video stream encoded in SpeedHQ codec. The resolution of the file is 360x640. The files to decode and I encounter the following error:

Error while decoding stream #0:0: Invalid data found when processing input

How to reproduce:

./ffmpeg.exe -i .\speedhq_360x640_invalid_data_found.mov output.mp4

A similar file but with 640x360 video stream is decoded correctly. The error seems to be related to the resolution of the stream.

automated build from master by gyan.dev
last commit 8331eb058d884897aca2ef62ac9b98b536caec6e

ffmpeg version 2021-02-16-git-8331eb058d-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)

The files attached:

  1. speedhq_360x640_invalid_data_found.mov - the file that fails to decode
  2. speedhq_640x360_ok.mov - a 640x360 file that decodes correctly
  3. ffmpeg-20210220-142605.log - a log file produced with -report


Change History (7)

comment:1 by ianshade, 17 months ago

Cc: krzys95@gmail.com added

comment:2 by ianshade, 17 months ago

It should say "The file fails to decode" in the summary.

comment:3 by mkver, 17 months ago

What makes you believe that the 360x640 file is not simply invalid? Is there a decoder that correctly decodes it?

comment:4 by ianshade, 17 months ago

The 360x640 file is decoded correctly by Premiere Pro with NDI Import I/O for Adobe CC plugin.

comment:5 by Elon Musk, 17 months ago

How output of bad file should look like?

comment:6 by ianshade, 17 months ago

Both video files contain static color bars. The bad one is rotated 90 degrees. I uploaded first frames of both files exported as PNG files by Premiere Pro to the gdrive folder linked above. If it could help, I can provide video files with any other content and of any length. Please let me know if instead of the gdrive folder you prefer attaching the files directly to this ticket or uploading them to the FTP. Thanks.

comment:7 by Elon Musk, 16 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.