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

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

 Apple spec: https://developer.apple.com/documentation/quicktime-file-
 
format/preparing_sound_and_subtitle_alternate_groups_for_use_with_apple_devices/

 ./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:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to