[FFmpeg-devel] [PATCH]Add defined unusual data types for spdif
Fri Jun 18 11:22:22 CEST 2010
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> Attached data_types for IEC958 are defined in the specification.
> While I can't test them (which receiver knows any of those types including AAC
> and MPEG audio?), I believe it makes sense to have documented which data types
> exist at all.
> I will add the others as soon as I can convince my receiver to show "DTS HD"
> for 0x11.
> Please comment, Carl Eugen
> Index: libavformat/spdif.c
> --- libavformat/spdif.c (revision 23639)
> +++ libavformat/spdif.c (working copy)
> @@ -61,6 +61,10 @@
> IEC958_DTS1 = 0x0B, ///< DTS type I (512
> IEC958_DTS2 = 0x0C, ///< DTS type II (1024
> IEC958_DTS3 = 0x0D, ///< DTS type III (2048
> + IEC958_ATRAC = 0x0E, ///< Atrac data
> + IEC958_ATRAC3 = 0x0F, ///< Atrac 3 data
> + IEC958_ATRACX = 0x10, ///< Atrac 3 plus data
> + IEC958_WMAPRO = 0x12, ///< WMA 9 Professional data
> IEC958_MPEG2_AAC_LSF_2048 = 0x13, ///< MPEG-2 AAC ADTS half-rate
low sampling frequency
> IEC958_MPEG2_AAC_LSF_4096 = 0x13 | 0x20, ///< MPEG-2 AAC ADTS quarter-
rate low sampling frequency
> ffmpeg-devel mailing list
> ffmpeg-devel <at> mplayerhq.hu
I'm not sure how you are sending this. But asfar as I know DTSHD and or EAC3
doesn't fit over a standard spdif output. Well eac3 may, at higher sample rates
Some interesting reference on how this is handled for HDMI on windows is
available here. Might be worth following. For example dolby truehd is sent with
8 channel output at 192000Hz.
More information about the ffmpeg-devel