Opened 22 months ago

Closed 2 weeks ago

#11183 closed defect (fixed)

When processing a video with fpcm audio, ffmpeg always produces an error

Reported by: Dave Branagh-Miscampbell Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: quinkblack@foxmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

When processing a video with an audio track with fpcm encoding (produced via QuickTime), ffmpeg always produces the following error

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x123104280] Unsupported 'chnl' box with version 1, flags: 0error reading header
[in#0 @ 0x6000018e4000] Error opening input: Invalid data found when processing input
Error opening input file AssetVideo_original.mov.
Error opening input files: Invalid data found when processing input

How to reproduce:

  1. Open a video with an audio track in QuickTime
  2. Trim the video using the built-in QuickTime tools
  3. Save the video
  4. The resultant video has an fpcm Audio codec
  5. Attempt to load the video using ffmpeg -i [PATH TO VIDEO]
  6. FFMPEG produces the error message described above

Attachments (1)

QuickTimeTrimmedMovie.mov (2.1 MB ) - added by Dave Branagh-Miscampbell 22 months ago.
A mov file produced in QuickTime using the Trim feature which exhibits the bug in question

Change History (3)

by Dave Branagh-Miscampbell, 22 months ago

Attachment: QuickTimeTrimmedMovie.mov added

A mov file produced in QuickTime using the Trim feature which exhibits the bug in question

comment:1 by Gyan, 22 months ago

Cc: quinkblack@foxmail.com added; Dave Branagh-Miscampbell removed
Component: undeterminedavformat
Status: newopen
Version: 7.0git-master

This is a regression since d7e864366be2c4807d6d0796177051ad32c6378d
Use 6.0 or older versions for such files.

This is a QT branded file with a chnl box instead of a chan box as expected by ffmpeg.
May be better to fall back on default layout assignment in these cases rather than aborting.

comment:2 by James, 2 weeks ago

Resolution: fixed
Status: openclosed

Fixed in cd92ef77c95d3483b29089d09142bc1eb0b1df2b, and backported to release/8.1, release/8.0, release/7.1, and release/7.0 branches.

Note: See TracTickets for help on using tickets.