Skip to content

Parse the 222, SGRP and Undefined channel order groups - #553

Open
garethsb wants to merge 1 commit into
sony:masterfrom
garethsb:feature/channel-order-groups
Open

garethsb wants to merge 1 commit into
sony:masterfrom
garethsb:feature/channel-order-groups

Conversation

@garethsb

Copy link
Copy Markdown
Contributor

nmos::parse_fmtp_channel_order returned no channel symbols for a channel-order that contained a 22.2 Surround (222), SDI audio group (SGRP) or Undefined (U01 to U64) group. That includes the default order of a stream, e.g. SMPTE2110.(U02). A Node that builds its audio Source from an SDP therefore had to treat every channel as undefined, even when the rest of the channel-order named them.

Each of those groups now gives one channel symbol per channel:

  • An Undefined group of n channels gives U01 to Un. The test for SMPTE ST 2110-30 Section 6.2.2 Example 2, previously commented out, now passes: SMPTE2110.(M,M,M,M,ST,U02) gives M1, M1, M1, M1, L, R, U01, U02.
  • An SDI audio group gives U01 to U04.
  • A 22.2 Surround group gives L, R, C, LFE, Lrs, Rrs, Lc, Rc, Cs, U10, Lss, Rss, U13 to U24.

The channel symbols defined in NMOS cannot indicate a 22.2 Surround or SDI audio group exactly. The new nmos::channel_symbols::S222 and nmos::channel_symbols::SGRP in nmos/channels.h are the closest representation, alongside S51 and S71.

The 22.2 channel order comes from SMPTE ST 2036-2:2008 Table 1. IS-04 takes its channel symbols from VSF TR-03 Appendix A, which developed them from SMPTE ST 428-12:2013 and SMPTE ST 2067-8. ST 428-12 Annex B describes the loudspeaker position of each channel symbol. A 22.2 channel gets the channel symbol whose loudspeaker position matches its own:

22.2 channel (ST 2036-2) Channel symbol (ST 428-12 Annex B)
FL, FR, FC, LFE1 L, R, C, LFE
BL, BR (back left, back right) Lrs, Rrs (rear wall, to the left and right)
FLc, FRc (between front center and front left or right) Lc, Rc (between the Center and Left or Right screen loudspeakers)
BC (back center) Cs (center of the rear wall)
SiL, SiR (left and right side) Lss, Rss (along the left and right sides of the room)

The other twelve channels, LFE2 and the top and bottom layers, have no channel symbol, so they get the Undefined channel symbol of their number in the group, e.g. LFE2 is U10. LFE is not repeated for LFE2, because two channels with the same symbol would indicate the same loudspeaker.

nmos::make_fmtp_channel_order still does not produce 222 or SGRP. The channel symbols do not identify those groups, e.g. U01 to U04 are also an Undefined group of four channels.

Co-authored-by: Gareth's 🤖 buddy

nmos::parse_fmtp_channel_order returned no channel symbols for a
channel-order that contained a 22.2 Surround (222), SDI audio group
(SGRP) or Undefined (U01 to U64) group, including the default order
of a stream, e.g. SMPTE2110.(U02).

An Undefined group of n channels now gives the channel symbols U01 to
Un. The channel symbols defined in NMOS cannot indicate a 22.2
Surround or SDI audio group exactly, so the new nmos::channel_symbols
S222 and SGRP are the closest representation. They use the channel
symbol of the same loudspeaker position, where there is one, and the
Undefined channel symbol of the channel's number in the group
otherwise. A 22.2 Surround group gives L, R, C, LFE, Lrs, Rrs, Lc, Rc,
Cs, U10, Lss, Rss and U13 to U24, and an SDI audio group gives U01 to
U04.

nmos::make_fmtp_channel_order still does not produce 222 or SGRP.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant