基本使用命令

ffmpeg -i input.mp4 output.avi    //视频格式转换
ffmepg -i input.mp4 -r fps image%3d.jpg    //视频转成图片
//fps is num of picture per second;
//%3d will generate picture named three digit num
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 output.avi    //用ffmpeg抓屏
//This will grab the image from desktop, starting with the upper-left corner at (x=100, y=200) with the width and height of 1024x768

reference

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2021-07-16
  • 2021-11-27
  • 2021-07-17
  • 2022-01-11
猜你喜欢
  • 2021-06-28
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案