当前位置:网站首页>Ffmpeg hard codec inter QSV
Ffmpeg hard codec inter QSV
2022-06-11 17:39:00 【,,,, Nanshan light rain】
Hard codec in addition to the use of Nvidia Of GPU outside ,Inter Of QSV It is also a good plan , Follow Nvidia The difference is , If you want to use ffmepg Of Inter QSV codec , Need to compile ffmepg On when QSV Support for , That is, add the compile option :–enable-libmfx.
see ffmpeg Has been opened in h264 Protocol supported Libraries :
ffmpeg -hide_banner -codecs | grep h264
DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part
10 (decoders: h264 h264_qsv ) (encoders: libx264 libx264rgb h264_nvenc
h264_qsv h264_vaapi nvenc nvenc_h264 )
Check it out. ffmpeg Yes Inter QSV Parameter support for :
ffmpeg -h encoder=h264_qsv

Use examples :
adopt ffmpeg -h encoder=h264 And ffmpeg -h decoder=h264 see h264_qsv You can see the hardware parameter information ,h264_qsv Only support nv12 And qsv Pixel format , So it's using yuv420p It needs to be converted into nv12 Can only be ,FFmpeg The conversion of this operation can be performed automatically , Here is an example of hard transcoding :
./ffmpeg -i 10M1080P.mp4 -pix_fmt nv12 -vcodec h264_qsv -an -y output.mp4
After command line execution ,FFmpeg Will use h264_qsv Decode and encode .
Inter QSV h265
ffmepg Medium Inter QSV h265 The parameters of Inter QSV h264 The parameters for are similar , However, the parameter specifying whether to use soft coding or hard coding has been added .
Use examples :
./ffmpeg -hide_banner -y -hwaccel qsv -i 10M1080P.mp4 -an -c:v hevc_qsv -load_plugin hevc_hw -b:v 5M -maxrate 5M out.mp4
边栏推荐
- sql server中关于FORCESCAN的使用以及注意项
- 6-2 多个整数的逆序输出-递归
- sql server中移除key lookup书签查找
- Service学习笔记01-启动方式与生命周期
- 【深度学习基础】神经网络的学习(3)
- There are so many open source projects. This time, I'll show you the differences between different versions and understand the meaning of alpha version, beta version and RC version
- R语言 mice包 Error in terms.formula(tmp, simplify = TRUE) : ExtractVars里的模型公式不对
- tidb-cdc日志tables are not eligible to replicate
- CentOS7服务器配置(四)---安装redis
- Mathematical basis of information security Chapter 2 - congruence
猜你喜欢
随机推荐
Tidb CDC log tables are not eligible to replicate
TestPattern error
R语言 mice包 Error in terms.formula(tmp, simplify = TRUE) : ExtractVars里的模型公式不对
Vscode configures eslint to automatically format with an error "the setting is deprecated. use editor.codeactionsonsave instead with a source“
ffmpeg硬件编解码Nvidia GPU
[foundation of deep learning] learning of neural network (3)
Authing 双周动态:Authing 论坛上线(4.25-5.8)
6-8 创建、遍历链表
使用exe4j 将.jar文件打包为.exe文件
Mathematical basis of information security Chapter 1 - Division
TiDB-unsafe recover(tikv宕机数大于等于一半副本数)
Leetcode力扣刷题
Speed adjustment of tidb DDL
Service学习笔记04- 其他服务实现方式与替代方式
R language to find missing value location of data set
6-2 多个整数的逆序输出-递归
Leetcode force deduction question
你还不懂线程池的设计及原理吗?掰开揉碎了教你设计线程池
05_特征工程—降维
有效的括号---2022/02/23



![[foundation of deep learning] learning of neural network (3)](/img/a5/1b80ba85faf8fa636b784c76d4df2f.png)




