<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Thanks for all that info, that is VERY helpful!!!&nbsp; I think I'm starting to understand the whole type-find thing now.. I'm making steady progress.<br><br>Have a great week!<br><br>..ed..<br><br>&gt; Date: Sun, 10 Jun 2007 10:36:29 +0200<br>&gt; From: bilboed@gmail.com<br>&gt; To: edaverill@hotmail.com<br>&gt; Subject: Re: [gst-devel] pad_probe question<br>&gt; CC: gstreamer-devel@lists.sourceforge.net<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt;   you might want to run gst-typefind-0.10 on that file to see what<br>&gt; kind of MIME type typefind thinks it is. decodebin will try to find a<br>&gt; demuxer,parser or decoder that can handle that MIME type and so forth.<br>&gt;   You might also want to make sure, using "GST_DEBUG=decodebin:5<br>&gt; gst-launch...", that decodebin is really using the elements you're<br>&gt; expecting it to use.<br>&gt; <br>&gt; On 6/8/07, Edward Averill &lt;edaverill@hotmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;  Ok, I'm terminally frustrated.<br>&gt; &gt;<br>&gt; &gt; I have an element that's trying to play nice with decodebin (yes, I posted a<br>&gt; &gt; similar question before, but I have more details now).  The element is a<br>&gt; &gt; demuxer.. typefind works, the element loads, I parse the input file and then<br>&gt; &gt; generate a NEWSEGMENT event to push out.  Immediately on sending the<br>&gt; &gt; NEWSEGMENT I see:<br>&gt; &gt;<br>&gt; &gt; decodebin gstdecodebin.c:664:pad_probe:&lt;d&gt; [00m Pad probe on pad<br>&gt; &gt; &lt;mydecoder0:src&gt; but pad &lt;mydecoder0:src&gt; still needs data.<br>&gt; <br>&gt;   That is normal.<br>&gt; <br>&gt; &gt;<br>&gt; &gt; The command line is:<br>&gt; &gt;<br>&gt; &gt; gst-launch filesrc location=/mytestfiles/test001.vid !<br>&gt; &gt; decodebin name=d d. ! myoverlaysink<br>&gt; &gt;<br>&gt; &gt; The pipeline proceeds to play, I don't see any error messages or warnings<br>&gt; &gt; anywhere, yet the playback is garbled.<br>&gt; <br>&gt;   If the playback is garbled, it means data is reaching your sink but<br>&gt; didn't go through the elements you expected.<br>&gt; <br>&gt; &gt;<br>&gt; &gt; Not using decodebin and specifying the pipeline explicitly, thus, works<br>&gt; &gt; without garbled playback:<br>&gt; &gt;<br>&gt; &gt; gst-launch filesrc location=/mytestfiles/test001.vid !<br>&gt; &gt; mydemux name=q q. ! queue ! mydecoder ! myoverlaysink q. ! myaudiosink<br>&gt; &gt;<br>&gt; &gt; Does this possibly have something to do with the MIME type I'm returning<br>&gt; &gt; from my demuxers typefind function?<br>&gt; <br>&gt;   Yes, see the top of this mail.<br>&gt; <br>&gt; &gt;  I notice that qtdemux does NOT have a<br>&gt; &gt; typefind, so past this point it's kind of useless as a template.<br>&gt; <br>&gt;   If you want to see examples of typefinding, you can have a look at<br>&gt; gst-plugins-base/gst/typefind/gsttypefindfunctions.c or<br>&gt; gst-plugins-base/gst/subparse/gstsubparse.c .<br>&gt;   Typefind functions are not part of elements, they're provided by<br>&gt; plugins. The reason why there isn't one in qtdemux is because most<br>&gt; typefind functions are contained in gsttypefindfunctions.c<br>&gt; <br>&gt; &gt;<br>&gt; &gt; All assistance appreciated before I tear out what's left of my hair.<br>&gt; <br>&gt;   Gstreamer shall not be held responsible for any kind of hair loss :)<br>&gt; <br>&gt;     Edward<br>&gt; <br>&gt; &gt;<br>&gt; &gt; ..ed..<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; -------------------------------------------------------------------------<br>&gt; &gt; This SF.net email is sponsored by DB2 Express<br>&gt; &gt; Download DB2 Express C - the FREE version of DB2 express and take<br>&gt; &gt; control of your XML. No limits. Just data. Click to get it now.<br>&gt; &gt; http://sourceforge.net/powerbar/db2/<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gstreamer-devel mailing list<br>&gt; &gt; gstreamer-devel@lists.sourceforge.net<br>&gt; &gt; https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Edward Hervey<br>&gt; Multimedia editing developer / Fluendo S.A.<br>&gt; http://www.pitivi.org/<br></body>
</html>