* v4l2src output in YUV I420..possible ..?
@ 2009-11-24 8:53 Purushottam R S
2009-11-24 9:21 ` Jean-Francois Moine
0 siblings, 1 reply; 2+ messages in thread
From: Purushottam R S @ 2009-11-24 8:53 UTC (permalink / raw)
To: linux-media
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: v4l2src output in YUV I420..possible ..?
2009-11-24 8:53 v4l2src output in YUV I420..possible ..? Purushottam R S
@ 2009-11-24 9:21 ` Jean-Francois Moine
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Francois Moine @ 2009-11-24 9:21 UTC (permalink / raw)
To: Purushottam R S; +Cc: linux-media
On Tue, 24 Nov 2009 14:23:47 +0530 (IST)
Purushottam R S <purushottam_r_s@yahoo.com> wrote:
> Is it possible to get the camera output (v4l2src) in YUV I420 format.
> Older version of gspca (v4lsrc) was giving in this format.
[snip]
Hello Purush,
In the old gspca v1, the JPEG image decoding was done by the driver: you
did not see it. Now, this job is done by the applications. You may use
the v4l library to retrieve the old behaviour.
Regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-24 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 8:53 v4l2src output in YUV I420..possible ..? Purushottam R S
2009-11-24 9:21 ` Jean-Francois Moine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox