User loginNavigationNew forum topicsPollSearchRecent blog posts |
Webcam sn9c20x support on Ubuntu Hardy, JauntyTurns out that the new Gigaware webcam I just bought at Radio Shack for a song and dance only supports a few formats that are mostly unsupported in Linux. The default video format it spits out is YUV420, (also called YV12) is not supported by the usual camera displaying apps in Linux. After a couple days of research and trial and error, I came across the solution (actually a dude named Brian Johnson on linux-media had the answer!) You need a compatibility library to convert from the YUV420 to the formats understood by the usual applications: libv4l, available here: After that is installed, the following commands work: $ LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so. cheese and $ LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink And if you wish to scale the resulting image, do this: $ LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so gst-launch-0.10 v4l2src ! \ This is just a placeholder so I won't forget!
|
Recent comments
1 week 5 days ago
41 weeks 2 days ago
41 weeks 4 days ago
41 weeks 4 days ago
1 year 13 weeks ago
1 year 14 weeks ago
1 year 15 weeks ago
1 year 15 weeks ago
2 years 6 weeks ago
2 years 28 weeks ago