Hi Faruk<font size="4">,<br><br style="font-family: courier new,monospace;"><font style="font-family: arial,helvetica,sans-serif;" size="2">I believe that you want something like this:</font><br style="font-family: arial,helvetica,sans-serif;">
</font><pre class="bz_comment_text"><font style="font-family: arial,helvetica,sans-serif;" size="4">gst-launch -v gnomevfssrc location=<a href="http://admin:mncamera@192.168.1.176/img/video.asf">http://admin:mncamera@192.168.1.176/img/video.asf</a> ! tee name=t ! queue<br>
! fluasfdemux ! mpeg4videoparse ! flumpeg4vdec ! xvimagesink t. ! queue !<br>fluasfdemux ! mpeg4videoparse ! mp4mux ! filesink location=file.mp4</font><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<font style="font-family: courier new,monospace;" size="2"><font size="4"><font size="2"><span style="font-family: arial,helvetica,sans-serif;">This pipeline plays back an MPEG4 video in an ASF container from a Linksys WVC200 PTZ camera over an HTTP connection and also transcodes and stores<br>
it as an &#39;mp4&#39; file.  The &#39;tee&#39; and &#39;queue&#39; elements</span><span style="font-family: arial,helvetica,sans-serif;"> are the keys here.</span></font></font><br style="font-family: arial,helvetica,sans-serif;">
</font><font style="font-family: arial,helvetica,sans-serif;" size="2"><br>Best Regards,</font><br></pre>-- <br>Rob Krakora<br>Senior Software Engineer<br>MessageNet Systems<br>101 East Carmel Dr. Suite 105<br>Carmel, IN 46032<br>
(317)566-1677 Ext. 206<br>(317)663-0808 Fax<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 8:45 AM,  <span dir="ltr">&lt;<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.sourceforge.net">gstreamer-devel-owner@lists.sourceforge.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gstreamer-devel digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: simultaneously showing and recording MPEG-2 video<br>
      (Michael Joachimiak)<br>
   2. Re: simultaneously showing and recording MPEG-2 video<br>
      (Michael Joachimiak)<br>
   3. Re: simultaneously showing and recording MPEG-2 video<br>
      (Michael Joachimiak)<br>
   4. Re: H264 problems (Gary Thomas)<br>
   5. question on playbin2 for RTP streaming. (wu jieke)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 21 Sep 2010 14:52:53 +0300<br>
From: Michael Joachimiak &lt;<a href="mailto:mjoachimiak@gmail.com">mjoachimiak@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
        video<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml &lt;<a href="mailto:faruk.namli@gmail.com">faruk.namli@gmail.com</a>&gt;<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Hi everyone;<br>
&gt;<br>
&gt; I&#39;m very new for gstreamer and i&#39;m developing multimedi project.My first<br>
&gt; aim<br>
&gt; is showing video which is in my local file system and at the same time i<br>
&gt; want to record this video as a second copy of my original video.I can show<br>
&gt; video and i can record this video individually but not simultaneously.I<br>
&gt; couldn&#39;t find enough information in Gstreamer Application Development<br>
&gt; Manual<br>
&gt; from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
&gt; If you have any document,ebook or example  please share me :) because i<br>
&gt; couldn&#39;t find any useful resource about gstreamer.<br>
&gt;<br>
&gt; Faruk<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html</a><br>

&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Start uncovering the many advantages of virtual appliances<br>
&gt; and start using them to simplify application deployment and<br>
&gt; accelerate your shift to cloud computing.<br>
&gt; <a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Your Sincerely<br>
Michael Joachimiak<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 21 Sep 2010 14:52:53 +0300<br>
From: Michael Joachimiak &lt;<a href="mailto:mjoachimiak@gmail.com">mjoachimiak@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
        video<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml &lt;<a href="mailto:faruk.namli@gmail.com">faruk.namli@gmail.com</a>&gt;<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Hi everyone;<br>
&gt;<br>
&gt; I&#39;m very new for gstreamer and i&#39;m developing multimedi project.My first<br>
&gt; aim<br>
&gt; is showing video which is in my local file system and at the same time i<br>
&gt; want to record this video as a second copy of my original video.I can show<br>
&gt; video and i can record this video individually but not simultaneously.I<br>
&gt; couldn&#39;t find enough information in Gstreamer Application Development<br>
&gt; Manual<br>
&gt; from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
&gt; If you have any document,ebook or example  please share me :) because i<br>
&gt; couldn&#39;t find any useful resource about gstreamer.<br>
&gt;<br>
&gt; Faruk<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html</a><br>

&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Start uncovering the many advantages of virtual appliances<br>
&gt; and start using them to simplify application deployment and<br>
&gt; accelerate your shift to cloud computing.<br>
&gt; <a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Your Sincerely<br>
Michael Joachimiak<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 21 Sep 2010 14:52:53 +0300<br>
From: Michael Joachimiak &lt;<a href="mailto:mjoachimiak@gmail.com">mjoachimiak@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
        video<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml &lt;<a href="mailto:faruk.namli@gmail.com">faruk.namli@gmail.com</a>&gt;<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Hi everyone;<br>
&gt;<br>
&gt; I&#39;m very new for gstreamer and i&#39;m developing multimedi project.My first<br>
&gt; aim<br>
&gt; is showing video which is in my local file system and at the same time i<br>
&gt; want to record this video as a second copy of my original video.I can show<br>
&gt; video and i can record this video individually but not simultaneously.I<br>
&gt; couldn&#39;t find enough information in Gstreamer Application Development<br>
&gt; Manual<br>
&gt; from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
&gt; If you have any document,ebook or example  please share me :) because i<br>
&gt; couldn&#39;t find any useful resource about gstreamer.<br>
&gt;<br>
&gt; Faruk<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/simultaneously-showing-and-recording-MPEG-2-video-tp2541735p2541735.html</a><br>

&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Start uncovering the many advantages of virtual appliances<br>
&gt; and start using them to simplify application deployment and<br>
&gt; accelerate your shift to cloud computing.<br>
&gt; <a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Your Sincerely<br>
Michael Joachimiak<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 21 Sep 2010 06:13:01 -0600<br>
From: Gary Thomas &lt;<a href="mailto:gary@mlbassoc.com">gary@mlbassoc.com</a>&gt;<br>
Subject: Re: [gst-devel] H264 problems<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4C98A14D.8030508@mlbassoc.com">4C98A14D.8030508@mlbassoc.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 09/21/2010 02:43 AM, Andrey Nechypurenko wrote:<br>
&gt;&gt; and this one stall?<br>
&gt;&gt;<br>
&gt;&gt; gst-launch -v v4l2src num-buffers=200 !<br>
&gt;&gt;     &#39;video/x-raw-yuv,width=720,height=480,format=(fourcc)UYVY&#39; !<br>
&gt;&gt;     \ ffmpegcolorspace !<br>
&gt;&gt;     &#39;video/x-raw-yuv,width=720,height=480,format=(fourcc)I420&#39; !<br>
&gt;&gt;     x264enc ! filesink location=/tmp/hold.h264<br>
&gt;<br>
&gt; I would suggest to try the following. Run your pipeline with<br>
&gt; increased debug level, i.e. GST_DEBUG=3 gst-launch ... and search<br>
&gt; for any relevant messages which might give you the hint about<br>
&gt; what is going wrong. In addition, I remember some strange<br>
&gt; behavior got fixed by explicitly mentioning the framerate. In<br>
&gt; your case, for example, in caps filter right after v4l2src add<br>
&gt; framerate=30/1 or whatever is appropriate frame rate for your<br>
&gt; camera.<br>
<br>
I sure don&#39;t see anything, perhaps someone that understands this better<br>
can.  I put a level 4 dump of this at <a href="http://pastebin.com/iDDVuHgv" target="_blank">http://pastebin.com/iDDVuHgv</a><br>
<br>
&gt;<br>
&gt; In addition, since you are using gstreamer on TI platform, you<br>
&gt; can consider asking the question also here:<br>
&gt; <a href="https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&amp;forum_id=187" target="_blank">https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&amp;forum_id=187</a><br>

<br>
Except that my problem is not with any of the TI components - it&#39;s<br>
only the off-the-shelf encoder that stalls.<br>
<br>
--<br>
------------------------------------------------------------<br>
Gary Thomas                 |  Consulting for the<br>
MLB Associates              |    Embedded world<br>
------------------------------------------------------------<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 21 Sep 2010 09:09:45 +0800<br>
From: wu jieke &lt;<a href="mailto:jieke.wu@gmail.com">jieke.wu@gmail.com</a>&gt;<br>
Subject: [gst-devel] question on playbin2 for RTP streaming.<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTik5MX3CRQr01bPsO0gQf3j18s_5dBOoTP0MkHAG@mail.gmail.com">AANLkTik5MX3CRQr01bPsO0gQf3j18s_5dBOoTP0MkHAG@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
hi, all ,<br>
      i am setting up RTP streaming environment between a X86 server and a<br>
embedded system client, host app is VLC, and target/client is gst-launch,<br>
commands are following:<br>
<br>
      HOST:<br>
                # vlc -vvv big_buck_bunny_480p_h264.mov --sout<br>
&#39;#rtp{dst=&lt;dst ip&gt;, port=5004,sdp=rtsp://&lt;server ip&gt;:8080/test.sdp}&#39;<br>
<br>
      Target/client:<br>
                # gst-launch udpsrc multicast-group=&lt;server ip&gt;<br>
caps=&quot;application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264&quot;<br>
port=5004 ! rtph264depay ! my-codec-hw ! my-render-hw&quot;<br>
<br>
      the command works well, then i hope playbin2 creates hardware pipeline<br>
automatically, command line here:<br>
<br>
                # gst-launch playbin2 uri=rtsp://&lt;server ip&gt;:8080/test.sdp<br>
<br>
      it fails to play.  btw : playbin2 works well with my optimized codec<br>
and render, i test it with command. (gst-launch playbin2<br>
uri=file:///big_buck.mov ), it can find the right elements, such as<br>
&quot;my-codec-hw&quot; and &quot;my-render-hw&quot;.<br>
<br>
      then i dump the log of gst-launch , and find playbin2 not perform<br>
preroll for live streams, which cause full or real pipeline is not ready<br>
before getting GstSystemClock.<br>
      in fact, my optimized render can only use the specified clock provided<br>
with *_sink_provide_clock(), not GstSystemClock. so  the pipeline hang even<br>
it links the optimized elements.<br>
<br>
      my question is that how can i tell playbin2 to use my provided clock<br>
for live pipeline?<br>
      if any misunderstanding , pls correct me.<br>
<br>
<br>
<br>
--<br>
It&#39;s not the things you do in life that you regret ,<br>
but the things that you do not do<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<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>
------------------------------<br>
<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>
<br>
End of gstreamer-devel Digest, Vol 52, Issue 48<br>
***********************************************<br>
<br>
</blockquote></div><br>