当前位置:网站首页>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
边栏推荐
- Go language slicing operation
- AUTOSAR from introduction to mastery 100 lectures (83) - bootloader self refresh
- 将新增和编辑的数据同步更新到列表
- STM32 tracking based on open MV
- About the 'enum' enumeration type and structure.
- Golang implements a five insurance and one gold calculator with web interface
- Proteus 8.10 installation problem (personal test is stable and does not flash back!)
- 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
- World Book Day: I'd like to recommend these books
- AUTOSAR from introduction to mastery 100 lectures (50) - AUTOSAR memory management series - ECU abstraction layer and MCAL layer
猜你喜欢
JMeter operation redis
Jupiter notebook installation
Navicat远程连接数据库 出现 1130- Host xxx is not allowed to connect to this MySQL server错误
Servlet监听器&过滤器介绍
Install nngraph
Use compressorjs to compress pictures, optimize functions, and compress pictures in all formats
Read the data in Presto through sparksql and save it to Clickhouse
nodeJs + websocket 循环小案例
31. 下一个排列
精度、速度完美平衡,最新图像分割SOTA模型重磅发布!!!
随机推荐
AUTOSAR from introduction to mastery 100 lectures (50) - AUTOSAR memory management series - ECU abstraction layer and MCAL layer
hbuilderx + uniapp 打包ipa提交App store踩坑记
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)
How to click an object to play an animation
Customize classloader and implement hot deployment - use loadclass
31. 下一个排列
R语言中dcast 和 melt的使用 简单易懂
CVPR 2022 & ntire 2022 | the first transformer for hyperspectral image reconstruction
Mui + hbuilder + h5api simulate pop-up payment style
AUTOSAR from introduction to mastery 100 lectures (86) - 2F of UDS service foundation
Use compressorjs to compress pictures, optimize functions, and compress pictures in all formats
Recovering data with MySQL binlog
Use Proteus to simulate STM32 ultrasonic srf04 ranging! Code+Proteus
decast id.var measure.var数据拆分与合并
Free and open source charging pile Internet of things cloud platform
unity常见的问题(一)
100 GIS practical application cases (53) - making three-dimensional image map as the base map of urban spatial pattern analysis
Design of STM32 multi-channel temperature measurement wireless transmission alarm system (industrial timing temperature measurement / engine room temperature timing detection, etc.)
Customize the shortcut options in El date picker, and dynamically set the disabled date
FFmpeg常用命令