<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
{mso-style-priority:99;}
span.MSOHYPERLINK
{mso-style-priority:99;}
a:visited
{mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
{mso-style-priority:99;}
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal;
font-family:Calibri;
color:windowtext;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:Calibri;
color:#1F497D;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</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=DE link="#0563C1" vlink="#954F72">
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>The audiostreams seams to
be x-raw (not ac3).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Try to use your pipeline
without the ac3 parser and decoder.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Voaacenc sink pad has the
x-raw capabilities.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Bernhard<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> gstreamer-devel
[mailto:gstreamer-devel-bounces@lists.freedesktop.org] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>Rand Graham<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Dienstag, 27. November
2018 21:51<br>
<b><span style='font-weight:bold'>An:</span></b> <st1:PersonName w:st="on">Discussion
of the development of and with GStreamer</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> RE: failed link of audio
to ac3parse</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'>Can someone tell from the logs what the
problem with linking the audio is?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><font size=2 color="#1f497d"
face=Calibri><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Rand</span></font></st1:place><font
color="#1f497d"><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></font></p>
<div>
<div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><font size=2 face=Calibri><span lang=EN-US
style='font-size:11.0pt;font-weight:bold'>From:</span></font></b><span
lang=EN-US> gstreamer-devel
[mailto:gstreamer-devel-bounces@lists.freedesktop.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Rand Graham<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 13, 2018
11:34 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Discussion
of the development of and with GStreamer</st1:PersonName>
<gstreamer-devel@lists.freedesktop.org><br>
<b><span style='font-weight:bold'>Subject:</span></b> failed link of audio to
ac3parse<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>I am trying to find out why tsdemux fails to link the audio in the
pipeline below. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>The source has ac3 audio. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>The tsdemux finds the audio track. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Gstreamer attempts to link tsdemux to ac3parse. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Why does gstreamer say the caps are incompatible?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>gst-launch-1.0 -v -e mpegtsmux name=m ! hlssink
target-duration='15' udpsrc multicast-iface=lo
uri=udp://231.8.6.7:5309 ! tsdemux ! ac3parse ! avdec_eac3 !
audioconvert ! voaacenc bitrate=128000 ! m.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.432638221 8327 0x1305400
INFO
structure gststructure.c:2597:gst_structure_get_valist: Expected field
'channel-mask' in structure: audio/x-raw, rate=(int){ 8000, 11025, 12000,
16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 },
channels=(int)1, layout=(string)interleaved;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433040355 8327 0x1305400
INFO GST_ELEMENT_PADS
gstutils.c:1227:gst_element_get_compatible_pad:<ac3parse0> Could not find
a compatible pad to link to tsdemux0:video_0_0031<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433082164 8327 0x1305400
INFO
GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link
tsdemux0:audio_0_0033 and ac3parse0:sink<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433321928 8327 0x1305400
INFO
structure gststructure.c:2597:gst_structure_get_valist: Expected field
'channel-mask' in structure: audio/x-raw, rate=(int){ 8000, 11025, 12000,
16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)1,
layout=(string)interleaved;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433674575 8327 0x1305400
INFO GST_ELEMENT_PADS
gstelement.c:920:gst_element_get_static_pad: found pad ac3parse0:sink<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433713938 8327 0x1305400
INFO
GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: tsdemux0 and ac3parse0 in
same bin, no need for ghost pads<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.433753875 8327 0x1305400
INFO
GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link
tsdemux0:audio_0_0033 and ac3parse0:sink<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.434008825 8327 0x1305400
INFO
structure gststructure.c:2597:gst_structure_get_valist: Expected field
'channel-mask' in structure: audio/x-raw, rate=(int){ 8000, 11025, 12000,
16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 },
channels=(int)1, layout=(string)interleaved;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>0:00:00.434310938 8327 0x1305400
INFO
GST_PADS gstpad.c:2434:gst_pad_link_prepare: caps are incompatible<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span lang=EN-US
style='font-size:11.0pt;font-family:Consolas'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><font size=2 face=Consolas><span
lang=EN-US style='font-size:11.0pt;font-family:Consolas'>Rand</span></font></st1:place><font
face=Consolas><span lang=EN-US style='font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>