AUDIO GSTREAMER PIPELINE
Thierry Gayet
thierry.gayet at dazzl.tv
Tue Oct 29 17:44:56 UTC 2019
Hi guys,
I use the module GStreamer gstcefsrc (
https://github.com/centricular/gstcefsrc) to grab a website and generate an
audio and video stream. This module is based on an embedded version of
chromium (CEF aka embedded chromium).
My problem is related I think about the structure of my pipeline.
Indeed, this module GStreamer generates a stream containing audio and video.
Needing to transcode audio in AAC and video in H264, I demux via a second
module cefdemux.
Once both A / V streams are transcoded and synchronized, I need to send
them via RTMP (rtmpsink) or RTSP (rtspclientsink).
The video goes well but the sound is a problem because nothing happens.
My actual pipeline is as follows:
gst-launch-1.0 cefsrc url="https://soundcloud.com/platform/sama" ! queue !
cefdemux name=d d.video ! video/x-raw,format=BGRA,framerate=30/1 ! queue !
videoconvert ! x264enc bitrate=2500 tune=zerolatency pass=5 quantizer=22
speed-preset=superfast key-int-max=60 ref=2
! mux. d.audio ! audio/x-raw ! audiorate ! queue ! audioconvert ! voaacenc
bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink
location="rtmp://
live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w"
It does not work!
If I test with another audio test source it works:
gst-launch-1.0 cefsrc url="https://soundcloud.com/platform/sama" ! queue !
cefdemux name=d d.video ! video/x-raw,format=BGRA,framerate=30/1 ! queue !
videoconvert ! x264enc bitrate=2500 tune=zerolatency pass=5 quantizer=22
speed-preset=superfast key-int-max=60 ref=2
! mux. audiotestsrc ! audio/x-raw ! audiorate ! queue ! audioconvert !
voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink
location="rtmp://
live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w"
What can be my problem?
Thank you in advance for your return.
BR
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191029/a7985199/attachment.html>
More information about the gstreamer-devel
mailing list