[FFmpeg-trac] #11224(undetermined:new): -filter_complex "[0:a] ..." does not skip disabled tracks
FFmpeg
trac at avcodec.org
Thu Oct 3 01:44:26 EEST 2024
#11224: -filter_complex "[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
> filter_complex "[0:a]..." the first audio track is selected, even it is
> disabled
> In this case, the disable track also have no audio codec set, so
> conversion fails
>
> ./ffmpeg -y -i ~/Downloads/spatial_audio_test_swapped_short.MOV -map 0:v
> -c:v copy -filter_complex "[0:a] asetpts=PTS-STARTPTS [output_audio]"
> -map '[output_audio]' -c:a aac ~/multiaudio.mp4
>
> [aist#0:1/none @ 0x122609b40] 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
filter_complex "[0:a]..." the first audio track is selected, even it is
disabled
Apple spec: https://developer.apple.com/documentation/quicktime-file-
format/preparing_sound_and_subtitle_alternate_groups_for_use_with_apple_devices/
In this case, the disable track also have no audio codec set, so
conversion fails
./ffmpeg -y -i ~/Downloads/spatial_audio_test_swapped_short.MOV -map 0:v
-c:v copy -filter_complex "[0:a] asetpts=PTS-STARTPTS [output_audio]"
-map '[output_audio]' -c:a aac ~/multiaudio.mp4
[aist#0:1/none @ 0x122609b40] Decoding requested, but no decoder found
for: none
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11224#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list