音视频
文章平均质量分 55
帅蛋x
这个作者很懒,什么都没留下…
展开
-
FFmpeg+QSV+SDL2 格式流转说明
最近在做ffmpeg qsv硬解码并使用sdl2显示服务,但是对于创建硬解码器之后,解码及显示流程中数据格式流转还是不清晰。本文可能存在误区,欢迎大家批评指正1.创建硬解码器解码第一步需要指定硬解码器av_hwdevice_ctx_create负责创建一个特殊类型的硬解码器并创建上下文该函数注释:/** * Open a device of the specified type and create an AVHWDeviceContext for it. * * This is原创 2021-04-08 14:56:56 · 1320 阅读 · 1 评论 -
快速安装VLC记录
1.前言最近在做基于Intel UHD硬解的播放器,需要VLC进行对比但是yum直接安装或者是源码编译安装都很麻烦,很多依赖库。终于找到这个办法可以快速安装,记录2.下载tar包地址:https://www.techspot.com/downloads/3562-vlc-media-player.html下载完成后解压xz -d vlc-3.0.11.tar.xztar -xvf vlc-3.0.11.tar3.开始安装cd vlc-3.0.11/./confi.原创 2021-03-31 14:40:02 · 826 阅读 · 0 评论 -
elfutils-master编译步骤记录
1.源码地址https://github.com/kushaldas/elfutils2.开始编译autoheaderaclocal -I m4autoconfautomake -a -c./configure--disable-dependency-tracking去掉所有Makefile中的Werror编译选项,Makefile中直接搜索即可,删除make...原创 2021-03-30 10:07:10 · 406 阅读 · 0 评论 -
procps安装记录
最近准备支持一下Intel UHD630的GPU信息查询,安装intel_gpu_top的时候依赖procps,记录一下1.源码下载并解压下载地址:https://github.com/thlorenz/procps2.准备安装cdprocps-master/deps/procps./autogen./configure--without-ncursesvi proc/escape.c注释掉 escape.c:36:14make;make install...原创 2021-03-30 09:39:03 · 574 阅读 · 0 评论 -
手动安装intel-gpu-tools
直接运行系统intel_gpu_top命令会报错Test assertion failure function init_instdone_definitions, file instdone.c:599:Failed assertion: IS_GEN2(devid)网上也找不到合适的解决办法,于是准备源码安装一遍intel_gpu_top1.下载源码https://github.com/ideak/intel-gpu-tools2.autogen[root@localhost原创 2021-03-29 17:19:22 · 4216 阅读 · 0 评论 -
mpv编译过程记录
mpv编译过程记录1.下载地址https://github.com/mpv-player/mpv2.解压文件3.生成编译脚本./bootstrap.py或者python34.编译选项查看./waf configure --help5.编译错误解决我的编译选项./waf configure --enable-libmpv-shared --enable-sdl25.1Unable to find development files f...原创 2021-03-29 14:21:07 · 1022 阅读 · 0 评论