Opened 3 years ago

Closed 3 years ago

Last modified 17 months ago

#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: shq
Cc: krzys95@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Version:
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

https://drive.google.com/drive/folders/14SZmwc6qoh9mfECveTPVvCfwyO90wf29

Change History (8)

comment:1 by ianshade, 3 years ago

Cc: krzys95@gmail.com added

comment:2 by ianshade, 3 years ago

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

comment:3 by mkver, 3 years 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, 3 years ago

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

comment:5 by Elon Musk, 3 years ago

How output of bad file should look like?

comment:6 by ianshade, 3 years 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, 3 years ago

Resolution: fixed
Status: newclosed

comment:8 by Carl Eugen Hoyos, 17 months ago

Keywords: shq added; speedhq removed
Note: See TracTickets for help on using tickets.