Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4472 closed defect (wontfix)

AAC copy from stream without encoding fails

Reported by: steinrr Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: mkv aac regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:

The commit referenced below breaks capturing valid AAC streams without reencoding them. The change from WARNING to ERROR makes it impossible to capture streams that were captured OK earlier.

This is the earlier version:

This is the new version with the commit:

How to reproduce:


ffmpeg -i,141,316,563,1266,2250,.mp4.csmil/index_4_av.m3u8 -map 0:v -map 0:a -c copy test.mkv

Works (with libvorbis encoding of AAC):

ffmpeg -i,141,316,563,1266,2250,.mp4.csmil/index_4_av.m3u8 -map 0:v -map 0:a -c:v copy test.mkv

Change History (5)

comment:1 Changed 5 years ago by steinrr

Note: The command line that now fails - did work in previous versions without the commit.

comment:2 Changed 5 years ago by cehoyos

  • Keywords mkv aac regression added
  • Priority changed from normal to important
  • Resolution set to wontfix
  • Status changed from new to closed
  • Version changed from 2.6.1 to git-master

For future tickets: Please always test current FFmpeg git head and always provide your failing command line together with the complete, uncut console output. Do not provide screen shots unless specifically asked to.

It was decided that this ticket will not be fixed, the output files were invalid:

comment:3 Changed 5 years ago by cehoyos

Related to ticket #3175.

comment:4 Changed 5 years ago by steinrr

I see that the output files might "theoretically" be invalid, but the output files produced byt the old version clearly worked fine in MKV players. This patch degrades the usefulness of ffmpeg and makes it incompatible with e.g. NRK which is the main television network in Norway.

What is the issue by having a warning as before, and let the user decide if this is "useful enough" for him?

Last edited 5 years ago by steinrr (previous) (diff)

comment:5 Changed 5 years ago by cehoyos

If you really want this reverted (I hope you realize that I agree to some degree with you), I suggest you post an answer to the email I linked above or send an alternative (simpler) patch that just reverts the offending commit.

Note: See TracTickets for help on using tickets.