Skip to content

Instantly share code, notes, and snippets.

@HalanoSiblee
Created December 3, 2025 23:13
Show Gist options
  • Select an option

  • Save HalanoSiblee/05d3e6dd695a52c106d91746c430cd33 to your computer and use it in GitHub Desktop.

Select an option

Save HalanoSiblee/05d3e6dd695a52c106d91746c430cd33 to your computer and use it in GitHub Desktop.
fast recording my old cpu (software record&encoding).
#ffmpeg -video_size 1366x768 -framerate 30 -f x11grab -i :0.0 -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -ac 2 -vcodec libaom-av1 -usage realtime -cpu-used 8 -crf 30 -tiles 2x2 -vf "scale=1280:720" "$(date '+%d-%H-%M-%s').mkv"
ffmpeg -video_size 1366x768 -framerate 30 -f x11grab -i :0.0 -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -ac 2 -vcodec ffv1 -vf "scale=1280:720" "$(date '+%d-%H-%M-%s').mkv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment