Skip to content

Instantly share code, notes, and snippets.

@mike-zhang
Created November 8, 2012 06:34
Embed
What would you like to do?
抓取linux桌面视频
#! /bin/bash
t1=`date +%Y%m%d%H%M`
path1="/tmp/out_$t1.mpg"
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq $path1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment