Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] AW:Playback MP3 over the DVB-S Device ?



Marcus O.C. Metzler wrote:
> If you can generate a PCM output and use the PES standard for PCM (as
> found on some/many music video DVDs) packages you can play them on the DVB
> card. It should be possible to get e.g. mpg123 to do that. You can do
> the same for AC3. Use ac3dec to get PCM and from that generate PCM PES
> and pipe it into the card.

I extracted the part from dvdplayer by Matjaz Thaler where PCM PES is
sent to the DVB device and wrote a small program which takes a raw PCM
stream and converts it to PCM PES.
You can download it at http://www.uni-karlsruhe.de/~unhj/raw2pcm.c
Usage: mpg123 -r 48000 --cdr - XXX.mp3 | raw2pcm >/dev/video
Input must be PCM, stereo, 16 bit signed, 48 KHz, big endian.

-- 
Harald Westphal  ***  eMail: h.westphal@gmx.de
                 ***  WWW: http://www.uni-karlsruhe.de/~Harald.Westphal/


--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index