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

相关推荐
aqi009 小时前
FFmpeg开发笔记(八十四)使用国产的librestreaming实现RTMP直播
ffmpeg·音视频·直播·流媒体
筏.k11 小时前
FFmpeg 核心 API 系列:音频重采样 SwrContext 完全指南(新API版本)
ffmpeg·音视频
先知后行。12 小时前
音视频ffmpeg
ffmpeg
彷徨而立1 天前
【FFmpeg】对比 d3d12va 、d3d11va、dxva2 这三种视频硬解方案
ffmpeg
jjjxxxhhh1231 天前
【学习】USB摄像头 -> FFmpeg -> H264 -> AI模型
人工智能·学习·ffmpeg
给大佬递杯卡布奇诺1 天前
FFmpeg 基本API avformat_open_input函数内部调用流程分析
c++·ffmpeg·音视频
aqi001 天前
FFmpeg开发笔记(八十三)国产的视频裁剪框架AndroidVideoTrimmer
android·ffmpeg·音视频·流媒体
彷徨而立2 天前
【win32】FFmpeg 硬件解码器
windows·ffmpeg
dddddppppp1232 天前
linux sdl图形编程之helloworld.
linux·运维·ffmpeg