public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Purushottam R S <purushottam_r_s@yahoo.com>
To: linux-media@vger.kernel.org
Subject: v4l2src output in YUV I420..possible ..?
Date: Tue, 24 Nov 2009 14:23:47 +0530 (IST)	[thread overview]
Message-ID: <947768.69880.qm@web94702.mail.in2.yahoo.com> (raw)

Hi All,

Is it possible to get the camera output (v4l2src) in YUV I420 format. Older version of gspca (v4lsrc) was giving in this format.

But Now Output of camera (v4l2src) is in jpeg format. My pipeline to record video looks like this:
(I have to convert twice before encoding),
     camera gives jpeg  ==> Decode Jpeg ==>YUV Y42B ==>  Convert to YUV I420 ==> Then encode....

gst-launch-0.10 v4l2src ! image/jpeg,width=320,height=240,framerate=15/1 !  ffdec_mjpeg ! ffmpegcolorspace ! 
video/x-raw-yuv,width=320,height=240,format='(fourcc)I420' !  ffenc_h263p ! .... and so on...

regards
Purush



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

             reply	other threads:[~2009-11-24  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  8:53 Purushottam R S [this message]
2009-11-24  9:21 ` v4l2src output in YUV I420..possible ..? Jean-Francois Moine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=947768.69880.qm@web94702.mail.in2.yahoo.com \
    --to=purushottam_r_s@yahoo.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox