[FFmpeg-trac] #11223(undetermined:new): -map 0:a does not skip disabled tracks

FFmpeg trac at avcodec.org
Thu Oct 3 01:33:05 EEST 2024


#11223: -map 0:a does not skip disabled tracks
-------------------------------------+-------------------------------------
             Reporter:  markshw2222  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by markshw2222:

Old description:

> 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 inclusing 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

New description:

 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

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11223#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list