[FFmpeg-user] Streaming audio input in a lossless format

Alex Becerra alexbecerra at gmail.com
Thu Oct 4 00:41:30 CEST 2012


Hello,

I've tried the following commands

1.- "ffmpeg -f alsa -i hw:0 -acodec libmp3lame -ar 12000 -ac 1 -f rtp rtp://
234.5.5.5:1234"
--> ffplay and VLC reproduce this

2.- "ffmpeg -f alsa -i hw:0 -acodec pcm_s16le -f rtp rtp://234.5.5.5:1234"
--> ffplay and VLC answer this "[rtp @ 02930420] Unable to receive RTP
payload type 97 without an SDP file describing it"

How can I send raw data?
How can I do it using udp?
Is FLAC supported for streaming?

Thanks.

Regards,
Alex.

2012/10/3 Roger Pack <rogerdpack2 at gmail.com>

> > Roger, Do you have a command line for that?
> > Now I have the "official" ffmpeg. The mp3 streaming still works, but
> when I
> > try to change it to wav or flac I have the following error in VLC when I
> > try to hear the streaming.
> > "SDP required:
> >
> > A description in SDP format is required to receive the RTP stream. Note
> > that rtp:// URIs cannot work with dynamic RTP payload format (97)."
>
> Can ffplay receive the stream?
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list