<div><br></div><div> Try this.....</div><div><br></div>gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! ffenc_mpeg4 ! avimux ! filesink location=1.mp4<div><br></div><div>Here i encoded in to mpeg4 format in mp4 container ..If you want h264 stream then ..replace ffenc_mpeg4...</div>
<div><br></div><div>Reagrds</div><div>LiJin<br><div><br></div><div><br></div><div><br></div><div><br><div><br></div><div><br><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 11:58 AM, michael <span dir="ltr">&lt;<a href="mailto:mcygogo@gmail.com">mcygogo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">And now , I want to record the video to a MP4 file with the h264 encoding format  ,  How can I do ?<div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 2:26 PM, michael <span dir="ltr">&lt;<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tks, this is work: <span style="font-family:arial, sans-serif;font-size:10.8333px;border-collapse:collapse">  gst-launch v4l2src device=/dev/video0 ! &#39;video/x-raw-yuv,width=640,height=480,framerate=30/1&#39; ! xvimagesink</span><div>

<div></div><div><br>
<br><div class="gmail_quote">On Wed, Dec 22, 2010 at 1:36 PM, Timothy Braun <span dir="ltr">&lt;<a href="mailto:braunsquared@gmail.com" target="_blank">braunsquared@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div bgcolor="#FFFFFF"><div>Be careful with the capsfilter you have in there. If that isn&#39;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. </div>


<div><br></div><div>Best of luck,</div><div>Tim<br><br>Sent from my iPhone</div><div><div></div><div><div><br>On Dec 22, 2010, at 12:29 AM, liJin &lt;<a href="mailto:lijinsyam@gmail.com" target="_blank">lijinsyam@gmail.com</a>&gt; wrote:<br>


<br></div><div></div><blockquote type="cite"><div>Hi ...Michael<div><br></div><div>        I am not an expert ....but i think this will help </div><div><br></div><div>          gst-launch v4l2src device=/dev/video0 ! &#39;video/x-raw-yuv,width=640,height=480,framerate=30/1&#39; ! xvimagesink</div>



<div><br></div><div> </div><div><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 10:10 AM, michael <span dir="ltr">&lt;<a href="mailto:mcygogo@gmail.com" target="_blank"></a><a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
anyone help?<div><div></div><div><br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 4:20 PM, michael <span dir="ltr">&lt;<a href="mailto:mcygogo@gmail.com" target="_blank"></a><a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all:<div>     I want to record the video from my book&#39;s camera, and is there one pipeline can do this? tks :)</div>
</blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
Forrester recently released a report on the Return on Investment (ROI) of<br>
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even<br>
within 7 months.  Over 3 million businesses have gone Google with Google Apps:<br>
an online email calendar, and document program that&#39;s accessible from your<br>
browser. Read the Forrester report: <a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank"></a><a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank">http://p.sf.net/sfu/googleapps-sfnew</a><br>_______________________________________________<br>



gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank"></a><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank"></a><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>



<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Forrester recently released a report on the Return on Investment (ROI) of</span><br>


<span>Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even</span><br><span>within 7 months.  Over 3 million businesses have gone Google with Google Apps:</span><br><span>an online email calendar, and document program that&#39;s accessible from your </span><br>


<span>browser. Read the Forrester report: <a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank"></a><a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank">http://p.sf.net/sfu/googleapps-sfnew</a></span></div>


</blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a></span><br>


<span><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a></span><br></div></blockquote></div></div></div><br>------------------------------------------------------------------------------<br>



Forrester recently released a report on the Return on Investment (ROI) of<br>
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even<br>
within 7 months.  Over 3 million businesses have gone Google with Google Apps:<br>
an online email calendar, and document program that&#39;s accessible from your<br>
browser. Read the Forrester report: <a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank">http://p.sf.net/sfu/googleapps-sfnew</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
Forrester recently released a report on the Return on Investment (ROI) of<br>
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even<br>
within 7 months.  Over 3 million businesses have gone Google with Google Apps:<br>
an online email calendar, and document program that&#39;s accessible from your<br>
browser. Read the Forrester report: <a href="http://p.sf.net/sfu/googleapps-sfnew" target="_blank">http://p.sf.net/sfu/googleapps-sfnew</a><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></blockquote></div><br></div></div></div>