You are not logged in.

#1 2012-06-12 15:59:00

skrite
Member
Registered: 2009-09-07
Posts: 160

what language to write a simple webcam application

Hey all,

I need to write a simple application that will allow me to record video and audio from the computers webcam and mic. I need to be able to upload this to a server with a decent api for this sort of thing. I know webcams work in linux because of Ekiga (i think?) ,skype and etc.. working with it. But what language for linux would give me access to this hardware in a linux environment.

I have some ruby and python experience, and am not opposed to learning a new language to do this. I would like it to be cross platform or easily portable.
any suggestions?

thanks

Offline

#2 2012-06-12 16:46:26

fiddlinmacx
Member
Registered: 2011-03-02
Posts: 89

Re: what language to write a simple webcam application

Why reinvent the wheel? You can do this with VLC Media Player at the command line and you can even control it by sending commands to a network socket.

Offline

#3 2012-06-12 16:51:24

skrite
Member
Registered: 2009-09-07
Posts: 160

Re: what language to write a simple webcam application

fiddlinmacx wrote:

Why reinvent the wheel? You can do this with VLC Media Player at the command line and you can even control it by sending commands to a network socket.

This, i did not know. Thanks very much.
I do need to wrap this in a simple GUI.

I would ideally like it to just have a record and upload button. Very simple. Just wondering the best way to pull this off.
Thanks again, will look at some of the CLI parameters with vlc

Last edited by skrite (2012-06-12 16:53:28)

Offline

#4 2012-06-13 07:43:12

axel668
Member
Registered: 2009-08-15
Posts: 168

Re: what language to write a simple webcam application

using python for that kind of stuff (like e.g. a simple packer UI)


"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)

Offline

#5 2012-06-13 12:51:51

skrite
Member
Registered: 2009-09-07
Posts: 160

Re: what language to write a simple webcam application

axel668 wrote:

using python for that kind of stuff (like e.g. a simple packer UI)

thanks much !

Offline

Board footer

Powered by FluxBB