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]
질문됨 한 달 전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
답변함 한 달 전
  • 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

답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠