首页 > 系统服务 > 详细

Linux下录屏

时间:2020-02-28 00:20:43      阅读:144      评论:0      收藏:0      [点我收藏+]

我喜欢的:

  1. Gnome系用户,按ctrl+shift+alt+r,屏幕右上角有红点出现,开始录屏,结束的话再按一次ctrl+shift+alt+r,录好的视频在 ~/Videos下
  2. ffmpeg
# Use the x11grab device:
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4

# This will grab the image from desktop, starting with the upper-left corner at x=100, y=200 with a width and height of 1024?768.

# If you need audio too, you can use ALSA (see Capture/ALSA for more info):
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 -f alsa -ac 2 -i hw:0 output.mkv

# Or the pulse input device:
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 -f pulse -ac 2 -i default output.mkv

更多细节看 https://trac.ffmpeg.org/wiki/Capture/Desktop#Linux

Linux下录屏

原文:https://www.cnblogs.com/hencins/p/12375338.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!