Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: hca on August 09, 2011, 11:32:00 AM

Title: options for non-gui audio streaming RTP mp2 decode and play
Post by: hca on August 09, 2011, 11:32:00 AM
I am currently streaming mic audio to a box with vlc to receive the stream. It works nicely, only thing was ffmeg seems to be compiled without mp3 lame option, thus mp2 codec.

ffmpeg -f oss -i /dev/dsp -acodec mp2 -ab 32k -ac 1 -re -f rtp rtp://192.168.1.70:1234



Any ideas about options from the tiny core apps to decode the mp2 rtp stream and feed it to the headphone socket?

I am looking for a command line, pipe style, hard coded solution. Small footprint to fit in a thin client 64M DOM if possible.

Reg hc
Title: Re: options for non-gui audio streaming RTP mp2 decode and play
Post by: Rich on August 09, 2011, 12:28:52 PM
Hi hca
You mentioned  vlc  and  ffmpeg, did you install  lame.tcz?
Title: Re: options for non-gui audio streaming RTP mp2 decode and play
Post by: hca on August 09, 2011, 12:54:50 PM
Hi Rich,

yes had lame installed, but lame or libmp3lame in the acodec option cause an exit from ffmpeg with "unknown encoder". I read somewhere while searching around this can be because it was not enabled in options while compiling.

I have never played with audio streaming so this is new ground, but mp2 works ok.


Vlc headless might be nice but it might be a bit much for a 64meg DOM.
Title: Re: options for non-gui audio streaming RTP mp2 decode and play
Post by: Rich on August 09, 2011, 01:08:53 PM
Hi hca
Just thought I'd state the obvious, you'll have to wait for one of the extension maintainers or someone
familiar with the program to help you.
Title: Re: options for non-gui audio streaming RTP mp2 decode and play
Post by: curaga on August 09, 2011, 03:50:14 PM
Mplayer?