Opened 3 days ago
Last modified 2 days ago
#11223 new defect
"-map 0:a" alike did not skip streams tagged disabled
Reported by: | markshw2222 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | tools |
Version: | git-master | Keywords: | stream_map |
Cc: | MasterQuestionable | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
IPhone 16 introduced spatial audio. They use multiple audio tracks to carry audio. One track is enabled the other is disabled. When specifying -map 0:a ALL audio tracks are iterated including disabled tracks.
In this case, the disable track also have no audio codec set, so conversion fails
./ffmpeg -y -i ~/Downloads/spatial_audio_test.MOV -map 0:v -map 0:a -c:v copy -c:a aac ~/multiaudio.mp4
Failure:
[aist#0:2/none @ 0x14a709b50] Decoding requested, but no decoder found for: none
Attachments (1)
Change History (5)
by , 3 days ago
Attachment: | spatial_audio_test_short.MOV added |
---|
comment:1 by , 3 days ago
Description: | modified (diff) |
---|
comment:2 by , 2 days ago
comment:3 by , 2 days ago
Description: | modified (diff) |
---|
comment:4 by , 2 days ago
Cc: | added |
---|---|
Component: | undetermined → tools |
Keywords: | stream_map added |
Summary: | -map 0:a does not skip disabled tracks → "-map 0:a" alike did not skip streams tagged disabled |
Version: | unspecified → git-master |
͏ Alike non-sense but worse:
͏ https://trac.ffmpeg.org/ticket/11201#comment:7
͏ Is such bloat-ware practice akin to their software philosophy..?
Note: if I'm explicit with track selection:
-map 0:a:1 - will fail as I select the disabled track (with bad codec)
-map 0:a:0 - will pass as I select the good track