<html 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=us-ascii">
<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:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8">Hi, im pretty stuck on this ..</span><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D"><br>
<span style="background:#F8F8F8">I made this pipeline : "gst-launch-1.0 -v filesrc location=/home/arion/Downloads/test2.mp3 name=src ! decodebin ! audioconvert ! "audio/x-raw,channels=6" ! deinterleave keep-positions=true name=d interleave name=i ! autoaudiosink
d.src_0 ! queue ! volume volume=1 ! i.sink_1 d.src_1 ! queue ! volume volume=1 ! i.sink_2 d.src_2 ! volume volume = 1 ! queue ! i.sink_3 d.src_3 ! volume volume=1 ! queue ! i.sink_4 d.src_4 ! volume volume=1 ! queue ! i.sink_5 d.src_5 ! volume volume=2 ! queue
! i.sink_6 " is totally working but when i try to convert it to c code i have not made any progress...</span><br>
<span style="background:#F8F8F8">Those are my questions:</span><br>
<span style="background:#F8F8F8">1- How can i convert my 2 channel mp3 to 6 channel i tried whit :</span><br>
<span style="background:#F8F8F8">caps = gst_caps_new_simple ("audio/x-raw", "format", G_TYPE_STRING, "S16LE", "layout", G_TYPE_STRING, "interleaved", "rate", G_TYPE_INT, (int)44100, "channels", G_TYPE_INT, (int)6, NULL);ret = gst_element_link_filtered (data.source,
data.audio_sink, data.caps); if (!ret) { g_print ("audio_source and sink couldn't be linked\n"); gst_caps_unref (data.caps); return FALSE; }</span><br>
<span style="background:#F8F8F8">seems not working</span><br>
<span style="background:#F8F8F8">2- As you can see there are 6 sinks and 6 src but i dont have any clue of how can i add more src and sinks</span><br>
<span style="background:#F8F8F8">3- How can i use deinterleave and interleave plugin (code ) not in gst_launch , ive been searching for many days and i cant solve it</span><br>
<span style="background:#F8F8F8">Maybe are silly questions for you but i cant solved it, i need help please</span></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>