Source: https://foxhop.net/f3d8c4af-2f95-11f1-a8fe-e86a64d24d78/screen-recording-with-audio-in-linux
Snapshot: 2026-05-25T20:08:56Z
Generator: Remarkbox 1527ef7

This is a thread snapshot. The living document lives at the source URI above — it may have been edited, extended, or replied-to since.

Scan for living source

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


Source: https://foxhop.net/f3d8c4af-2f95-11f1-a8fe-e86a64d24d78/screen-recording-with-audio-in-linux
Snapshot: 2026-05-25T20:08:56Z
Generator: Remarkbox 1527ef7