[FFmpeg-devel] [PATCH v2] aacdec: add support for dual mono in Japanese DTV

Michael Niedermayer michaelni at gmx.at
Sat Sep 15 03:54:38 CEST 2012


On Sat, Aug 25, 2012 at 08:30:54PM +0900, atsukada at users.sourceforge.net wrote:
> From: Akihiro Tsukada <atsukada at users.sourceforge.net>
> 
> Japanese DTV uses some non standard extensions in AAC audio.
> One example is 'dual mono', which combines two independent
> audio into one stereo stream, storing them in left and right channels
> respectively.  Historically, dual mono audio has been used for
> multi-lingual audio, one for local/native language, and another for english,
> and usually the "main" (local language) channel should be output without
> any user interactions.
> 
> The frames of those dual mono audio are allowed to set
> ADTS channel_config field to 0, and just contain two SCE's *WITHOUT* PCE,
> which is a non standard extension by Japanese DTV standard.
> (ref. ARIB STD-B32 PartII 5.2.3)
> 
> This patch adds an AVPacket side data, AV_PKT_DATA_JP_DUALMONO,
> which indicates that the AVPacket is likely to contain an audio frame
> with the above dual mono extension, and has the parameter to specify
> the desired channel selection in that case.
> It also makes aacdec to detect dual mono and output just the desired
> channel when this side data is attached.
> 
> Signed-off-by: Akihiro Tsukada <atsukada at users.sourceforge.net>

patch applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120915/e1fe4950/attachment.asc>


More information about the ffmpeg-devel mailing list