ffmpeg preliminary understanding

ffmpeg Download:

https://ffmpeg.org/
官网教程:http://ffmpeg.org/ffmpeg.html
下载ffmpeg-4.1.4-win64-dev.zip(开发使用,包含头文件,静态库),ffmpeg-4.1.4-win64-shared.zip(包含exe,dll)两个压缩包

Below bin itself has three exe, namely: ffmpeg.exe, ffplay.exe, ffprobe.exe, and several dll. (Window download exe path environment variable will be added to the bin located under the path environment variable, easy to learn to call DLL, exe)
ffmpeg share the bin file archive
ffmpeg.exe
be regarded as a support codec exe. Supported codec transcoding, etc. a series of functions, refer to the specific parameters:
https://blog.csdn.net/leixiaohua1020/article/details/12751349
Exam:

ffmpeg -i input.avi -b:v 640k output.avi  #转码视频input.avi为码率640kbps的output.avi

ffplay.exe
simple player based on ffmpeg development.
And use specific parameters refer to: https://blog.csdn.net/leixiaohua1020/article/details/15186441
Exam:

ffplay test.avi

ffprobe.exe
view the file format of the application
parameters, please refer to the description: http://ffmpeg.org/ffprobe.html
https://www.jianshu.com/p/e14bc2551cfd
Exam:

ffprobe -show_streams D:\videos\03\1.mp4

ffmpeg command:

ffmpeg -formats   #显示可用的格式,编解码的,协议的

ffmpeg basic player development reference address:
https://blog.csdn.net/leixiaohua1020/article/details/8652605

Reference links:
https://blog.csdn.net/class_brick/article/details/82893967
https://blog.csdn.net/leixiaohua1020/article/details/15186441

Published 90 original articles · won praise 26 · Views 100,000 +

Guess you like

Origin blog.csdn.net/sky_person/article/details/97846291