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

相关推荐
xmRao10 分钟前
Qt+FFmpeg 实现 PCM 音频转 AAC 编码
qt·ffmpeg·pcm
xmRao17 分钟前
Qt+FFmpeg 实现录音程序(pcm转wav)
qt·ffmpeg
阿里巴啦1 天前
python+yt-dlp开源项目,支持 YouTube, Bilibili, TikTok/抖音,快手 等多个平台的视频/音频/字幕下载/ai摘要等功能
python·ffmpeg·whisper·音视频·视频处理·ai摘要·音视频转录
来鸟 鸣间2 天前
linux下ffmpeg源码编译
linux·运维·ffmpeg
Echo_NGC22372 天前
【FFmpeg使用指南】Part 2:滤镜图架构与信号处理
架构·ffmpeg·音视频·信号处理
Echo_NGC22372 天前
【FFmpeg使用指南】Part 1:核心架构与媒体流处理
ffmpeg·音视频·媒体·视频
ssxueyi2 天前
用 Claude Code 从零开发自己的Direct3D 硬件加速播放器
ffmpeg·ai编程·directx·视频播放器·从零开始·claude code·csdn征文活动
Yan_uuu2 天前
ubuntu18.04 安装 x264、ffmpeg、nv-codec-hearers 支持GPU硬件加速
c++·图像处理·ubuntu·ffmpeg
runner365.git3 天前
做一个基于ffmpeg的AI Agent智能体
人工智能·ffmpeg·大模型
彷徨而立3 天前
【FFmpeg】理解 av_packet_from_data 和 av_packet_unref 接口
ffmpeg