v4l2src output in YUV I420..possible ..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux