Video recording with 30 frame rate.

stmoon munhoney at gmail.com
Mon Aug 18 05:36:39 PDT 2014


Thank you very much..

However, I cannot solve this problem

I attach the log (GST_DEBUG=4 )


2014-08-18 18:46 GMT+09:00 Dušan Poizl [via GStreamer-devel] <
ml-node+s966125n4668327h59 at n4.nabble.com>:

> I have same issue with my notebook webcam. When you run GST_DEBUG=4
> gst-launch v4l2src ! xvimagesink it should print out
>
> 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
>
> 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 }"
>
> 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.
>
> Dňa 18.08.2014 o 03:07 stmoon napísal(a):
>
> no...
>
>
>  1280x720 and 30 fps .. but webm file is generated...
>
>
>
>
>
>  2014-08-18 1:36 GMT+09:00 Dušan Poizl [via GStreamer-devel] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=4668325&i=0>>:
>
>  what resolution have that cheese? because you may limit your resolution
>> to 640x480 to be able record 30fps.
>>
>> Dňa 17.08.2014 o 16:20 stmoon napísal(a):
>>
>> > Hi. I'm newbie of GStreamer.
>> >
>> >
>> > I want to record video from camera  (
>> >
>> http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892 )
>>
>> >
>> > so I use gst-launch like below
>> >
>> > gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! avimux
>> !
>> > filesink location=test.avi
>> >
>> > however the problem is the frame rate is 10 !!!
>> >
>> > in this website
>> > (
>> http://www.hardkernel.com/main/products/prdt_info.php?g_code=G137517754892)
>>
>> > , it can record 30 frame
>> > however it can reocrd just 10 frame.
>> >
>> > Can you advice me how to control the frame rate?
>> >
>> > I tried something like below.. but all fails...
>> >
>> >  1. gst-launch-0.10 v4l2src device=/dev/video1 !
>> video/x-raw-yuv,width=1280,
>> > height=720, framerate=30/1 !  ffmpegcolorspace ! avimux ! filesink
>> > location=test.avi
>> >   ==> in this case, just record 1 sec or 3 sec and.. too fast..
>> >
>> > However, I can record it with 30 frame rate by using cheese program
>> > (https://help.ubuntu.com/community/Webcam)
>> >
>> > Thank you in advances
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321.html
>> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4668323&i=0>
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4668323&i=1>
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668323.html
>>  To unsubscribe from Video recording with 30 frame rate., click here.
>> NAML
>> <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>
>>
>
>
> ------------------------------
> View this message in context: Re: Video recording with 30 frame rate.
> <http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668325.html>
>
> Sent from the GStreamer-devel mailing list archive
> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
>
>
> _______________________________________________
> gstreamer-devel mailing list[hidden email] <http://user/SendEmail.jtp?type=node&node=4668327&i=0>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4668327&i=1>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668327.html
>  To unsubscribe from Video recording with 30 frame rate., click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4668321&code=bXVuaG9uZXlAZ21haWwuY29tfDQ2NjgzMjF8NDU3MTg4MTE4>
> .
> NAML
> <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>
>


result (4M) <http://gstreamer-devel.966125.n4.nabble.com/attachment/4668329/0/result>
result2 (94K) <http://gstreamer-devel.966125.n4.nabble.com/attachment/4668329/1/result2>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-recording-with-30-frame-rate-tp4668321p4668329.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140818/712aeb4d/attachment-0001.html>


More information about the gstreamer-devel mailing list