Hi,<br><br>I got the video working well in the following gst-lauch!!!<br><br>gst-launch -v gnomevfssrc location=&quot;<a href="http://carinov:carinov123@10.0.0.150:8000/nphMotionJpeg?Resolution=320x240&amp;Quality=Standard">http://carinov:carinov123@10.0.0.150:8000/nphMotionJpeg?Resolution=320x240&amp;Quality=Standard</a>&quot; do-timestamp=true ! multipartdemux ! image/jpeg,width=240,height=320,framerate=30/1 ! jpegdec ! videorate ! video/x-raw-yuv,framerate=30/1 ! ffenc_mpeg4 ! avimux ! filesink location=a.avi<br>
<br><br><br><br><br>But when i transferd it to code ,i am getting the following error message<br><br>&lt;unknown&gt;:30333): GStreamer-CRITICAL **: gst_structure_empty_new: assertion `gst_structure_validate_name (name)&#39; failed<br>
<br>     i am getting this error,,but i didnt used these two function in my program!<br><br><br>i am using two capsfilters for setting ! image/jpeg,width=240,height=320,framerate=30/1 ! and setting ! video/x-raw-yuv,framerate=30/1 !<br>
     
<br> <br>    tdst_Vpipeline-&gt;flt=gst_element_factory_make(&quot;capsfilter&quot;,&quot;imagefilter&quot;);
<br>    g_object_set(G_OBJECT(tdst_Vpipeline-&gt;flt),&quot;caps&quot;,gst_caps_new_simple(&quot;image/jpeg&quot;,
<br>                        &quot;width&quot;,G_TYPE_INT,tdst_Vpipeline-&gt;iWidth,
<br>                        &quot;height&quot;,G_TYPE_INT,tdst_Vpipeline-&gt;iHeight,
<br>                        &quot;framerate&quot;,GST_TYPE_FRACTION,tdst_Vpipeline-&gt;iFrame_rate,1,
<br>                        NULL),NULL);<br><br><br>    tdst_Vpipeline-&gt;flt2=gst_element_factory_make(&quot;capsfilter&quot;,&quot;videofilter&quot;);
<br>    g_object_set(G_OBJECT(tdst_Vpipeline-&gt;flt),&quot;caps&quot;,gst_caps_new_simple(&quot;video/x-raw-yuv&quot;,
<br>                        &quot;width&quot;,G_TYPE_INT,tdst_Vpipeline-&gt;iWidth,
<br>                        &quot;height&quot;,G_TYPE_INT,tdst_Vpipeline-&gt;iHeight,
<br>                        &quot;framerate&quot;,GST_TYPE_FRACTION,tdst_Vpipeline-&gt;iFrame_rate,1,
<br>                        &quot;mpegversion&quot;,G_TYPE_INT,4,
<br>                        NULL),NULL);<br><br><br><div class="gmail_quote">On Mon, May 4, 2009 at 4:30 PM,  <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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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.  What happens when set always_copy=FALSE in v4l2src (yangsb)<br>
   2.  What happens when set always_copy=FALSE in v4l2src (yangsb)<br>
   3. adder with nonblocking pads (Viraj Karandikar)<br>
   4. Re: adder with nonblocking pads (Edward Hervey)<br>
   5. Re: Sync spectrum messages with audio being played?<br>
      (Sebastian Dr?ge)<br>
   6. Re: How to save a stream buffer to a file ? (Nicolas Bertrand)<br>
   7. GTK GUI+ gstreamer (Vikas Patel)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 3 May 2009 18:47:35 -0700 (PDT)<br>
From: yangsb &lt;<a href="mailto:yangsb05@gmail.com">yangsb05@gmail.com</a>&gt;<br>
Subject: [gst-devel]  What happens when set always_copy=FALSE in<br>
        v4l2src<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;<a href="mailto:23361935.post@talk.nabble.com">23361935.post@talk.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
Hi.<br>
I am testing rtsp-server  for streaming out live video on my arm board.<br>
The server works fine when always_copy is TRUE.<br>
Several days ago, I set always_copy to FALSE , I found that the rtsp server<br>
run<br>
into a dead state.<br>
I tried to debug , and I found that the kernal can not return after<br>
executing<br>
one videobuf_waiton( ) function .<br>
<br>
#############################<br>
if (list_empty(&amp;q-&gt;stream))<br>
  goto done;<br>
 buf = list_entry(q-&gt;stream.next, struct videobuf_buffer, stream);<br>
retval = videobuf_waiton(buf, nonblocking, 1);<br>
 if (retval &lt; 0)<br>
###########################<br>
<br>
this line of code is in function  videobuf_dqbuf() .<br>
And the function is in  drivers/media/video/video-buf.c<br>
<br>
<br>
However when I use filesink instead of rtsp streaming , the program works<br>
fine.<br>
My gst-launch is the following :<br>
<br>
gst-launch  \<br>
v4l2src always_copy=FALSE !  \<br>
TIVidenc codecName=h264enc genTimeStamps=1 engineName=encode \<br>
contiguousInputFrame=TRUE iColorSpace=UYVY resolution=640x480 ! \<br>
filesink location=test.264<br>
<br>
My rtsp-server is from<br>
<a href="http://blogs.gnome.org/uraeus/2008/10/13/gstreamer-rtsp-server/" target="_blank">http://blogs.gnome.org/uraeus/2008/10/13/gstreamer-rtsp-server/</a><br>
<br>
Hope to get some advice ..<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/What-happens-when-set-always_copy%3DFALSE-in-v4l2src-tp23361935p23361935.html" target="_blank">http://www.nabble.com/What-happens-when-set-always_copy%3DFALSE-in-v4l2src-tp23361935p23361935.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 3 May 2009 18:46:19 -0700 (PDT)<br>
From: yangsb &lt;<a href="mailto:yangsb05@gmail.com">yangsb05@gmail.com</a>&gt;<br>
Subject: [gst-devel]  What happens when set always_copy=FALSE in<br>
        v4l2src<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;<a href="mailto:23361935.post@talk.nabble.com">23361935.post@talk.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
Hi.<br>
I am testing rtsp-server  for streaming out live video on my arm board.<br>
The server works fine when always_copy is TRUE.<br>
Several days ago, I set always_copy to FALSE , I found that the rtsp server<br>
run<br>
into a dead state.<br>
I tried to debug , and I found that the kernal can not return after<br>
executing<br>
one videobuf_waiton( ) function .<br>
<br>
#############################<br>
if (list_empty(&amp;q-&gt;stream))<br>
  goto done;<br>
 buf = list_entry(q-&gt;stream.next, struct videobuf_buffer, stream);<br>
 retval = videobuf_waiton(buf, nonblocking, 1);retval = videobuf_waiton(buf,<br>
nonblocking, 1);<br>
 if (retval &lt; 0)<br>
###########################<br>
<br>
this line of code is in function  videobuf_dqbuf() .<br>
And the function is in  drivers/media/video/video-buf.c<br>
<br>
<br>
However when I use filesink instead of rtsp streaming , the program works<br>
fine.<br>
My gst-launch is the following :<br>
<br>
gst-launch  \<br>
v4l2src always_copy=FALSE !  \<br>
TIVidenc codecName=h264enc genTimeStamps=1 engineName=encode \<br>
contiguousInputFrame=TRUE iColorSpace=UYVY resolution=640x480 ! \<br>
filesink location=test.264<br>
<br>
My rtsp-server is from<br>
<a href="http://blogs.gnome.org/uraeus/2008/10/13/gstreamer-rtsp-server/" target="_blank">http://blogs.gnome.org/uraeus/2008/10/13/gstreamer-rtsp-server/</a><br>
<br>
Hope to get some advice ..<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/What-happens-when-set-always_copy%3DFALSE-in-v4l2src-tp23361935p23361935.html" target="_blank">http://www.nabble.com/What-happens-when-set-always_copy%3DFALSE-in-v4l2src-tp23361935p23361935.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 4 May 2009 10:13:23 +0530<br>
From: Viraj Karandikar &lt;<a href="mailto:virajk@gmail.com">virajk@gmail.com</a>&gt;<br>
Subject: [gst-devel] adder with nonblocking pads<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
        &lt;<a href="mailto:ecfff7140905032143g41c9a697t3a50b2effe1dc894@mail.gmail.com">ecfff7140905032143g41c9a697t3a50b2effe1dc894@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi,<br>
I want to use adder element in my system. But the adder element waits for<br>
buffers on all of its sink pads (for eg: sink0 sink1) , and only when<br>
buffers are available on all pads it goes ahead with processing and pushes a<br>
output buffer on source pad.<br>
What i would like to do is: wait till buffer is availabe on sink0, read<br>
buffer from sink1 only if available and do processing. that means, dont wait<br>
for any buffer on sink1.<br>
I thought of using pull mode on sink1. but i could not find any function to<br>
query if buffer is available on a pad.<br>
Does anyone has any clue how this can be done?<br>
<br>
--<br>
- Viraj<br>
Reality is merely an illusion, albeit a very persistent one.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 04 May 2009 08:25:55 +0200<br>
From: Edward Hervey &lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] adder with nonblocking pads<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;1241418356.722.2.camel@joder&gt;<br>
Content-Type: text/plain<br>
<br>
Hi,<br>
<br>
  You might want to have a look at liveadder (in gst-plugins-bad), which<br>
allows doing mixing of live streams. Instead of waiting for data to be<br>
available on all streams, it waits up to a certain (configurable) delay<br>
before processing data on any incoming streams.<br>
<br>
   Edward<br>
<br>
On Mon, 2009-05-04 at 10:13 +0530, Viraj Karandikar wrote:<br>
&gt; Hi,<br>
&gt; I want to use adder element in my system. But the adder element waits<br>
&gt; for buffers on all of its sink pads (for eg: sink0 sink1) , and only<br>
&gt; when buffers are available on all pads it goes ahead with processing<br>
&gt; and pushes a output buffer on source pad.<br>
&gt; What i would like to do is: wait till buffer is availabe on sink0,<br>
&gt; read buffer from sink1 only if available and do processing. that<br>
&gt; means, dont wait for any buffer on sink1.<br>
&gt; I thought of using pull mode on sink1. but i could not find any<br>
&gt; function to query if buffer is available on a pad.<br>
&gt; Does anyone has any clue how this can be done?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; - Viraj<br>
&gt; Reality is merely an illusion, albeit a very persistent one.<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Register Now &amp; Save for Velocity, the Web Performance &amp; Operations<br>
&gt; Conference from O&#39;Reilly Media. Velocity features a full day of<br>
&gt; expert-led, hands-on workshops and two days of sessions from industry<br>
&gt; leaders in dedicated Performance &amp; Operations tracks. Use code vel09scf<br>
&gt; and Save an extra 15% before 5/3. <a href="http://p.sf.net/sfu/velocityconf" target="_blank">http://p.sf.net/sfu/velocityconf</a><br>
&gt; _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">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><br>

<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 04 May 2009 10:04:06 +0200<br>
From: Sebastian Dr?ge &lt;<a href="mailto:sebastian.droege@collabora.co.uk">sebastian.droege@collabora.co.uk</a>&gt;<br>
Subject: Re: [gst-devel] Sync spectrum messages with audio being<br>
        played?<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;1241424246.18835.59.camel@odin.lan&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Am Sonntag, den 03.05.2009, 12:58 -0700 schrieb EmbeddedMicro:<br>
&gt; What I really need is to be able to adjust the time it send the data relative<br>
&gt; to when the audio will be played. For example it will send it 100ns before,<br>
&gt; or maybe 250ns before, allowing time for the data to be transfered so it is<br>
&gt; synced properly.<br>
&gt;<br>
&gt; It does not seem like this should be too hard to do, but I can&#39;t find any<br>
&gt; documentation on how to do it in python. Do I have to compare the<br>
&gt; running-time with the actual clock or some how set it up so it is called at<br>
&gt; even intervals?<br>
<br>
Take a look at gst-plugins-good/tests/examples/spectrum. The<br>
audiotestsrc/osssrc samples are syncing the messages to the clock by<br>
installing callbacks into the clock of the pipeline (search for<br>
wait_async )<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 197 bytes<br>
Desc: Dies ist ein digital signierter Nachrichtenteil<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 04 May 2009 12:00:25 +0200<br>
From: Nicolas Bertrand &lt;<a href="mailto:nico@inattendu.org">nico@inattendu.org</a>&gt;<br>
Subject: Re: [gst-devel] How to save a stream buffer to a file ?<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:49FEBCB9.5070708@inattendu.org">49FEBCB9.5070708@inattendu.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
<br>
&gt; Hi Find attached a standalone python program.<br>
&gt; This program display a stream ( videotestsec) and allow also making a<br>
&gt; snapshot of th stream ( Capture button) . the image result is in<br>
&gt; snapshot.jpg<br>
&gt;<br>
&gt;<br>
&gt; The snapshot is made via method capture in class my_gst. Is that the<br>
&gt; correct way to that kind of operation ; i.e. storibng an image from<br>
&gt; stream in file.<br>
&gt;<br>
&gt;<br>
Actually my question is to know if for save to file a single gstreamer<br>
buffer, in an asynchronous way, is better to made this with the<br>
add_buffer_probe/remove_buffer_probe methods or use a connect/disconnect<br>
&#39;handoff&quot; signal  ?  Is there differences ?  a more  datasafe mode ?<br>
gstreamerly mode ?<br>
<br>
Nico.<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Mon, 4 May 2009 16:14:53 +0530<br>
From: &quot;Vikas Patel&quot; &lt;<a href="mailto:Vikas.Patel@imgtec.com">Vikas.Patel@imgtec.com</a>&gt;<br>
Subject: [gst-devel] GTK GUI+ gstreamer<br>
To: &quot;Discussion of the development of GStreamer&quot;<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:C1A102308DC77D40BA4DFB4CF4C63BB2567726@pumail1.pu.imgtec.org">C1A102308DC77D40BA4DFB4CF4C63BB2567726@pumail1.pu.imgtec.org</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi,<br>
<br>
I developed a GUI on GTK+ framework for playing the MPEG2 compressed<br>
file on top of Gstreamer plugin<br>
<br>
That was working fine some time before but now it&#39;s giving the<br>
segmentation fault in the pipeline.<br>
<br>
But in this time span I have updated the system with many new release.<br>
<br>
So does any body have any clue?<br>
<br>
Regards<br>
<br>
Vikas<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-<br>
This message is subject to Imagination Technologies&#39; e-mail terms: <a href="http://www.imgtec.com/e-mail.htm" target="_blank">http://www.imgtec.com/e-mail.htm</a><br>
<br>
Imagination Technologies Ltd is a limited company registered in England No:  1306335<br>
Registered Office: Imagination House, Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ.<br>
<br>
Email to and from the company may be monitored for compliance and other administrative purposes.<br>
-<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
------------------------------------------------------------------------------<br>
Register Now &amp; Save for Velocity, the Web Performance &amp; Operations<br>
Conference from O&#39;Reilly Media. Velocity features a full day of<br>
expert-led, hands-on workshops and two days of sessions from industry<br>
leaders in dedicated Performance &amp; Operations tracks. Use code vel09scf<br>
and Save an extra 15% before 5/3. <a href="http://p.sf.net/sfu/velocityconf" target="_blank">http://p.sf.net/sfu/velocityconf</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 36, Issue 4<br>
**********************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Sreerenj B<br><a href="http://sreerenj.livejournal.com">http://sreerenj.livejournal.com</a><br><a href="mailto:bsreerenj@gmail.com">bsreerenj@gmail.com</a><br>mob: +91 9995377714<br>
<br>