h265 硬解码

转载 2016年08月31日 15:00:40

Intel QSV

Intel QSV (Quick Sync Video) is a technology which allows decoding and encoding using recent Intel CPU and integrated GPU, supported on recent Intel CPUs. Note that the (CPU)GPU needs to be compatible with both QSV and OpenCL. Some (older) QSV -enabled GPUs aren't compatible with OpenCL. See: http://www.intel.com/content/www/us/en/architecture-and-technology/quick-sync-video/quick-sync-video-general.html https://software.intel.com/en-us/articles/intel-sdk-for-opencl-applications-2013-release-notes

To enable QSV support, you need the Intel Media SDK integrated in the Intel Media Server Studio: https://software.intel.com/en-us/intel-media-server-studio

The Intel Media Server studio is available for both Linux and Windows, and contains the libva and libdrm libraries, the libmfx dispatcher library and the intel drivers. libmfx is the library which selects the codec depending on the system capabilities, falling back to a software implementation if the hardware accelerated codec is not available).

FFmpeg QSV support relies on libmfx, but the library provided by Intel does not come with pkg-config files and a proper installer. Thus the easiest to install the library is to use the libmfx version packaged by lu_zero here: https://github.com/lu-zero/mfx_dispatch

Requirements on Windows: install the Intel Media SDK packaged in the Intel Media Server Studio, which comes with a graphic installer, and a MinGW compilation enviroment (for example provided by MSYS2 with a corresponding Mingw-w64 package). Then you need to build libmfx and install it in a path recognized by pkg-config. For example if you install in /usr/local then you need the update the$PKG_CONFIG_PATH environment variable to make it point to /usr/local/lib/pkgconfig.

Requriments on Linux: you need either to rely on the Intel Media Server Studio for Linux, or use a recent enough supported system, with the libva and libdrm libraries, the libva Intel drivers, and the libmfx library packaged by lu_zero. Note: in case you use the Intel Media Server Studio generic installation script, the installation script may overwrite your system libraries and break the system.

Check the following website for updated information about the Intel Graphics stack on the various Linux platforms: https://01.org/linuxgraphics

To enable QSV support in the FFmpeg build, configure with --enable-libmfx.

Support for decoding and encoding is integrated in FFmpeg through several codecs identified by the _qsv suffix. In particular, it currently supports MPEG2 video, VC1 (decoding only), H.264 and H.265.

For example to encode to H.264 using h264_qsv, you can use the command:

ffmpeg -i INPUT -c:v h264_qsv -preset:v faster out.qsv.mp4

Android使用ffmpeg解码h265裸流vs使用MediaCodec解码h265裸流

突然发现自己曾经做过的东西要记录下来,这样以后就不至于找不到了,早这样该多好。今天整理了一下之前做的demo,希望对你们也有用。如果哪里移植不好。加我qq:106601549 这只是个个简单的demo...
  • mtaxot
  • mtaxot
  • 2017年03月31日 14:42
  • 8391

Delphi7高级应用开发随书源码

  • 2003年04月30日 00:00
  • 676KB
  • 下载

Android 解码MediaCodec 播放H264 265

package io.vec.demo.mediacodec;import java.io.IOException; import java.nio.ByteBuffer;import android...
  • yulinxx
  • yulinxx
  • 2017年01月09日 15:42
  • 1871

mingw编译libmfx中遇到的问题

mingw编译libmfx中遇到的问题

最简单的视频编码器:基于libx265(编码YUV为H.265)

本文记录一个最简单的基于libx265的H.265(HEVC)视频编码器。此前记录的编码器是通过FFmpeg调用libx265完成编码的,例如:《最简单的基于FFmpeg的视频编码器-更新版(YUV编...

TX1上使用265实时硬编码

官方明确说可以使用gstreamer,并且提供了gstreamer的一些样例 https://devtalk.nvidia.com/default/topic/920426/encode-h265-o...
  • uselym
  • uselym
  • 2017年05月08日 20:02
  • 1017

Android H.265硬解码&EasyPlayerPro

H.265编码算法作为新一代视频编码标准,在编码效果上有了很大的进步,同样清晰度的视频,265要比264有着更低的码率。关于265对比264的优越性,网上有更专业的文章来作分析,我也仅对这两种算法略知...
  • jyt0551
  • jyt0551
  • 2017年07月05日 21:09
  • 2184

[H265/HEVC]开源项目

1.X265 个是有两个版本,一个是国内人搞的,是国外公司搞的 1.只是一个编码器,目前没有支持解码 开发语言 c++ web url: www.x265.org source url: https:...
  • tttyd
  • tttyd
  • 2013年09月13日 17:37
  • 7598

HEVC/H.265视频软硬件编码

HEVC/H.265视频软硬件编码的概念是相对的,通常把基于处理器平台实现的编码器称为软编码,典型如基于PC/ARM/DSP的视频编码器,而硬编码则通常指基于数字逻辑电路搭建的视频编码器,典型如基于F...
  • coloriy
  • coloriy
  • 2015年07月29日 15:28
  • 1893

使用ffmpeg的lib库解码H264/H265

ffmpeg的开源代码自行在ffmpeg的官方下载(http://ffmpeg.org/) 一、编译 编译之前需要先安装gcc编译器,本文使用的是arm-linux的交叉编译器,这里简称ar...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:h265 硬解码
举报原因:
原因补充:

(最多只允许输入30个字)