WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: options for non-gui audio streaming RTP mp2 decode and play  (Read 3010 times)

Offline hca

  • Newbie
  • *
  • Posts: 7
options for non-gui audio streaming RTP mp2 decode and play
« 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: options for non-gui audio streaming RTP mp2 decode and play
« Reply #1 on: August 09, 2011, 12:28:52 PM »
Hi hca
You mentioned  vlc  and  ffmpeg, did you install  lame.tcz?

Offline hca

  • Newbie
  • *
  • Posts: 7
Re: options for non-gui audio streaming RTP mp2 decode and play
« Reply #2 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: options for non-gui audio streaming RTP mp2 decode and play
« Reply #3 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: options for non-gui audio streaming RTP mp2 decode and play
« Reply #4 on: August 09, 2011, 03:50:14 PM »
Mplayer?
The only barriers that can stop you are the ones you create yourself.