Hello everyone!
I recently started a task of trying to stream video from a webcam thats plugged into one of my usb ports into a Qt widget in Ubuntu linux. There are very few well documented examples of this within a recent time period. The webcam I am using is a Logitech 1.3 megapixel that is compatible with the Linux distribution I have.
I saw on some post during my googling endeavors a person reading /dev/video0 as if it were a file and trying to get the video data read in this way. My question then, is twofold: Can video data be retrieved this way, using the /dev files? And how do you get the webcam's video data into a buffer to start decoding it? I have very little knowledge of working with video and don't know how to decode the data yet, but a step in the right direction would be very helpful.
I don't have any relevant code to speak of, so any tips or code examples would be greatly appreciated. Thanks for your time!
I forgot to mention that I am using Qt Creator 1.3.1 which is based on Qt 4.6.2 (32 bit).
Bookmarks