All output audio tracks marked as 'default' when including multiple input audio selectors

0

I'm trying to create video files with audio tracks for multiple languages. My input is a video file with an English track, then separate audio files for each additional language. I followed this AWS blog post with instructions on how to do this, but the output created when I follow the instructions has every audio stream marked as 'default'. When I play the file on iOS, all audio tracks play simultaneously.

When I use ffmpeg to change the dispositions of the audio tracks (I changed all the non-english tracks from 'default' to 'dub') this works correctly.

How can I get MediaConvert to produce an output with properly annotated audio tracks?

This is the ffprobe output for my output file from MediaConvert:

  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: isomavc1mp42
    creation_time   : 2024-04-11T20:10:07.000000Z
  Duration: 00:05:34.71, start: 0.000000, bitrate: 5642 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5243 kb/s, 24 fps, 24 tbr, 24k tbn (default)
    Metadata:
      creation_time   : 2024-04-11T20:10:07.000000Z
      handler_name    : ETI ISO Video Media Handler
      vendor_id       : [0][0][0][0]
      encoder         : Elemental H.264
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2024-04-11T20:10:07.000000Z
      handler_name    : ETI ISO Audio Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](fra): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2024-04-11T20:10:07.000000Z
      handler_name    : ETI ISO Audio Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:3[0x4](ger): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2024-04-11T20:10:07.000000Z
      handler_name    : ETI ISO Audio Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:4[0x5](spa): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2024-04-11T20:10:07.000000Z
      handler_name    : ETI ISO Audio Media Handler
      vendor_id       : [0][0][0][0]
已提问 1 个月前102 查看次数
2 回答
0

Under the Advanced dropdown in your audio output encoding settings change your Audio type control from "Follow input" to "Use configured" the set the Audio type accordingly (The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.). Your output audios are marked as (default) because you are using the Audio type control to Follow input

AWS
Nuno_Q
已回答 1 个月前
  • I looked into using those, but couldn't find a list of everything listed in ISO-IEC 13818-1 that wasn't behind a paywall. None of the listed options map to the dispositions I would use in ffmpeg. If that is the exhaustive list, which one translates to default? Which translates to nothing?

-1

Hello,

From your note, I understand the output created has every audio stream marked as 'default'. You need to know how you can get MediaConvert to produce an output with properly annotated audio tracks.

You can follow the below steps to produce properly annotated audio tracks :

(i) Insert Language code–embedded audio tracks in the Input

(ii) Add them as Audio selectors in the Job input, specifying the Selector type as Language code. Enter image description here

(iii) Reference the created Audio Selectors in the corresponding Output settings > Encoding settings . Enter image description here

已回答 1 个月前
profile picture
专家
已审核 1 个月前
  • This is just reiterating exactly what is in the blog post I linked, and is what I am already doing. My case is slightly different because my audio tracks are all separate files, so I am configuring the audio selectors to use track selection and an external file.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容