<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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 class="moz-cite-prefix">Dňa 18.08.2014 o 03:07 stmoon
napísal(a):<br>
</div>
<blockquote
cite="mid:CAHvDT0e2i-EVe3kDMy1suJtW_iMc6FTP+Q5dX_OGMDrj=JVQBg@mail.gmail.com"
type="cite">
<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 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 moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=4668325&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"> 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 class="shrinkable-quote"><br>
> Hi. I'm newbie of GStreamer.
<br>
>
<br>
>
<br>
> I want to record video from camera (
<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=4668323&i=0"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=4668323&i=1"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
<a moz-do-not-send="true"
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="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 moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668323.html"
target="_blank" rel="nofollow" link="external">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
moz-do-not-send="true" href="" target="_blank"
rel="nofollow" link="external">click here</a>.<br>
<a moz-do-not-send="true"
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>
</blockquote>
</div>
<br>
</div>
<br>
<hr width="300" align="left">
View this message in context: <a moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668325.html">Re:
Video recording with 30 frame rate.</a><br>
Sent from the <a moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel
mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>