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 显示可用的硬件加速方式

相关推荐
刘广睿2 天前
断点续传与分片下载是怎么实现的?Range 请求在视频下载中的工程实践
okhttp·ffmpeg·音视频·下载·python3.11
IvanCodes3 天前
FFmpeg安装与使用教程
ffmpeg
betazhou6 天前
mysql shell8.4.10+mysql 8.4.10搭建MySQL replicaset主从
数据库·mysql·ffmpeg·replicaset·mysql shell
VidDown7 天前
# VP9 还是 H.265?一次压缩选型翻车后的复盘
ffmpeg·音视频·h.265·视频编解码·视频·vp9
heqingchun167 天前
RK3568 交叉编译与部署:MPP + FFmpeg 硬解全流程
ffmpeg·视频编解码
云贝贝贝8 天前
OceanBase 生产运维 7 个高频现场:从连不上到误删兜底
运维·ffmpeg·oceanbase
≮傷£≯√8 天前
ffmpeg 2个图片合并为视频
ffmpeg·音视频
zone_z11 天前
07 · 等待事件与 OWI 方法:从 OSW 到 BUG 的完整破案实录
linux·数据库·oracle·ffmpeg·bug·troubleshooting
'20612 天前
**写了个自动整理下载视频的脚本:按片名归档、自动重命名、生成目录索引
开发语言·python·ffmpeg·音视频·cctv
殷忆枫12 天前
嵌入式Linux下基于FFmpeg实现MP4解码为JPG图片(SSD202D交叉编译实战)
linux·运维·ffmpeg