Fer's blog
fer, ferulo, that crazy man

Sat, 14 Jan 2006

Playing with webcam

Ross: Maybe you want:

gst-launch-0.10 v4lsrc ! video/x-raw-yuv,width=352,height=288 ! ffmpegcolorspace ! tee ! xvimagesink tee0. ! theoraenc quality=8 ! oggmux ! filesink location=test.ogg

magic GStreamer pipeline to view and record webcam feeds. I'm playing a bit with GStreamer to make a stupid webcam application for taking funny pictures with deformation effects (like those you can see in a "House of Mirrors" or apple's isight):

Currently I have only the main skeleton for multiplexing video and appliying custom filters to it. I have ported lens effect from effectv to gst and parametrized it little bit. Lot of fun to hack on optical and math stuff.

[07:11] | Permalink | 3 comments

Posted by Thomas TS at Fri Jun 29 00:28:55 2007
Doing some Googling about gstreamer i found this your page...

Could you offer any comments at this pipeline i am using ?

gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=320,height=240 ! theoraenc bitrate=400 ! queue ! oggmux name=mux ! shout2send ip=x.y.z.k port=8000 password=hackme mount=teste.ogg alsasrc device="hw:0" !  queue ! audioconvert ! audio/x-raw-float ! audioresample ! audio/x-raw-float,rate="48000",channels=1 ! vorbisenc ! queue ! mux.

Posted by daniel at Wed Nov 21 09:51:22 2007
do you by any chance know how to pre-define the location of the "program window" on the screen is set?

i.e. i want the window be in the center of the screen etc...

thanx a lot


Posted by cailis at Fri May 16 14:39:08 2008
Hi, daniel.
"i.e. i want the window be in the center of the screen etc..."
Is it ossible more in detail?

This blog has been moved to: http://blogs.gnome.org/fherrera
Please, update your bookmarks and feeds


Fernando Herrera

< January 2006 >
1 2 3 4 5 6 7
8 91011121314

RSS 2.0