Page 1 of 1

Foscam Audio Feed to MP3?

Posted: 24 Oct 2016 01:10
by adamfox
Hi! I'm trying to use VLC from the command line to convert a live RTSP audio feed from a Foscam camera to MP3 so that I can stream it over a SONOS system. I really have no idea what I'm doing and was hoping to get some help. Here's where I'm at so far:

./VLC --sout "#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst=OUTPUTURL}" rtsp://INPUTURL

VLC media player 2.2.4 Weatherwax (revision 2.2.4-3-g2fc51dd)
[000000010053add8] core interface error: no suitable interface module
[0000000100510138] core libvlc error: interface "(null),none" initialization failed
[0000000100531368] [http] lua interface: Lua HTTP interface
[0000000100510138] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000107b01288] mux_dummy mux: Open
[0000000100603ea8] core input error: ES_OUT_RESET_PCR called

Anyone have any experience with this? As I said, I really have no clue what I'm doing. So, any help would be greatly appreciated.