当前位置:网站首页>Ffmpeg common commands
Ffmpeg common commands
2022-04-23 13:06:00 【you and me】
Abstract
Playing video will use FFmpeg, Here are some commands I often use , Or put the commands collected online here to take notes ~
Transformation format
Convert to MP4 Format :
ffmpeg -i input.mov output.mp4
Video clip
Before cutting 10 second :
ffmpeg -ss 0:0 -t 0:10 -i input.mov output.mp4
-ss Starting time -t The duration of the
Crop last 10 second :
ffmpeg -sseof -0:10 -i input.mov output.mp4
-sseof Start time relative to the end of the file
Video capture
Output one graph per second :
ffmpeg -i input.mov -vf fps=1 -q:v 2 output%03d.png
Two audio merge
ffmpeg -i "concat:30.mp3|50.mp3" -acodec copy 80.mp3
m4a turn mp3
ffmpeg -i input.m4a -acodec libmp3lame -aq 2 output.mp3
mp4 Full replication conversion ts
ffmpeg -i catfood.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb output.ts
MKV Lossless transfer MP4
ffmpeg -i input.mkv -c copy -strict -2 output.mp4
expand
The following is a recent release about FFmpeg Related articles .
《Linux(Centos7) install Ffmpeg》
《 Use ffmpeg Extract audio from video files 》
《 adopt Ffmpeg hold M3u8 Format to Mp4》
For more information about FFmpeg Content can also go to FFmpeg note :https://www.wo.hn.cn/
The end
That's all about FFmpeg Contents of common commands , Welcome friends to exchange and discuss .
版权声明
本文为[you and me]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231300587022.html
边栏推荐
- 基于uniapp异步封装接口请求简介
- Golang realizes regular matching: the password contains at least one digit, letter and special character, and the length is 8-16
- Van uploader upload picture implementation process, using native input to upload pictures
- Date time type in database
- Important knowledge of network layer (interview, reexamination, term end)
- Async void caused the program to crash
- 初鉴canvas,展示个小小的小案例
- Golang implements MD5, sha256 and bcrypt encryption
- AUTOSAR from introduction to mastery 100 lectures (87) - key weapon of advanced EEA - AUTOSAR and DDS
- The project file '' has been renamed or is no longer in the solution, and the source control provider associated with the solution could not be found - two engineering problems
猜你喜欢

The first lesson is canvas, showing a small case

AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation

Design of STM32 multi-channel temperature measurement wireless transmission alarm system (industrial timing temperature measurement / engine room temperature timing detection, etc.)

Synchronously update the newly added and edited data to the list

Design of body fat detection system based on 51 single chip microcomputer (51 + OLED + hx711 + US100)

Mysql8 installation

51 single chip microcomputer stepping motor control system based on LabVIEW upper computer (upper computer code + lower computer source code + ad schematic + 51 complete development environment)

31. 下一个排列
![[untitled] PID control TT encoder motor](/img/ce/942a0b87994699f73da215e7cad2a1.png)
[untitled] PID control TT encoder motor

安装nngraph
随机推荐
JDBC connection pool
Melt reshape decast long data short data length conversion data cleaning row column conversion
Mui close other pages and keep only the first page
将opencv 图片转换为字节的方式
Pytorch: a pit about the implementation of gradreverselayer
HQL statement tuning
Hanlp word splitter (via spark)
mysql8安装
5 free audio material websites, recommended collection
Go language mapping operation
Start mqbroker CMD failure resolution
async void 導致程序崩潰
MySQL —— 16、索引的数据结构
AUTOSAR from introduction to mastery 100 lectures (83) - bootloader self refresh
Golang implements a five insurance and one gold calculator with web interface
Mysql8 installation
Subscribe to Alibaba demo send business messages
Byte warehouse intern interview SQL questions
The use of dcast and melt in R language is simple and easy to understand
Use compressorjs to compress pictures, optimize functions, and compress pictures in all formats