当前位置:网站首页>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
边栏推荐
- Record the problems encountered in using v-print
- Introduction to servlet listener & filter
- The first lesson is canvas, showing a small case
- mui 关闭其他页面,只保留首页面
- Design of body fat detection system based on 51 single chip microcomputer (51 + OLED + hx711 + US100)
- 教你快速开发一个 狼人杀微信小程序(附源码)
- Design and manufacture of 51 single chip microcomputer solar charging treasure with low voltage alarm (complete code data)
- Huawei cloud MVP email
- 进程虚拟地址空间区域划分
- Hanlp word splitter (via spark)
猜你喜欢
Software testing weekly (issue 68): the best way to solve difficult problems is to wait and see the changes and push the boat with the current.
mysql8安装
Melt reshape decast long data short data length conversion data cleaning row column conversion
22. 括号生成
Pytorch: a pit about the implementation of gradreverselayer
Teach you to quickly develop a werewolf killing wechat applet (with source code)
There is no need to crack the markdown editing tool typora
melt reshape decast 长数据短数据 长短转化 数据清洗 行列转化
世界读书日:我想推荐这几本书
CMSIS cm3 source code annotation
随机推荐
The quill editor image zooms, multiple rich text boxes are used on one page, and the quill editor upload image address is the server address
Go language: passing slices between functions
jmeter操作redis
100 GIS practical application cases (52) - how to keep the number of rows and columns consistent and aligned when cutting grids with grids in ArcGIS?
uniapp image 引入本地图片不显示
AUTOSAR from introduction to mastery 100 lectures (86) - 2F of UDS service foundation
AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
GIS practical tips (III) - how to add legend in CASS?
内核错误: No rule to make target ‘debian/canonical-certs.pem‘, needed by ‘certs/x509_certificate_list‘
Go language mapping operation
Important knowledge of transport layer (interview, retest, final)
STM32 is connected to the motor drive, the DuPont line supplies power, and then the back burning problem
PC starts multiple wechat at one time
教你快速开发一个 狼人杀微信小程序(附源码)
Async void caused the program to crash
JMeter operation redis
初鉴canvas,展示个小小的小案例
Introduction to servlet listener & filter
Pyqt5 store opencv pictures into the built-in sqllite database and query
(个人)最近项目开发后存在的系统漏洞整理