<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>What kind of audio are you trying to transcode to AAC? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I have had to transcode audio before and what I had to do was parse it, decode then audioconvert it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>So something like this (appropriate for what kind of audio input you have).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal>d.audio ! aacparse ! avdec_aac ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://<a href="http://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w">live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w</a>"<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Rand<span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> gstreamer-devel [mailto:gstreamer-devel-bounces@lists.freedesktop.org] <b>On Behalf Of </b>Thierry Gayet<br><b>Sent:</b> Tuesday, October 29, 2019 12:45 PM<br><b>To:</b> gstreamer-devel@lists.freedesktop.org<br><b>Subject:</b> AUDIO GSTREAMER PIPELINE<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal>Hi guys,<br><br>I use the module GStreamer gstcefsrc (<a href="https://github.com/centricular/gstcefsrc">https://github.com/centricular/gstcefsrc</a>) 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).<br><br>My problem is related I think about the structure of my pipeline.<br><br>Indeed, this module GStreamer generates a stream containing audio and video.<br><br>Needing to transcode audio in AAC and video in H264, I demux via a second module cefdemux.<br><br>Once both A / V streams are transcoded and synchronized, I need to send them via RTMP (rtmpsink) or RTSP (rtspclientsink).<br><br>The video goes well but the sound is a problem because nothing happens.<br><br>My actual pipeline is as follows:<br><br>gst-launch-1.0 cefsrc url="<a href="https://soundcloud.com/platform/sama">https://soundcloud.com/platform/sama</a>" ! queue ! <br>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 <br>! mux. d.audio ! audio/x-raw ! audiorate ! queue ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://<a href="http://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w">live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w</a>"<br><br>It does not work!<br><br>If I test with another audio test source it works:<br><br>gst-launch-1.0 cefsrc url="<a href="https://soundcloud.com/platform/sama">https://soundcloud.com/platform/sama</a>" ! queue ! <br>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 <br>! mux. audiotestsrc ! audio/x-raw ! audiorate ! queue ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://<a href="http://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w">live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w</a>"<br><br>What can be my problem?<br><br>Thank you in advance for your return.<br><br>BR<br><br>Thierry<o:p></o:p></p></div></div></div></div></div></body></html>