How to begin v4l2 application development??
I am new to video for linux and would like to know what resources are available to assist me in programming a simple webcam application with c++ in a *nix environment. My main goal right now is to just view the webcam in a small window. I have found lots of info on driver development, but I am interested in the application side. Are there any c++ examples or references that will help me get started?
Thanks
Quoted 6 lines · Bryan Nations
I am new to video for linux and would like to know what resources are available to assist me in programming a simple webcam application with c++ in a *nix environment. My main goal right now is to just view the webcam in a small window. I have found lots of info on driver development, but I am interested in the application side. Are there any c++ examples or references that will help me get started?
Read the V4L2 API documentation. Everything an app programmer can call is there.
I susggest playing around with the v4l2-ctl utility with your device to get a feel for what many of the miscellaneous ioctl()'s support.
You may want to look at svv.c here:
http://moinejf.free.fr/
as a simple test viewer application.
Regards,
Andy
Quoted 10 lines · Andy Walls
Quoted 6 lines · Bryan Nations
I am new to video for linux and would like to know what resources are available to assist me in programming a simple webcam application with c++ in a *nix environment. My main goal right now is to just view the webcam in a small window. I have found lots of info on driver development, but I am interested in the application side. Are there any c++ examples or references that will help me get started?
Read the V4L2 API documentation. Everything an app programmer can call is there.
Oops, forgot the link:
http://linuxtv.org/downloads/v4l-dvb-apis/
Quoted 17 lines
I susggest playing around with the v4l2-ctl utility with your device to get a feel for what many of the miscellaneous ioctl()'s support.
You may want to look at
svv.chere:http://moinejf.free.fr/as a simple test viewer application.
Regards,
Andy--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html