v4l2src output in YUV I420..possible ..?
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/
Quoted 2 lines · On Tue, 24 Nov 2009 14:23:47 +0530 (IST) Purushottam R S…
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.
Signature · 2 lines
Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/