<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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"DejaVu Sans Mono";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You are missing pad link for qtdemux and queue.<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">Listen to signal “pad-added” for qtdemux and on call callback link the pad with queue sink pad.<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"><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>Higinio Martí Ribés<br>
<b>Sent:</b> Wednesday, June 15, 2016 4:49 AM<br>
<b>To:</b> gstreamer-devel@lists.freedesktop.org<br>
<b>Subject:</b> Python Gstreamer: Internal data flow error porting program from 0.10 to 1.0<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi!<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm having problems to port a Python gstreamer 0.10 program to the 1.0 version. The program connects with a device (eye-tracking system) and tries to reproduce the video sent by the scene camera. The live video
from the scene camera (full HD, 1920x1080, 25 fps), is encoded into the h.264 compression format with key-frames every 16 frames at ~5mbit and the audio is encoded into the mp3 compressions format. It is transmitted via UDP as mpeg-ts packets (188 bytes each).<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The code for the 0.10 version, which works well is (I'm only posting the function where the gstreamer pipeline is created, please ask if more information is needed):<o:p></o:p></p>
<pre style="background:white"><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">PIPELINE_DEF = </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"udpsrc do-timestamp=true name=src closefd=false !" </span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">\<br> </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"mpegtsdemux !" </span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">\<br> </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"queue !" </span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">\<br> </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"ffdec_h264 max-threads=0 !" </span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">\<br> </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"ffmpegcolorspace !" </span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">\<br> </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"xvimagesink name=video"</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black"><o:p></o:p></span></pre>
<pre style="margin-bottom:12.0pt;background:white"><i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:gray"># Create gstreamer pipeline to stream video<br></span></i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">pipeline = gst.parse_launch(PIPELINE_DEF)<br><br></span><i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:gray"># Source element: video socket. Sockfd file for UDP reception. socket.fileno() returns socket descriptor<br></span></i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">src = pipeline.get_by_name(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"src"</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br>src.set_property(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">"sockfd"</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, videoLive.fileno())<br><br>pipeline.set_state(gst.STATE_PLAYING)<o:p></o:p></span></pre>
<pre style="margin-bottom:12.0pt;background:white"><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">For the 1.0 I'm building the pipeline using add and link instead of parse_launch. My code is:<br><br></span><i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:gray"># Setting gstreamer pipeline<br></span></i><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline = Gst.Pipeline()<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.udpsrc = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'udpsrc'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'src'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.udpsrc)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.udpsrc.set_property(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'socket'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, Gio.Socket().new_from_fd(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.videosocket.fileno()))<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.tsparse = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'tsparse'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.tsparse)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.demux = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'tsdemux'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.demux)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.queue = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'queue'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.queue)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.h264 = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'avdec_h264'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.h264)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.videoconvert = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'videoconvert'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.videoconvert)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.imagesink = Gst.ElementFactory.make(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'xvimagesink'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:navy">None</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.add(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.imagesink)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.udpsrc.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.tsparse)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.tsparse.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.demux)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.demux.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.queue)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.queue.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.h264)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.h264.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.videoconvert)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.videoconvert.link(</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.imagesink)<br><br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.bus = </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.pipeline.get_bus()<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.bus.add_signal_watch()<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.bus.connect(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'message::eos'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.on_eos)<br></span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.bus.connect(</span><b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:green">'message::error'</span></b><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">, </span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:#94558D">self</span><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">.on_error)<br><br><span style="background:#E4E4FF">self</span>.pipeline.set_state(Gst.State.PLAYING)<o:p></o:p></span></pre>
<pre style="margin-bottom:12.0pt;background:white"><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">Nothing is shown when I execute it. I've set the debug to threshold 4, and the output has some warnings before error is thrown:<br><br>0:00:01.937727762 9549 0x3047ca0 INFO GST_EVENT gstevent.c:709:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1,000000, applied_rate=1,000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999<br>0:00:01.937776032 9549 0x3047ca0 INFO basesrc gstbasesrc.c:2772:gst_base_src_loop:<src> marking pending DISCONT<br>0:00:02.097347324 9549 0x3047ca0 INFO mpegtspacketizer mpegtspacketizer.c:770:mpegts_try_discover_packet_size: have packetsize detected: 188 bytes<br>0:00:02.097410369 9549 0x3047ca0 INFO mpegtsbase mpegtsbase.c:726:mpegts_base_apply_pat:<mpegtsparse2-0> PAT<br>0:00:02.098061088 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad mpegtsparse2-0:sink<br>0:00:02.098093377 9549 0x3047ca0 INFO GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>0:00:02.098133309 9549 0x3047ca0 INFO GST_EVENT gstevent.c:709:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1,000000, applied_rate=1,000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999<br>0:00:02.098167255 9549 0x3047ca0 INFO mpegtspacketizer mpegtspacketizer.c:770:mpegts_try_discover_packet_size: have packetsize detected: 188 bytes<br>0:00:02.098192084 9549 0x3047ca0 INFO mpegtsbase mpegtsbase.c:726:mpegts_base_apply_pat:<tsdemux0> PAT<br>0:00:02.098325493 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tsdemux0:sink<br>0:00:02.098340146 9549 0x3047ca0 INFO GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event audio/mpeg, mpegversion=(int)1<br>0:00:02.098364200 9549 0x3047ca0 WARN default descriptions.c:612:format_info_get_desc: Unexpected MPEG-1 layer in audio/mpeg, mpegversion=(int)1<br>0:00:02.098403181 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tsdemux0:sink<br>0:00:02.098413243 9549 0x3047ca0 INFO GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal<br>0:00:02.098489834 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<tsdemux0> adding pad 'audio_0041'<br>0:00:02.098501372 9549 0x3047ca0 INFO GST_EVENT gstevent.c:709:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1,000000, applied_rate=1,000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999<br>0:00:02.110068408 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<tsdemux0> adding pad 'video_0040'<br>0:00:02.110145009 9549 0x3047ca0 INFO basesrc gstbasesrc.c:2785:gst_base_src_loop:<src> pausing after gst_pad_push() = not-linked<br>0:00:02.110162087 9549 0x3047ca0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<src> error: Internal data flow error.<br>0:00:02.110166484 9549 0x3047ca0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<src> error: streaming task paused, reason not-linked (-1)<br>0:00:02.110180920 9549 0x3047ca0 INFO GST_ERROR_SYSTEM gstelement.c:1835:gst_element_message_full:<src> posting message: Internal data flow error.<br>0:00:02.110201183 9549 0x3047ca0 INFO GST_ERROR_SYSTEM gstelement.c:1858:gst_element_message_full:<src> posted error message: Internal data flow error.<br>0:00:02.110291520 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tsdemux0> removing pad 'audio_0041'<br>0:00:02.110323251 9549 0x3047ca0 INFO GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tsdemux0> removing pad 'video_0040'<br>0:00:02.110350647 9549 0x3047ca0 INFO task gsttask.c:300:gst_task_func:<src:src> Task going to paused<br>('on_error():', (GError('Internal data flow error.',), 'gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:src:\nstreaming task paused, reason not-linked (-1)'))<o:p></o:p></span></pre>
<pre style="margin-bottom:12.0pt;background:white"><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">I guess the warning "Unexpected MPEG-1 layer in audio/mpeg, mpegversion=(int)1" has to do with the Internal data flow error, but I don't know how to solve it.<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt;font-family:"DejaVu Sans Mono",serif;color:black">Any help would be appreciate. Thanks in advance.<o:p></o:p></span></pre>
</div>
</div>
</body>
</html>