afnf.net

RFC7310日本語訳 (1)

RFC7310 apt-X 2014/11/02 19:19

RFC7310を適当に日本語訳してみました。これはapt-XのRTPパケット化に関するRFCですが、一部apt-Xコーデックに関する記載があります。

ちなみにRTPというのは、AVDTPの元になっているプロトコルです。A2DPから見たスタックは以下のようになっています。

A2DP(オーディオ機器用プロファイル、CodecとしてSBC/AAC/apt-Xなどが使われる)
 ↑
GAVDP(一般オーディオ/ビデオ配信プロファイル)
 ↑
AVDTP(AVストリーム伝送通信プロトコル)
 ↑
L2CAP(機器間の論理チャンネルを制御)
 ↑
ハードウエア(LMP、ベースバンド、無線)

前置きが長くなりました。では本題。


RTP Payload Format for Standard apt-X and Enhanced apt-X Codecs

(Standard apt-X または Enhanced apt-XのためのRTPペイロードフォーマット)

Abstract(概要)

This document specifies a scheme for packetizing Standard apt-X or Enhanced apt-X encoded audio data into Real-time Transport Protocol (RTP) packets. The document describes a payload format that permits transmission of multiple related audio channels in a single RTP payload and a means of establishing Standard apt-X and Enhanced apt-X connections through the Session Description Protocol (SDP).

 このドキュメントでは、リアルタイムトランスポートプロトコル(RTP)パケットに、Standard apt-X または Enhanced apt-Xで符号化された音声データをパケット化するための仕組みを明示する。この文書は、関連する複数のオーディオチャンネルを単一のRTPペイロードで送信出来るようにするペイロードフォーマットと、セッション記述プロトコル(SDP)を介してStandard apt-X または Enhanced apt-X接続を確立する手段を記述する。

1. Introduction(導入)

This document specifies the payload format for packetization of audio data encoded with the Standard apt-X or Enhanced apt-X audio coding algorithms into the Real-time Transport Protocol (RTP) [RFC3550].

 このドキュメントでは、リアルタイムトランスポートプロトコル(RTP)[RFC3550]において、Standard apt-X または Enhanced apt-Xオーディオ符号化アルゴリズムでエンコードされたオーディオデータをパケット化するためのペイロードフォーマットを明示する。

The document outlines some conventions, a brief description of the operating principles of the audio codecs, and the payload format capabilities. The RTP payload format is detailed, and a relevant example of the format is provided. The media type, its mappings to SDP [RFC4566], and its usage in the SDP offer/answer model are also specified. Finally, some security considerations are outlined.

 このドキュメントは、いくつかの慣行、オーディオコーデックの動作原理の簡単な説明、およびペイロードフォーマット機能の概要を説明する。RTPペイロードフォーマットの詳細が記載されていて、フォーマットの関連する例も提供される。メディアタイプと、そのSDP[RFC4566]への対応付け、またSDPオファー/アンサーモデルでの使用も明示されている。最後に、いくつかのセキュリティ上の考慮事項の概要が説明される。

This document registers a media type (audio/aptx) for the RTP payload format for the Standard apt-X and Enhanced apt-X audio codecs.

このドキュメントでは、Standard apt-X または Enhanced apt-Xオーディオコーデック RTPペイロードフォーマットためのメディアタイプ(audio/aptx)を登録する。

2. Conventions(慣行)

This document uses the normal IETF bit-order representation. Bit fields in figures are read left to right and then down. The leftmost bit in each field is the most significant. The numbering starts from 0 and ascends, where bit 0 will be the most significant.

このドキュメントでは、通常のIETFビットオーダーの表現を使用している。図中のビットフィールドは左から右、そして下へ解釈される。各フィールドの左端のビットは最上位である。番号は0から始まって上昇し、ビット0が最上位となる。

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].

キーワード"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", "OPTIONAL"は、RFC2119に記載されているように解釈される。

3. Standard apt-X and Enhanced apt-X Codecs

Standard apt-X and Enhanced apt-X are proprietary audio coding algorithms, which can be licensed from CSR plc. and are widely deployed in a variety of audio processing equipment. For commercial reasons, the detailed internal operations of these algorithms are not described in standards or reference documents. However, the data interfaces to implementations of these algorithms are very simple and allow easy RTP packetization of data coded with the algorithms without detailed knowledge of the actual coded audio stream syntax.

 Standard apt-X または Enhanced apt-Xは、CSR plcからライセンスを得ることができるプロプラエタリのオーディオ符号化アルゴリズムで、オーディオ処理機器の様々に広く展開されている。商業上の理由のために、これらのアルゴリズムの詳細な内部動作は、標準化文章や参照文献に記載されていない。しかし、これらのアルゴリズム実装のデータインタフェースは非常にシンプルであり、実際に符号化されたオーディオストリームシンタックスに関する詳細な知識がなくても、このアルゴリズムで符号化されたデータを簡単にRTPパケット化できる。

Both the Standard apt-X and Enhanced apt-X coding algorithms are based on Adaptive Differential Pulse Code Modulation principles. They produce a constant coded bit rate that is scaled according to the sample frequency of the uncoded audio. This constant rate is 1/4 of the bit rate of the uncoded audio, irrespective of the resolution (number of bits) used to represent an uncoded audio sample. For example, a 1.536-Mbit/s stereo audio stream composed of two channels of 16-bit Pulse Code Modulated (PCM) audio that is sampled at a frequency of 48 kHz is encoded at 384 kbit/s.

Standard apt-X または Enhanced apt-X符号化アルゴリズムの両方とも、適応的差分パルス符号変調の原理に基づいている。これらは、符号化されていないオーディオのサンプリング周波数に応じてスケーリングされる一定の符号化ビットレートを生成する。この固定レートは、符号化されていないオーディオサンプルの分解能(ビット数)に関わらず、符号化されていないオーディオのビットレートの1/4である。例えば、48kHzの周波数でサンプリングされた16bitパルス符号変調(PCM)オーディオ 2チャンネルから構成される1.536Mbit/sのステレオオーディオストリームは、384kbit/sで符号化される。

Standard apt-X and Enhanced apt-X do not enforce a coded frame structure, and the coded data forms a continuous coded sample stream with each coded sample capable of regenerating four PCM samples when decoded. The Standard apt-X algorithm encodes four successive 16-bit PCM samples from each audio channel into a single 16-bit coded sample per audio channel. The Enhanced apt-X algorithm encodes four successive 16-bit or 24-bit PCM samples from each audio channel and respectively produces a single 16-bit or 24-bit coded sample per channel. The same RTP packetization rules apply for each of these algorithmic variations.

 Standard apt-X または Enhanced apt-Xは、コード化されたフレーム構造を強制しておらず、その符号化データは、復号後に4つのPCMサンプルを生成できるような符号化サンプルの連続列から成る。Standard apt-Xアルゴリズムは、オーディオチャンネルごとに、各オーディオチャンネルの連続する4つの16bit PCMサンプルを、1つの16bit符号化サンプルにエンコードする。Enhanced apt-Xアルゴリズムは、オーディオチャンネルごとに、各オーディオチャンネルの連続する4つの16/24bit PCMサンプルを、それぞれ1つの16/24bit符号化サンプルにエンコードする。これらのアルゴリズムのバリエーションのそれぞれに、同じRTPパケット化規則が適用される。

Standard apt-X and Enhanced apt-X coded data streams can optionally carry synchronization information and an auxiliary data channel within the coded audio data without additional overhead. These mechanisms can, for instance, be used when the IP system is cascaded with another transportation system and the decoder is acting as a simple bridge between the two systems. Since auxiliary data channel and synchronization information are carried within the coded audio data without additional overhead, RTP payload format rules do not change if they are present. Out-of-band signaling is required, however, to notify the receiver end when autosync and auxiliary data have been embedded in the apt-X stream.

 Standard apt-X または Enhanced apt-Xで符号化されたデータストリームは、必要に応じて、追加のオーバーヘッドなしに、符号化されたオーディオデータ内で同期情報と補助データチャンネルを搬送することができる。 これらのメカニズムは例えば、他の搬送システムに接続されたIPシステムや、2つのシステム間の単純なブリッジとして動作しているデコーダなどに使用することができる。補助データチャンネルと同期情報は、追加のオーバーヘッドなしで符号化された音声データの中で搬送されるため、それらが存在していてもRTPペイロードフォーマット規則は変更されない。しかしながら、自動同期や補助のデータがapt-Xストリームに埋め込まれたことを受信機端に通知するために、帯域外信号が必要になる。

Embedded auxiliary data is typically used to transport non-audio data and timecode information for synchronization with video. The bit rate of the auxiliary data channel is 1/4 of the sample frequency. For example, with a single audio channel encoded at Fs = 48 kHz, an auxiliary data bit rate of 12 kbit/s can be embedded.

埋め込まれた補助データは、典型的に、映像との同期のための非音声データおよびタイムコード情報を転送するために使用される。補助データチャンネルのビットレートは、サンプリング周波数の1/4である。例えば、fs=48kHzで符号化された単一のオーディオチャンネルには、12kbit/sの補助データビットレートを埋め込むことができる。

apt-X further provides a means of stereo-pairing apt-X channels so that the embedded autosync and auxiliary data channel can be shared across the channel pair. In the case of a 1.536-Mbit/s stereo audio stream composed of two channels of 16-bit PCM audio that is sampled at 48 kHz, a byte of auxiliary data would typically be fed into the Standard apt-X or Enhanced apt-X encoder once every 32 uncoded left channel samples. By default, apt-X channel-pairing is not enabled. Out-of-band signaling is required to notify the receiver when the option is being used.

apt-Xはさらに、埋め込まれた自動同期と補助データのチャンネルをチャンネルペア間で共有することができるようするための、apt-Xチャンネルのステレオペアリング手段を提供する。 48kHzでサンプリングされた16bitのPCMオーディオ2チャンネルからなる1.536Mbit/sのステレオオーディオストリームの場合には、典型的に、符号化されていない左チャンネルサンプル32個ごとに、1バイトの補助データがStandard apt-X または Enhanced apt-Xエンコーダに供給される。デフォルトでは、apt-Xチャンネルペアリングが有効になっていない。このオプションを使用する場合には、これを受信機端に通知するために、帯域外信号が必要になる。

Standard apt-X and Enhanced apt-X decoders that have not been set up with the correct embedded autosync, auxiliary data, and stereo-pairing information will play out uncoded PCM samples with a loss of decoding quality. In the case of Standard apt-X, the loss of quality can be significant.

埋め込みの自動同期・補助データ・ステレオペアリング情報が正しく設定されていないStandard apt-X または Enhanced apt-Xデコーダは、PCMサンプルの再生において復号品質の低下を伴う。Standard apt-Xの場合、その品質低下は顕著に成り得る。

Further details on the algorithm operation can be obtained from CSR plc.

アルゴリズムの動作に関する詳細については、CSR plcから得ることができる。


以上、3章までの訳でした。

Wikipediaにも記載がありますが、apt-XはADPCMベースなんですよね。ADPCMベースで1/4に圧縮していて、かつ低遅延でCD音質が実現できるというのは、結構凄い感じがします。

続き

RFC7310日本語訳 (2)

RFC7310 apt-X 2014/11/02 19:19
comments (0)

blog-java2 engine (build:2019-02-23 17:57 JST)