<br><br><div class="gmail_quote">2010/9/28 sledge hammer <span dir="ltr"><<a href="mailto:sledgehammer_999@hotmail.com">sledgehammer_999@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
I was building an example program that did the bare minimum to test the situation and to post it here if it showed the same behavior as my other code. <br>My other code is part of a much larger project(a media player) which is yet to be released and it would be confusing for someone else to go through it in a few moments. <br>
Well, I was creating a **really** basic avi player to demonstrate my problem but for some reason I keep getting "Error: Internal data stream error.". I think I do everything right but I can't find the problem. Please take a look yourself. The code is here-> <a href="http://pastebin.com/YZs5garS" target="_blank">http://pastebin.com/YZs5garS</a><br>
<br>After your answer, I thought that probably me and my code is at fault. I probably do something wrong somewhere. I thought that I forgot some element in the pipeline but no. I dumped the list of the elements in the pipeline and it looks right. Do you have any suggestions/directions for debugging? What should I look for? What could cause a stall like this?<br>
</div></blockquote><div><br>When receiving the error on the bus callback, print the debug part of the error too, it is likely that it will help.<br><br>Also try running the application with GST_DEBUG=2 (at a minimum), to have a little more information about the problem. If that doesn't solve, a full log (GST_DEBUG=5) will lead you to the cause. Search for the error and go up on the log until you find the reason for it to happen.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br>Notes:<br>1. Build it as c++ source(I use std::strings)<br>2. Update the 'avipath' global var to point to an AVI file with Xvid/Divx video and mp3 audio.<br>
3. I didn't implement the loading of external subs yet, since I can't get it to load an avi file.<br>4. I didn't give much emphasis on memory management intentionally. To make it simpler.<br> <br><br><hr>From: <a href="mailto:thiagossantos@gmail.com" target="_blank">thiagossantos@gmail.com</a><br>
Date: Mon, 27 Sep 2010 11:17:33 -0300<br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>Subject: Re: [gst-devel] Pipeline with multiple filesources is stalled.<br>
<br><br><br><div>2010/9/26 sledge hammer <span dir="ltr"><<a href="mailto:sledgehammer_999@hotmail.com" target="_blank">sledgehammer_999@hotmail.com</a>></span><br><blockquote style="padding-left: 1ex;">
<div>
Do I need to do something special to "play" a pipeline with multiple filesrc's elements? I have a filesrc that loads an AVI file and another one that loads an SRT file (external subtitle). Let's say I decode the AVI file, plug a textoverlay before the videosink and then decode and plug the SRT file into the textoverlay. Should this be enough for the pipeline to start playing or do I need something that syncs the 2(or more) sources?<br>
</div></blockquote><div><br>Seems like it should work. What's your exact pipeline? Can you post a launch line of it?<br> </div><blockquote style="padding-left: 1ex;">
<div><br>Note: I insert the appropriate 'queue' elements after the 'avidemux' element and after the 'subparse' element.<br>                                            </div>
<br>------------------------------------------------------------------------------<br>
Start uncovering the many advantages of virtual appliances<br>
and start using them to simplify application deployment and<br>
accelerate your shift to cloud computing.<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>
<br>------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>                                            </font></div>
<br>------------------------------------------------------------------------------<br>
Start uncovering the many advantages of virtual appliances<br>
and start using them to simplify application deployment and<br>
accelerate your shift to cloud computing.<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>