[FFmpeg-devel] IEC61937 compatible muxer
Carl Eugen Hoyos
cehoyos
Wed Jun 16 13:58:12 CEST 2010
Bartlomiej Wolowiec <bartek.wolowiec <at> gmail.com> writes:
> Here is IEC61937 compatible muxer. It can be used for sending compressed data
> over S/PDIF link. It's currently not very useful, but can be tested by:
> ./ffmpeg -y -i test_48khz.dts -acodec copy -f spdif test.spdif && ./ffmpeg -ar
> 48000 -f s16le -ac 2 -i test.spdif -f alsa plughw:0
I finally successfully tested playing test.spdif with
aplay -Dplughw:1,3 -t raw -r 48000 -f S16_LE -c 2 test.spdif
(1,3 is hdmi, it also works with -Diec958)
Note that -c 2 is always needed!
ffmpeg -f alsa always shows this error for me if I use the same plughw as above:
av_interleaved_write_frame(): Resource temporarily unavailable
Does anybody have suggestions on how spdif_header_eac3() should look like? Using
spdif_header_ac3() leads to silence for eac3 (with the receiver showing "Dolby
Digital" so I guess we first need IEC958_EAC3).
I would happily test guesses.
Carl Eugen
More information about the ffmpeg-devel
mailing list