Advertisement
Guest User

ffmpeg record desktop command (audio-video sync issue)

a guest
Oct 4th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. ffmpeg -vsync cfr -fflags nobuffer -f x11grab -s $INRES -r $FPS -i :0.0 \
  2. -f pulse -ar 44100 -i default \
  3. -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -x264opts fps=$FPS -s $OUTRES \
  4. -acodec libmp3lame -af aresample=async=1000:min_hard_comp=0.100000 \
  5. -threads 1 -b:v $BITRATE -fflags nobuffer \
  6. -f flv test.flv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement