Centos7安装编译ffmpeg到指定目录
一、编译安装(太麻烦了) 1、官网下载tar包 https://ffmpeg.org/download.html 2、解压/usr/local目录 3、编译准备 cd ffmpeg-6.0 # 切换到ffmpeg-6.0目录 yum install gcc # 安装gcc编译器 yum install yasm # 安装yasm编译器 4、安装设置 ./configure --enable
一、编译安装(太麻烦了) 1、官网下载tar包 https://ffmpeg.org/download.html 2、解压/usr/local目录 3、编译准备 cd ffmpeg-6.0 # 切换到ffmpeg-6.0目录 yum install gcc # 安装gcc编译器 yum install yasm # 安装yasm编译器 4、安装设置 ./configure --enable
#录屏 ffmpeg -list_devices true -f dshow -i dummy ffmpeg -f gdigrab -i desktop -f mp4 d:/out.mp4 可以按q键终止录屏 Windows下ffmpeg采集设备的主要方式是dshow(directshow)、vfwcap、gdigrab,其中dshow可以用来抓取摄像头、采集卡、麦克风等,vfwcap主要用来采集