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

相关推荐
xmode1 天前
centos7.9安装ffmpeg6.1和NASM、Yasm、x264、x265、fdk-aac、lame、opus解码器
ffmpeg·centos
王江奎2 天前
FFmpeg 升级指北
ffmpeg
雨夜和阳晨2 天前
FFmpeg录制屏幕及声音
ffmpeg
吴声子夜歌2 天前
FFmpeg——基础知识及FFmpeg框架
ffmpeg
aqi003 天前
FFmpeg开发笔记(七十二)Linux给FFmpeg集成MPEG-5视频编解码器EVC
android·ffmpeg·音视频·流媒体
不太会编程的IT男4 天前
在 Jetson Orin 开发套件上使用 Hardware Encoder / Decoder 构建 FFmpeg
ffmpeg·视频编解码·h.264
m0_687399844 天前
写一个Ununtu C++ 程序,调用ffmpeg API, 来判断一个数字电影的视频文件mxf 是不是Jpeg2000?
开发语言·c++·ffmpeg
aqi004 天前
FFmpeg开发笔记(七十一)使用国产的QPlayer2实现双播放器观看视频
android·ffmpeg·音视频·流媒体
Java患者·4 天前
【小白】linux安装ffmpeg | java转码 【超详细】
ffmpeg
suifen_4 天前
RK平台ffmpeg支持硬件编解码
ffmpeg