Raw audio MPEG TS streaming
Charles Chen - Contractor
chchen at actiontec.com
Sun Jul 2 02:29:02 UTC 2017
Hi Nicolas,
Thanks for the prompt reply. I am afraid we don't have option to use RTP plugin directly because we are RTSP server application based on GStreamer's RTSP server library (gst-rtsp-server). Our ultimate goal is to feed raw PCM or LPCM audio into mpegtxmux and rtpmp2tpay. Currently there is no existing plugin to connect raw PCM audio to mpegtxmux.
When you say PCM encoder what kind of plugin is the best to implement? Is there a template that we could use, or can we use appsrc appsink method to achieve this?
Thanks again,
Charles
________________________________
From: Charles Chen - Contractor
Sent: Friday, June 30, 2017 2:30:17 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Raw audio MPEG TS streaming
Hello,
How to generate mpeg TS stream (RTP payload type 33) with raw audio without using any audio encoder such as AAC? I need to feed raw PCM audio into mpegtsmux and RTP rtpmp2tpay. I am getting pipeline link error if I:
gst-launch-1.0 autoaudiosrc ! audioconvert ! capsfilter caps = "audio/x-lpcm,width=16,channels=2,rate=48000" ! filesink location = "audiofile.raw"
Looks like audio/x-lpcm is not included in the supported media type list:
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/media-types.html
Do I have to create a new audio/x-lpcm media type? considering possible issues to link with existing elements.
Is it feasible to create my own plugin to convert audio/x-raw to audio/x-lpcm and then link to mpegtsmux?
Or should I use appsrc or appsink method to do that?
Thanks and appreciate any feedback.
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170702/c94fcdbb/attachment.html>
More information about the gstreamer-devel
mailing list