PCM Streaming

Olivier CrĂȘte olivier.crete at collabora.com
Mon Aug 29 00:32:35 UTC 2016


Hi,

On Sun, 2016-08-28 at 02:56 -0700, BogdanS wrote:
> Hello
> 
> I have a pcm audio file that I want to stream via rtp. When I do
> 
> gst-launch-1.0 filesrc location=AudioRaw515151.pcm ! audio/x-raw,
> format=S16LE, channels=1, layout=interleaved, rate=8000 ! alawenc !
> rtppcmapay ! udpsink host=192.168.2.5 port=5010
> I have that kind of message

You need some element to timestamp the audio packets, for raw audio,
the element is named "audioparse", so you'd use it like
filesrc ! audioparse rate=8000 raw-format=s16le channels=1 ! ...


-- 
Olivier CrĂȘte
olivier.crete at collabora.com


More information about the gstreamer-devel mailing list