Login or register    

Screen Recording with audio on Linux

I use this command to record my screen and audio into webm format:

gst-launch ximagesrc ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=2 ! mux. pulsesrc ! audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm

python gstreamer binding example

Access the webcam from python:

import gst

mypipeline = """v4l2src ! ffmpegcolorspace ! queue ! vp8enc quality=10 speed=6 ! mux. pulsesrc !
audio/x-raw-int ! queue ! audioconvert ! vorbisenc ! mux. webmmux name=mux ! filesink location=screencast2.webm"""

# create pipeline object
pipeline = gst.parse_launch(mypipeline)

# start capturing video from webcam!
pipeline.set_state(gst.STATE_PLAYING)

# stop capturing video from webcam
pipeline.set_state(gst.STATE_NULL)

webcam capture with Guvcview

on fedora install rpmfusion then:

sudo yum install guvcview

this application kicks the pants off cheese

Comments

Leave a comment

Please login or register to leave a comment!