4、FFmpeg命令行操作1

一、环境搭建

  1. 到ffmpeg官方下载已经编译好的Windows shared库;
  2. 将执行文件ffmpeg.exe ffplay.exe ffprobe.exe拷贝到C:\Windows目录;
  3. 将相应的动态库拷贝到C:\Windows\SysWOW64目录;
    注:WOW64 (Windows-on-Windows 64-bit)
  4. 在命令行窗口输入ffmpeg -version 查看版本,以却确定环境是否搭建成功。
    二、如何查询命令行帮助文档
    ffmpeg/ffplay/ffprobe区别
    ffmpeg: Hyper fast Audio and Video encoder 超快音视频编码器(类似爱剪辑)
    ffplay: Simple media player简单媒体播放器
    ffprobe: Simple multimedia streams analyzer 简单多媒体流分析器
    ffmpeg命令查看帮助文档
    基本信息:ffmpeg -h

    高级信息:ffmpeg -h long

    所有信息:ffmpeg -h full

    若嫌打印过多: ffmepg -h full > ffmpeg_h_full.log,然后再打开ffmpeg_h_full.log文件查看
    usage: ffmpeg options \[infile options -i infile]... {outfile options outfile}...
    ffplay命令查看帮助文档
    所有信息:ffplay -h

    usage: ffplay options input_file
    ffprobe命令查看帮助文档
    所有信息:ffprobe -h

    usage: ffprobe OPTIONS INPUT_FILE
    ffmpeg/ffplay/ffprobe部分参数通用,部分参数不通用,在使用时需要注意。
相关推荐
Nightwish51 小时前
Oracle 数据库巡检检查清单
数据库·oracle·ffmpeg
luoyayun36114 小时前
Qt/QML + FFmpeg 实现多音频文件顺序拼接功能
qt·ffmpeg·音频拼接
wbcuc1 天前
ffmpeg工具把m4s合并为mp4 powershell脚本
ffmpeg·m4s
luoyayun3612 天前
Qt + FFmpeg 实战:实现音频格式转换功能
qt·ffmpeg·音频格式转换
都在酒里3 天前
【极致低延时】香橙派部署 MediaMTX 实现 WebRTC 推流,延时仅 500-800ms,比局域网 ffmpeg 拉流快近 10 倍!(附踩坑全记录)
linux·arm开发·ffmpeg·webrtc·orangepi·嵌入式软件
Empty-Filled3 天前
用 Kap + FFmpeg 把录屏转成小体积 GIF:产品操作演示图制作实践
ffmpeg·kap
矜辰所致3 天前
嵌入式语音开发应用基础说明
ffmpeg·ai 语音·嵌入式语音·语音播放·语音采样
luoyayun3614 天前
Qt + FFmpeg 实战:音频静音段检测
qt·ffmpeg·音视频·静音段检测
小鹿研究点东西6 天前
直播带货长视频AI自动剪辑开播:一场直播如何反复利用?
ffmpeg·自动化·音视频·语音识别
luoyayun3616 天前
Qt + FFmpeg 实战:获取音视频文件基础属性、流信息和元数据
qt·ffmpeg·音视频·元数据·获取音视频文件属性