<div dir="ltr">Thank you very much..<div><br></div><div>However, I cannot solve this problem </div><div><br></div><div>I attach the log (<span style="font-family:arial,sans-serif;font-size:14px">GST_DEBUG=4</span><span style="font-family:arial,sans-serif;font-size:14px"> )</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-18 18:46 GMT+09:00 Dušan Poizl [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4668329&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have same issue with my notebook webcam. When you run GST_DEBUG=4
gst-launch v4l2src ! xvimagesink it should print out <br>
<br>
v4l2 gstv4l2object.c:2729:gst_v4l2_object_get_caps:<v4l2src0>
probed caps: video/x-raw, format=(string)YUY2, width=(int)1280,
height=(int)720, pixel-aspect-ratio=(fraction)1/1,
interlace-mode=(string)progressive, framerate=(fraction){ 10/1 };
video/x-raw, format=(string)YUY2, width=(int)960, height=(int)544,
pixel-aspect-ratio=(fraction)1/1,
interlace-mode=(string)progressive, framerate=(fraction){ 10/1 };
... and much more<br>
<br>
one of the caps is "video/x-raw, format=(string)I420,
width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1,
interlace-mode=(string)progressive, framerate=(fraction){ 30/1 }"<br>
<br>
so first caps which is printed is YUV2 format but only 10fps. but
there is I420 which enable 30fps. So try run your piepline with
GST_DEBUG=4 so you find out all supported caps to find suitable
format.<br>
<br>
<div>Dňa 18.08.2014 o 03:07 stmoon
napísal(a):<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><div class="">
<div dir="ltr">no...
<div><br>
</div>
<div><br>
</div>
<div>1280x720 and 30 fps .. but webm file is generated...</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
2014-08-18 1:36 GMT+09:00 Dušan Poizl [via GStreamer-devel] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=4668325&i=0" rel="nofollow" link="external" target="_blank">[hidden
email]</a>></span>:<div><div class="h5"><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"> what resolution have that cheese?
because you may limit your resolution
<br>
to 640x480 to be able record 30fps.
<br>
<br>
Dňa 17.08.2014 o 16:20 stmoon napísal(a):
<div>
<div><br>
> Hi. I'm newbie of GStreamer.
<br>
>
<br>
>
<br>
> I want to record video from camera (
<br>
> <a href="http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892" rel="nofollow" link="external" target="_blank">http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892</a> )
<br>
>
<br>
> so I use gst-launch like below
<br>
>
<br>
> gst-launch-0.10 v4l2src device=/dev/video1 !
ffmpegcolorspace ! avimux !
<br>
> filesink location=test.avi
<br>
>
<br>
> however the problem is the frame rate is 10 !!!
<br>
>
<br>
> in this website
<br>
> (<a href="http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892" rel="nofollow" link="external" target="_blank">http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892</a>)
<br>
> , it can record 30 frame
<br>
> however it can reocrd just 10 frame. <br>
>
<br>
> Can you advice me how to control the frame rate?
<br>
>
<br>
> I tried something like below.. but all fails...
<br>
>
<br>
> 1. gst-launch-0.10 v4l2src device=/dev/video1 !
video/x-raw-yuv,width=1280,
<br>
> height=720, framerate=30/1 ! ffmpegcolorspace !
avimux ! filesink
<br>
> location=test.avi
<br>
> ==> in this case, just record 1 sec or 3 sec
and.. too fast..
<br>
>
<br>
> However, I can record it with 30 frame rate by
using cheese program
<br>
> (<a href="https://help.ubuntu.com/community/Webcam" rel="nofollow" link="external" target="_blank">https://help.ubuntu.com/community/Webcam</a>)
<br>
>
<br>
> Thank you in advances
<br>
>
<br>
>
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> --
<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321.html</a></div>
> Sent from the GStreamer-devel mailing list archive at
Nabble.com.
<br>
> _______________________________________________
<br>
> gstreamer-devel mailing list
<br>
> <a href="http://user/SendEmail.jtp?type=node&node=4668323&i=0" rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div>
<br>
_______________________________________________
<br>
gstreamer-devel mailing list
<br>
<a href="http://user/SendEmail.jtp?type=node&node=4668323&i=1" rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email,
your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668323.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668323.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Video recording with 30 frame rate., <a rel="nofollow" link="external" target="_top">click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a> </div>
</blockquote>
</div></div></div>
<br>
</div>
<br>
<hr width="300" align="left">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668325.html" rel="nofollow" link="external" target="_blank">Re:
Video recording with 30 frame rate.</a><div class=""><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="nofollow" link="external" target="_blank">GStreamer-devel
mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="http://user/SendEmail.jtp?type=node&node=4668327&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</div></blockquote><div class="">
<br>
<br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4668327&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
</div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</div><a href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668327.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668327.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Video recording with 30 frame rate., <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></div></div></blockquote></div><br></div>
<!--start-attachments--><div class="small"><br/><img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif" > <strong>result</strong> (4M) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4668329/0/result" target="_top" rel="nofollow" link="external">Download Attachment</a><br/><img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif" > <strong>result2</strong> (94K) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4668329/1/result2" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668329.html">Re: Video recording with 30 frame rate.</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>