Skip to content

5.1 encoding with iamf-tools results in four streams #42

@Kurville

Description

@Kurville

Since 5.1 encoding with FFmpeg 8 is problematic (see #41), I encoded with iamf-tools and MP4Box, with the textproto for 5.1 Opus.

The result of this is an .iamf file with four audio streams. Once combined with the video, it keeps the four audio streams and once uploaded on YouTube, only the first audio stream is played back, the Left/Right couple.

Looking at the textproto, I see this and I think that maybe explains it?

audio_element_metadata { audio_element_id: 300 audio_element_type: AUDIO_ELEMENT_CHANNEL_BASED reserved: 0 codec_config_id: 200 audio_substream_ids: [0, 1, 2, 3] scalable_channel_layout_config { reserved: 0 channel_audio_layer_configs: [ { loudspeaker_layout: LOUDSPEAKER_LAYOUT_5_1_CH output_gain_is_present_flag: 0 recon_gain_is_present_flag: 0 reserved_a: 0 substream_count: 4 coupled_substream_count: 2

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions