ffmpeg基本用法

一、用法

ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

说明:

global options:全局选项,应用于整个 FFmpeg 进程,它们通常不受输入或输出部分的限制。

infile options:输入选项,用于指定如何处理输入文件,需要放到 -i 的前面

infile:输入文件

outfile options:输出选项,用于指定如何处理输出文件,需要放到输出文件前面

outfile:输出文件

二、查看基础信息

-L 显示许可信息

-h topic 显示帮助信息

-? topic 显示帮助信息

-help topic 显示帮助信息

--help topic 显示帮助信息

-version 显示版本

-buildconf 显示编译配置信息

-formats 显示可用的格式

-muxers 显示可用的复用器

-demuxers 显示可用的解复用器

-devices 显示可用的设备

-codecs 显示可用的编解码器

-decoders 显示可用的解码器

-encoders 显示可用的编码器

-bsfs 显示可用的比特流过滤器

-protocols 显示可用的协议

-filters 显示可用的过滤器

-pix_fmts 显示可用的像素格式

-layouts show standard channel layouts

-sample_fmts 显示可用的音频采样格式

-colors 显示可用的颜色名称

-sources device list sources of the input device

-sinks device list sinks of the output device

-hwaccels 显示可用的硬件加速方式

相关推荐
老姚---老姚16 小时前
编译支持HEVC/H.265 over RTMP / Enhanced RTMP 的 ffmpeg
ffmpeg·h.265·hevc·rtmp·enhanced
码流怪侠2 天前
FFmpeg 开发实战全解析:从入门到精通(附完整代码示例)
ffmpeg·音视频开发·视频编码
圆弧YH2 天前
FFmpeg
ffmpeg
luoqice2 天前
FLV文件格式详解
ffmpeg
happybasic3 天前
在CMD下使用FFmpeg将.wav文件转换成指定的格式~
ffmpeg
shao9185163 天前
第10章 Streaming(上):初级音频应用(1)——项目三:自建服务器的Mini-Omni实时语音聊天机器人
ffmpeg·whisper·asr·mini-omni·自建语音服务器
Leon_Chenl4 天前
【已开源】【嵌入式 Linux 音视频+ AI 实战项目】瑞芯微 Rockchip 系列 RK3588-基于深度学习的人脸门禁+ IPC 智能安防监控系统
深度学习·opencv·yolo·ffmpeg·音视频·边缘计算·人脸识别+检测
antzou4 天前
视频图片/文字水印
ffmpeg·视频水印·批量水印
AC赳赳老秦5 天前
DBA 专属方案:用 OpenClaw 实现 SQL 语句优化、慢查询分析、数据库备份巡检全自动化
服务器·前端·数据库·ffmpeg·自动化·deepseek·openclaw
小叮当⇔6 天前
M4A 转 MP3 桌面转换器(PyQt5 + FFmpeg)
开发语言·qt·ffmpeg