[gst-devel] how to create a pipeline to record video from camera?

michael mcygogo at gmail.com
Wed Dec 22 07:28:51 CET 2010


And now , I want to record the video to a MP4 file with the h264 encoding
format  ,  How can I do ?

On Wed, Dec 22, 2010 at 2:26 PM, michael <mcygogo at gmail.com> wrote:

> tks, this is work:   gst-launch v4l2src device=/dev/video0 !
> 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink
>
>
> On Wed, Dec 22, 2010 at 1:36 PM, Timothy Braun <braunsquared at gmail.com>wrote:
>
>> Be careful with the capsfilter you have in there. If that isn't the actual
>> caps of the stream it will never preroll.  The camera will be the deciding
>> factor for the caps of this stream. If the results you are looking for match
>> the caps below, I would add a videorate, videoscale and ffmpeg_colorspace
>> before the capsfilter.
>>
>> Best of luck,
>> Tim
>>
>> Sent from my iPhone
>>
>> On Dec 22, 2010, at 12:29 AM, liJin <lijinsyam at gmail.com> wrote:
>>
>> Hi ...Michael
>>
>>         I am not an expert ....but i think this will help
>>
>>           gst-launch v4l2src device=/dev/video0 !
>> 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink
>>
>>
>>
>> On Wed, Dec 22, 2010 at 10:10 AM, michael < <mcygogo at gmail.com>
>> mcygogo at gmail.com> wrote:
>>
>>> anyone help?
>>>
>>>
>>> On Tue, Dec 21, 2010 at 4:20 PM, michael < <mcygogo at gmail.com>
>>> mcygogo at gmail.com> wrote:
>>>
>>>> Hi all:
>>>>      I want to record the video from my book's camera, and is there one
>>>> pipeline can do this? tks :)
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Forrester recently released a report on the Return on Investment (ROI) of
>>> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
>>> within 7 months.  Over 3 million businesses have gone Google with Google
>>> Apps:
>>> an online email calendar, and document program that's accessible from
>>> your
>>> browser. Read the Forrester report:
>>> <http://p.sf.net/sfu/googleapps-sfnew>
>>> http://p.sf.net/sfu/googleapps-sfnew
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>>  <gstreamer-devel at lists.sourceforge.net>
>>> gstreamer-devel at lists.sourceforge.net
>>>  <https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Forrester recently released a report on the Return on Investment (ROI) of
>> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
>> within 7 months.  Over 3 million businesses have gone Google with Google
>> Apps:
>> an online email calendar, and document program that's accessible from your
>>
>> browser. Read the Forrester report:
>> <http://p.sf.net/sfu/googleapps-sfnew>
>> http://p.sf.net/sfu/googleapps-sfnew
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Forrester recently released a report on the Return on Investment (ROI) of
>> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
>> within 7 months.  Over 3 million businesses have gone Google with Google
>> Apps:
>> an online email calendar, and document program that's accessible from your
>> browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101222/6f9b43f8/attachment.htm>


More information about the gstreamer-devel mailing list