Opened 8 days ago

Last modified 8 days ago

#11183 open defect

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 8 days ago.
A mov file produced in QuickTime using the Trim feature which exhibits the bug in question

Change History (2)

by Dave Branagh-Miscampbell, 8 days 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, 8 days 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.

Note: See TracTickets for help on using tickets.