Faruk:<br><br>One thing I forgot on the pipeline example in my response was the '<span style="visibility: visible;" id="main"><span style="visibility: visible;" id="search">--<em>eos</em>-on-<em>shutdown' option </em></span></span>after 'gst-launch'. This is needed by the 'filesink' element in order to properly close the file on a SIGINT.<br>
<br><pre><font style="font-family: arial,helvetica,sans-serif;" size="4">gst-launch -v --eos-on-shutdown gnomevfssrc location=<a href="http://admin:mncamera@192.168.1.176/img/video.asf" target="_blank">http://admin:mncamera@192.168.1.176/img/video.asf</a> ! tee name=t ! queue<br>
<br>! fluasfdemux ! mpeg4videoparse ! flumpeg4vdec ! xvimagesink t. ! queue !<br>fluasfdemux ! mpeg4videoparse ! mp4mux ! filesink location=file.mp4</font></pre><br>Best Regards,<br><br>-- <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 4:52 PM, Robert Krakora <span dir="ltr"><<a href="mailto:rob.krakora@messagenetsystems.com">rob.krakora@messagenetsystems.com</a>></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;"> 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><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" target="_blank">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 'mp4' file. The 'tee' and 'queue' 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"><<a href="mailto:gstreamer-devel-request@lists.sourceforge.net" target="_blank">gstreamer-devel-request@lists.sourceforge.net</a>></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" target="_blank">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 'help' to<br>
<a href="mailto:gstreamer-devel-request@lists.sourceforge.net" target="_blank">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" target="_blank">gstreamer-devel-owner@lists.sourceforge.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:mjoachimiak@gmail.com" target="_blank">mjoachimiak@gmail.com</a>><br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
video<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com" target="_blank">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml <<a href="mailto:faruk.namli@gmail.com" target="_blank">faruk.namli@gmail.com</a>><br>
<br>
><br>
><br>
><br>
> Hi everyone;<br>
><br>
> I'm very new for gstreamer and i'm developing multimedi project.My first<br>
> aim<br>
> is showing video which is in my local file system and at the same time i<br>
> want to record this video as a second copy of my original video.I can show<br>
> video and i can record this video individually but not simultaneously.I<br>
> couldn't find enough information in Gstreamer Application Development<br>
> Manual<br>
> from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
> If you have any document,ebook or example please share me :) because i<br>
> couldn't find any useful resource about gstreamer.<br>
><br>
> Faruk<br>
> --<br>
> View this message in context:<br>
> <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>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
> 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>
<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 <<a href="mailto:mjoachimiak@gmail.com" target="_blank">mjoachimiak@gmail.com</a>><br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
video<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com" target="_blank">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml <<a href="mailto:faruk.namli@gmail.com" target="_blank">faruk.namli@gmail.com</a>><br>
<br>
><br>
><br>
><br>
> Hi everyone;<br>
><br>
> I'm very new for gstreamer and i'm developing multimedi project.My first<br>
> aim<br>
> is showing video which is in my local file system and at the same time i<br>
> want to record this video as a second copy of my original video.I can show<br>
> video and i can record this video individually but not simultaneously.I<br>
> couldn't find enough information in Gstreamer Application Development<br>
> Manual<br>
> from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
> If you have any document,ebook or example please share me :) because i<br>
> couldn't find any useful resource about gstreamer.<br>
><br>
> Faruk<br>
> --<br>
> View this message in context:<br>
> <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>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
> 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>
<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 <<a href="mailto:mjoachimiak@gmail.com" target="_blank">mjoachimiak@gmail.com</a>><br>
Subject: Re: [gst-devel] simultaneously showing and recording MPEG-2<br>
video<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com" target="_blank">AANLkTinm3MdXnMatFYR38gHzHy2bXzdQ99kdvwmBiA2v@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You could take a look at tee element.<br>
It might be suitable for you.<br>
<br>
2010/9/16 frknml <<a href="mailto:faruk.namli@gmail.com" target="_blank">faruk.namli@gmail.com</a>><br>
<br>
><br>
><br>
><br>
> Hi everyone;<br>
><br>
> I'm very new for gstreamer and i'm developing multimedi project.My first<br>
> aim<br>
> is showing video which is in my local file system and at the same time i<br>
> want to record this video as a second copy of my original video.I can show<br>
> video and i can record this video individually but not simultaneously.I<br>
> couldn't find enough information in Gstreamer Application Development<br>
> Manual<br>
> from <a href="http://gstreamer.net" target="_blank">gstreamer.net</a> to solve my problem.<br>
> If you have any document,ebook or example please share me :) because i<br>
> couldn't find any useful resource about gstreamer.<br>
><br>
> Faruk<br>
> --<br>
> View this message in context:<br>
> <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>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
> 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>
<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 <<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>><br>
Subject: Re: [gst-devel] H264 problems<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID: <<a href="mailto:4C98A14D.8030508@mlbassoc.com" target="_blank">4C98A14D.8030508@mlbassoc.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 09/21/2010 02:43 AM, Andrey Nechypurenko wrote:<br>
>> and this one stall?<br>
>><br>
>> gst-launch -v v4l2src num-buffers=200 !<br>
>> 'video/x-raw-yuv,width=720,height=480,format=(fourcc)UYVY' !<br>
>> \ ffmpegcolorspace !<br>
>> 'video/x-raw-yuv,width=720,height=480,format=(fourcc)I420' !<br>
>> x264enc ! filesink location=/tmp/hold.h264<br>
><br>
> I would suggest to try the following. Run your pipeline with<br>
> increased debug level, i.e. GST_DEBUG=3 gst-launch ... and search<br>
> for any relevant messages which might give you the hint about<br>
> what is going wrong. In addition, I remember some strange<br>
> behavior got fixed by explicitly mentioning the framerate. In<br>
> your case, for example, in caps filter right after v4l2src add<br>
> framerate=30/1 or whatever is appropriate frame rate for your<br>
> camera.<br>
<br>
I sure don'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>
><br>
> In addition, since you are using gstreamer on TI platform, you<br>
> can consider asking the question also here:<br>
> <a href="https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187" target="_blank">https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187</a><br>
<br>
Except that my problem is not with any of the TI components - it'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 <<a href="mailto:jieke.wu@gmail.com" target="_blank">jieke.wu@gmail.com</a>><br>
Subject: [gst-devel] question on playbin2 for RTP streaming.<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTik5MX3CRQr01bPsO0gQf3j18s_5dBOoTP0MkHAG@mail.gmail.com" target="_blank">AANLkTik5MX3CRQr01bPsO0gQf3j18s_5dBOoTP0MkHAG@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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>
'#rtp{dst=<dst ip>, port=5004,sdp=rtsp://<server ip>:8080/test.sdp}'<br>
<br>
Target/client:<br>
# gst-launch udpsrc multicast-group=<server ip><br>
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"<br>
port=5004 ! rtph264depay ! my-codec-hw ! my-render-hw"<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://<server ip>: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>
"my-codec-hw" and "my-render-hw".<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'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" 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>
<br>
End of gstreamer-devel Digest, Vol 52, Issue 48<br>
***********************************************<br>
<br>
</blockquote></div><br>
</blockquote></div><br>