alsasrc to avenc_g726 to RTSP

Sebastian Dröge sebastian at centricular.com
Thu Mar 3 07:58:46 UTC 2016


On Di, 2016-03-01 at 07:40 -0800, bomba wrote:
> Hello,
> 
> I'm trying to stream audio from a capturing device to a remote
> Milestone Systems server, which can handle g726. 
> 
> Currently trying this pipeline (which does not work):
> 
> gst-launch-1.0 alsasrc device=hw:1 ! audioconvert ! audioresample !
> audio/x-raw,rate=8000,width=16,channels=1 ! avenc_g726 bitrate=8000 !
> rtpg726pay name=pay0

How does it not work? What happens?

The caps are wrong, that's probably one thing that doesn't work here.
Instead of width=16 you probably want format=S16LE. But the capsfilter
is not really necessary here.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160303/bac7ddb1/attachment.sig>


More information about the gstreamer-devel mailing list