Quantcast
Channel: Intel® Software - Media
Viewing all 2185 articles
Browse latest View live

OpenGL support with media sdk server

$
0
0

Hello,

Is openGL supported with media sdk server ? Is there a demo/example ?

Regards,

Ran


MediaSDK R6 install Error: Not installed intel-linux-media-devel rpm package

$
0
0

Hi, I tried to install MediaServerStudioEssentials2015R6 in another server, but:

# cd /MSS
# su wr
$ ./
$ ./build_kernel_rpm_CentOS.sh
Error... Not installed intel-linux-media-devel rpm package!
$

However, in the previous step:
————————————————————————————————————————————————
# ./install_sdk_UMD_CentOS.sh
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Warning: Group development does not have any packages to install.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
Package kernel-headers-3.10.0-229.20.1.el7.x86_64 already installed and latest version
Package kernel-devel-3.10.0-229.20.1.el7.x86_64 already installed and latest version
Nothing to do
Package bison-2.7-4.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-13.20130511.el7.x86_64 already installed and latest version
Package hmaccalc-0.9.13-4.el7.x86_64 already installed and latest version
......
Package pciutils-devel-3.2.1-4.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-18.el7_1.1.x86_64 already installed and latest version
Package zlib-devel-1.2.7-13.el7.x86_64 already installed and latest version
Nothing to do
Preparing...                          ################################# [100%]
        package libdrm-2.4.56-39163.el7.x86_64 is already installed
        package libva-1.3.1-staging.20130628.39163.el7.x86_64 is already installed
        package intel-linux-media-16.4.2.1-39163.el7.x86_64 is already installed
        package intel-opencl-1.2-16.4-39163.el7.x86_64 is already installed
        package intel-opencl-1.2-devel-16.4-39163.el7.x86_64 is already installed
        package intel-linux-media-devel-16.4.2.1-39163.el7.x86_64 is already installed    //Here!
        package libva-devel-1.3.1-staging.20130628.39163.el7.x86_64 is already installed
......
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/0001-Work-around-to-avoid-reduce-spinning-in-the-userspac.patch
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/README
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/0001-Reducing-KMD-polling-on-ioctl-calls.patch
‘intel-linux-media-patches-39163/libdispatch_trace.a’ -> ‘/opt/intel/mediasdk/lib/lin_x64/’
cp: cannot create regular file ‘/opt/intel/mediasdk/lib/lin_x64/’: No such file or directory
‘intel-linux-media-patches-39163/libdispatch_shared.a’ -> ‘/opt/intel/mediasdk/lib/lin_x64/’
cp: cannot create regular file ‘/opt/intel/mediasdk/lib/lin_x64/’: No such file or directory
‘intel-linux-media-patches-39163/libmfx-tracer.so’ -> ‘/opt/intel/mediasdk/tools/tracer/’
cp: cannot create regular file ‘/opt/intel/mediasdk/tools/tracer/’: No such file or directory
+++ HotFixes installed, cleanup
# cd /MSS
——————————————————————————————————————————

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
can anyone help me? Thanks~

MediaSDK R6 install Error: Not installed intel-linux-media-devel rpm package

$
0
0

Hi, I tried to install MediaServerStudioEssentials2015R6 in another server, but:

# cd /MSS
# su wr
$ ./
$ ./build_kernel_rpm_CentOS.sh
Error... Not installed intel-linux-media-devel rpm package!
$

However, in the previous step:
————————————————————————————————————————————————
# ./install_sdk_UMD_CentOS.sh
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Warning: Group development does not have any packages to install.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
Package kernel-headers-3.10.0-229.20.1.el7.x86_64 already installed and latest version
Package kernel-devel-3.10.0-229.20.1.el7.x86_64 already installed and latest version
Nothing to do
Package bison-2.7-4.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-13.20130511.el7.x86_64 already installed and latest version
Package hmaccalc-0.9.13-4.el7.x86_64 already installed and latest version
......
Package pciutils-devel-3.2.1-4.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-18.el7_1.1.x86_64 already installed and latest version
Package zlib-devel-1.2.7-13.el7.x86_64 already installed and latest version
Nothing to do
Preparing...                          ################################# [100%]
        package libdrm-2.4.56-39163.el7.x86_64 is already installed
        package libva-1.3.1-staging.20130628.39163.el7.x86_64 is already installed
        package intel-linux-media-16.4.2.1-39163.el7.x86_64 is already installed
        package intel-opencl-1.2-16.4-39163.el7.x86_64 is already installed
        package intel-opencl-1.2-devel-16.4-39163.el7.x86_64 is already installed
        package intel-linux-media-devel-16.4.2.1-39163.el7.x86_64 is already installed    //Here!
        package libva-devel-1.3.1-staging.20130628.39163.el7.x86_64 is already installed
......
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/0001-Work-around-to-avoid-reduce-spinning-in-the-userspac.patch
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/README
intel-linux-media-patches-39163/KMD-patches-for-realtime-threads/0001-Reducing-KMD-polling-on-ioctl-calls.patch
‘intel-linux-media-patches-39163/libdispatch_trace.a’ -> ‘/opt/intel/mediasdk/lib/lin_x64/’
cp: cannot create regular file ‘/opt/intel/mediasdk/lib/lin_x64/’: No such file or directory
‘intel-linux-media-patches-39163/libdispatch_shared.a’ -> ‘/opt/intel/mediasdk/lib/lin_x64/’
cp: cannot create regular file ‘/opt/intel/mediasdk/lib/lin_x64/’: No such file or directory
‘intel-linux-media-patches-39163/libmfx-tracer.so’ -> ‘/opt/intel/mediasdk/tools/tracer/’
cp: cannot create regular file ‘/opt/intel/mediasdk/tools/tracer/’: No such file or directory
+++ HotFixes installed, cleanup
# cd /MSS
——————————————————————————————————————————

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
can anyone help me? Thanks~

Support of image rotation during screen capture

$
0
0

Hi,

I am using screen capture module along with sample_encode module to capture my desktop image and encode it into h264 format. I am running this application on a Windows8 desktop machine and on a windows8 Microsoft surface device and it works fine.  Now I want to add the support of screen rotation feature for Microsoft Surface device.

At present when surface device is rotated at 90 degree then I get the captured output frame un-oriented but image is rotated inside. E.g. if original desktop resolution is 1920x1080 and it is rotated by 90 degree, then capture module delivers raw output frame of 1920x1080 resolution in which desktop image is rotated inside.

My objective in this case is to get a final output frame with 1080x1920 resolution (height width swapped )so that desktop image still looks un-rotated even though device is rotated.

I checked in media sdk and found that there is a rotation plugin which supports only 180 degree rotation and that too for jpeg decoding only. So is there any module/lib in media sdk which supports image rotation (by 90, 180 & 270 degree) during screen capturing or h264 encoding, or h264 decoding?

My environment details are as following:

IMSDK version: 6.0.0.349
Sample decode version: 6.0.0.49
OS: Windows 8.1
Graphics Card: Intel(R) HD Graphics 4400 with driver version 10.18.14.4294

Thanks.

 

MediaSamples_Linux_6.0 generated failed

$
0
0

Hi, I tried to generated MediaSamples with MediaServerStudioEssentials2015R6. following
\MediaSamples_Linux_6.0.16043175.175\Media_Samples_Guide.pdf

 

 

Error details:

——————————————————————————————————————————————

[ samples]# perl build.pl --cmake=intel64,make,debug --build --clean

...............

cd /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug/sample_plugins/rotate_opencl && /bin/c++   -DLINUX -DLINUX32 -DLINUX64 -DMFX_FILE_VERSION=\"0.15.11.30\" -DMFX_PRODUCT_VERSION=\"0.0.000.0000\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dsample_plugin_opencl_EXPORTS -m64 -msse4.2 -pipe -fPIC -O0 -Wall -Wno-unknown-pragmas -Wno-unused -g -D_DEBUG -fPIC -I/opt/intel/mediasdk/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_common/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include    -DCL_USE_DEPRECATED_OPENCL_1_1_APIS  -I/usr/include  -DLIBVA_SUPPORT  -o CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o -c /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp
In file included from /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:13:0:
/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:25:23: fatal error: CL/va_ext.h: No such file or directory
 #include <CL/va_ext.h>
                       ^

compilation terminated.
gmake[2]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o] Error 1
gmake[2]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake[1]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/all] Error 2
gmake[1]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake: *** [all] Error 2

[ intel64.make.debug                                 State: FAIL ]

————————————————————————————————————————————————————

However, I had installed OpenCL successfully:

[samples]# find / -name libOpenCL.so*
/opt/intel/opencl/libOpenCL.so.1
/opt/intel/opencl/libOpenCL.so
/opt/intel/opencl/libOpenCL.so.1.2
[samples]#

 

[ samples]# find / -name va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/common/CL/va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/MotionEstimation/CL/va_ext.h
/opt/intel/opencl/include/CL/va_ext.h
[ samples]#

————————————————————————————————————————————————————————

Have I done something wrong? Can anyone help me? Thanks~

 

 

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
 

 

MediaSamples_Linux_6.0 generated failed

$
0
0

Hi, I tried to generated MediaSamples with MediaServerStudioEssentials2015R6. following
\MediaSamples_Linux_6.0.16043175.175\Media_Samples_Guide.pdf

 

 

Error details:

——————————————————————————————————————————————

[ samples]# perl build.pl --cmake=intel64,make,debug --build --clean

...............

cd /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug/sample_plugins/rotate_opencl && /bin/c++   -DLINUX -DLINUX32 -DLINUX64 -DMFX_FILE_VERSION=\"0.15.11.30\" -DMFX_PRODUCT_VERSION=\"0.0.000.0000\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dsample_plugin_opencl_EXPORTS -m64 -msse4.2 -pipe -fPIC -O0 -Wall -Wno-unknown-pragmas -Wno-unused -g -D_DEBUG -fPIC -I/opt/intel/mediasdk/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_common/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include    -DCL_USE_DEPRECATED_OPENCL_1_1_APIS  -I/usr/include  -DLIBVA_SUPPORT  -o CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o -c /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp
In file included from /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:13:0:
/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:25:23: fatal error: CL/va_ext.h: No such file or directory
 #include <CL/va_ext.h>
                       ^

compilation terminated.
gmake[2]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o] Error 1
gmake[2]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake[1]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/all] Error 2
gmake[1]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake: *** [all] Error 2

[ intel64.make.debug                                 State: FAIL ]

————————————————————————————————————————————————————

However, I had installed OpenCL successfully:

[samples]# find / -name libOpenCL.so*
/opt/intel/opencl/libOpenCL.so.1
/opt/intel/opencl/libOpenCL.so
/opt/intel/opencl/libOpenCL.so.1.2
[samples]#

 

[ samples]# find / -name va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/common/CL/va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/MotionEstimation/CL/va_ext.h
/opt/intel/opencl/include/CL/va_ext.h
[ samples]#

————————————————————————————————————————————————————————

Have I done something wrong? Can anyone help me? Thanks~

 

 

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
 

 

MediaSamples_Linux_6.0 generated failed

$
0
0

Hi, I tried to generated MediaSamples with MediaServerStudioEssentials2015R6. following
\MediaSamples_Linux_6.0.16043175.175\Media_Samples_Guide.pdf

 

 

Error details:

——————————————————————————————————————————————

[ samples]# perl build.pl --cmake=intel64,make,debug --build --clean

...............

cd /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug/sample_plugins/rotate_opencl && /bin/c++   -DLINUX -DLINUX32 -DLINUX64 -DMFX_FILE_VERSION=\"0.15.11.30\" -DMFX_PRODUCT_VERSION=\"0.0.000.0000\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dsample_plugin_opencl_EXPORTS -m64 -msse4.2 -pipe -fPIC -O0 -Wall -Wno-unknown-pragmas -Wno-unused -g -D_DEBUG -fPIC -I/opt/intel/mediasdk/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_common/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include    -DCL_USE_DEPRECATED_OPENCL_1_1_APIS  -I/usr/include  -DLIBVA_SUPPORT  -o CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o -c /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp
In file included from /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:13:0:
/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:25:23: fatal error: CL/va_ext.h: No such file or directory
 #include <CL/va_ext.h>
                       ^

compilation terminated.
gmake[2]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o] Error 1
gmake[2]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake[1]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/all] Error 2
gmake[1]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake: *** [all] Error 2

[ intel64.make.debug                                 State: FAIL ]

————————————————————————————————————————————————————

However, I had installed OpenCL successfully:

[samples]# find / -name libOpenCL.so*
/opt/intel/opencl/libOpenCL.so.1
/opt/intel/opencl/libOpenCL.so
/opt/intel/opencl/libOpenCL.so.1.2
[samples]#

 

[ samples]# find / -name va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/common/CL/va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/MotionEstimation/CL/va_ext.h
/opt/intel/opencl/include/CL/va_ext.h
[ samples]#

————————————————————————————————————————————————————————

Have I done something wrong? Can anyone help me? Thanks~

 

 

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
 

 

windows 7 handles leak

$
0
0

hi, 

I need your help。

I download INDE Media SDK for Windows 6.0.0.388 and intel_media_sdk_2016, in win8 they goes well,but win7 handle keep increasing。

my code like this:

while(true)

{

...

MFXInit(m_session, &version);

....

MFXVideoENCODE_Init(m_session, &m_mfxEncParams);

...

MFXVideoENCODE_Close(m_session);
MFXClose(m_session);

Sleep(50);

}

loop open and close,it's wrong in the function MFXVideoENCODE_Init, in win7 handles can't be recovery and once add eight.

and I think maybe it's no problem in previou version, but I can't find the link to download. can you tell me.

 


OpenCL VME vs HEVC GACC library for HEVC encoding

$
0
0

Hi,

I am trying to understand the differences between what is exposed through the OpenCL VME extension on Intel hardware, and what is available through the HEVC GACC library that is available as part of the Intel Server Studio Media SDK. Is it right to assume that the HEVC GACC library is a wrapper around the OpenCL VME extensions and so one can do what the HEVC GACC library does by using the OpenCL VME extension, or does it use an orthogonal path to access the hardware altogether? Also, I notice that the OpenCL VME tutorial talks about using built-in kernels available as part of OpenCL 1.2. Can I use them also when using OpenCL 2.0 so that I can take advantage of SVM, or is that not an option with the VME? Also, which one is expected to be faster?

I am trying to understand which option would provide me faster and accurate motion estimates for HEVC encoding...

Appreciate any information that I can receive about this!

Pradeep.

question on mfxVersion

$
0
0

hello Intel-giant,

   I have a question in mediasdk-tutorials-0.0.3. I found something below in simple_1_session/src/simple_session.cpp

    // If more recent API features are needed, change the version accordingly
    mfxIMPL impl = options.values.impl;
    mfxVersion ver = { {0, 1} };

   Q1. Is there any document or release note to describe the modifications among these mfxVersions ?? 

 

question on simple_decode_vmem

$
0
0

hello Intel friends,

OS: Ubuntu 12.04

       MediaSamples_Linux_6.0.16043175.175

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

      I use two bit-stream to be decoded correctly Just like the following and got failure as using combined bit-stream. Basically, the parameters are validated in each bit-stream and it should be OK. Why it fail to decode combined bit-stream??

[_build] $ pwd
/home/dspuser/Downloads/mediasdk-tutorials-0.0.3/_build
[_build] $ sudo ./simple_decode_vmem -auto test_stream.264     ==> validate first bit-stream
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

Execution time: 0.07 s (1421.59 fps)
[_build] $ sudo ./simple_decode_vmem -auto 1080p_4M.h264     ==> validate second bit-stream
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

Execution time: 1.04 s (611.63 fps)

     And I combined these two bit-streams and validate with ffmpeg. But I got failure as using simple_decode_vmem

[_build] $ cp test_stream.264 combined.264              ==> create combined bit-stream  
[_build] $ cat 1080p_4M.h264 >> combined.264        ==> create combined bit-stream  
[_build] $ ffmpeg -i combined.264  -vcodec rawvideo -pix_fmt yuv420p combined.yuv       ==> validate with ffmpeg

ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug  5 2014 05:02:01 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-version3 --enable-libx264 --enable-encoder=libx264 --enable-libvpx --disable-zlib --disable-debug
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, h264, from 'combined.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 176x96 [SAR 1:1 DAR 11:6], 30 fps, 30 tbr, 1200k tbn, 60 tbc
Output #0, rawvideo, to 'combined.yuv':
  Metadata:
    encoder         : Lavf55.19.104
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 176x96 [SAR 1:1 DAR 11:6], q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> rawvideo)
Press [q] to stop, [?] for help
[h264 @ 0x21c2580] Delayed frames seen. Reenabling low delay requires a codec flush.
[h264 @ 0x21c2580] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x21c2e40] Delayed frames seen. Reenabling low delay requires a codec flush.
[h264 @ 0x21b2100] Delayed frames seen. Reenabling low delay requires a codec flush.
[h264 @ 0x21b29c0] Delayed frames seen. Reenabling low delay requires a codec flush.
[h264 @ 0x2195440] Delayed frames seen. Reenabling low delay requires a codec flush.
Input stream #0:0 frame changed from size:176x96 fmt:yuv420p to size:1920x1080 fmt:yuv420p
[h264 @ 0x21b2100] Delayed frames seen. Reenabling low delay requires a codec flush.
[h264 @ 0x21b29c0] Delayed frames seen. Reenabling low delay requires a codec flush.
    Last message repeated 1 times
frame=  736 fps=419 q=0.0 Lsize=   18216kB time=00:00:24.53 bitrate=6082.6kbits/s
video:18216kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
[_build] $ sudo ./simple_decode_vmem -auto combined.264    ==> got failure
[sudo] password for dspuser:
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

 Incompatible video parameters. src/simple_decode_vmem.cpp 200
[_build] $

question on alignment

$
0
0

hi Intel-friends,

OS: Ubuntu 12.04

       mediasdk-tutorials-0.0.3

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

Q1. I found some description as below in simple_decode_vpp_pp.cpp, may I know the reason on "width must be a multiple of 16" and "height must be a multiple of 16 in case of frame picture and a multiple of 32 in case of field picture" ??

    // width must be a multiple of 16
    // height must be a multiple of 16 in case of frame picture and a multiple of 32 in case of field picture
    VPPParams.vpp.In.Width = MSDK_ALIGN16(VPPParams.vpp.In.CropW);
    VPPParams.vpp.In.Height =
        (MFX_PICSTRUCT_PROGRESSIVE == VPPParams.vpp.In.PicStruct) ?
        MSDK_ALIGN16(VPPParams.vpp.In.CropH) :
        MSDK_ALIGN32(VPPParams.vpp.In.CropH);

Q2. I didn't find any behavior about alignment in simple_decode_vmem.cpp but simple_decode.cpp and simple_decode_vpp_pp.cpp. Does it mean there's no alignment requirement in video memory? if not, why??

Thanks in advance 

 

MFXVideoENCODE_EncodeFrameAsync fails with MFX_ERR_INVALID_VIDEO_PARAM

$
0
0

Hi.

I had a problem by using the SDK.

So, I would like to encode single YUV frame into H.265 format. Basically I can do it with settings in the SDK sample sample_encode part.

But, when I try to mandate the frame type through mfxEncodeCtrl I get MFX_ERR_INVALID_VIDEO_PARAM error.

mfxEncodeCtrl control_buffer;
memset(&control_buffer, 0, sizeof(mfxEncodeCtrl));
control_buffer.FrameType = MFX_FRAMETYPE_IDR | MFX_FRAMETYPE_REF;

sts = m_pmfxENC->EncodeFrameAsync(&control_buffer, &m_pEncSurfaces[nEncSurfIdx], &pCurrentTask->mfxBS, &pCurrentTask->EncSyncP);

It looks like there is a conflict between encoder initialization and the control buffer. But this is for sure 1 frame to be encoded, so, I don't see any conflict points. Maybe someone knows why it produces an error ?

Can't run HW HEVC decoder

$
0
0

Hi.

I've downloaded evaluation of the Prof. Version of the MSS SDK. So, I'm able to use HEVC HW encoder but not decoder.

in /opt/intel/mediasdk/plugins/ there is no HW plugin. Only SW.

So, the question, how to get the HW decoder plugin ?

Here is output of the sample application: 

./sample_decode_drm h265 -i ~/Downloads/140803_4k_hm130_4s_sao_dbf_qp27.265 -o test.yuv -p 33a61c0b4c27454ca8d85dde757c6f8e
plugin_loader.h :153 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x33, 0xa6, 0x1c, 0x0b, 0x4c, 0x27, 0x45, 0x4c, 0xa8, 0xd8, 0x5d, 0xde, 0x75, 0x7c, 0x6f, 0x8e } (Intel (R) Media SDK HW plugin for HEVC DECODE)

Return on error: error code -3,    /home/m.koshel/Projects/MediaSamples_Linux_6.0.16043175.175/samples/sample_decode/src/pipeline_decode.cpp    266

Return on error: error code 1,    /home/m.koshel/Projects/MediaSamples_Linux_6.0.16043175.175/samples/sample_decode/src/sample_decode.cpp    501

HEVC FEI SW/HW

$
0
0

Hi.

I'm new to this SDK, so I would like to ask obvious question about HEVC FEI API.

I don't understand by the SDK documentation a way of using the mfxFEIH265Output structur in the MFXVideoENCODE_EncodeFrameAsync.

Maybe someone can point to me to the correct direction of usage ?


question on simple_encode

$
0
0

hello Intel-friends,

OS: Ubuntu 12.04

       mediasdk-tutorials-0.0.3

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

     As I trace the code of Simple_encode.cpp, I found something below and have question about reason of restriction of 2048. Do you know why?? Hardware design or else?? I have checked https://software.intel.com/sites/default/files/mediasdk-man.pdf but found no answer.

    w /= 2;
    h /= 2;
    ptr = pData->UV + pInfo->CropX + (pInfo->CropY / 2) * pitch;
    if (w > 2048)                                                                      ==> what the restriction means ??
        return MFX_ERR_UNSUPPORTED;      

 

question on tutorials_readme.pdf

$
0
0

hi Intel friends,

OS: Ubuntu 12.04

       mediasdk-tutorials-0.0.3

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

    I have three questions as below

Q1. the description "Video memory surfaces allow greater efficiency by avoiding explicit copies." in section 3.2 simple 2 decode vmem. What the "explicit copies" means ??

Q2. the description "By moving from system to video memory implicit copies are eliminated" in section 4.2 simple 3 encode vmem. What the "implicit copies" means ??.

Q3. As we know, the system memory has its frequency 1333Mhz (http://ark.intel.com/products/75044/Intel-Core-i5-4570S-Processor-6M-Cac...). But I can't find the video memory frequency in listed URL. Do you know where can I got the info??

 

New VPA Release! Video Analysis Just Got Easier

Can't encode yuv with HD graphics

$
0
0

Hi,

I am learning Media Server SDK and encode sample encodes fine when i use:

MFXVideoSession session;
sts = session.Init(MFX_IMPL_HARDWARE, &version);

Output:

HW version:1.16 API Level: 1.16

Затрачено время: 182 mс
fps: 554.94505
Press <RETURN> to close this window...

When i use this function:

MFXVideoSession session;
sts = Initialize(MFX_IMPL_HARDWARE, version, &session, NULL);

I got:

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
HW version:1.16 API Level: 1.16

 Operation aborted. ../enc/main.cpp 187
Press <RETURN> to close this window...

Or if i comment line 187:

sts = session.SyncOperation(syncp, 60000);
//MSDK_CHECK_RESULT(sts, MFX_ERR_NONE, sts); //187

i got:

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
HW version:1.16 API Level: 1.16
Frame number: 5
 Could not allocate memory. ../enc/main.cpp 162
Press <RETURN> to close this window...

Here is my cpp:http://verti.ee/etc/intel_encode/main.cpp.txt

 

System:

Gentoo Linux 4.1.12 x86_64

Intel® 4th generation Core™ i7-4770R

Intel® Iris™ Pro graphics 5200

Please help me.

 

Best regards Viktor.

 

 

 

question on simple_3_encode_vmem_async

$
0
0

hi Intel-giant,

OS: Ubuntu 12.04

       mediasdk-tutorials-0.0.3

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

I got questions as reading simple_encode_vmem_async.cpp

Q1. Is this parameter (AsyncDepth) platform-dependent ??  2 cores or 4 cores or else ?? Or did you mean it's better for all platform?? May I know how did you proof to result in good performance ??  

    // - AsyncDepth represents the number of tasks that can be submitted, before synchronizing is required
    // - The choice of AsyncDepth = 4 is quite arbitrary but has proven to result in good performance
    mfxEncParams.AsyncDepth = 4;

Q2. according to  the following, why the suggested frame number will be changed??

    // Query number of required surfaces for encoder
    mfxFrameAllocRequest EncRequest;
    ...
    sts = mfxENC.QueryIOSurf(&mfxEncParams, &EncRequest);
    ...

    EncRequest.NumFrameSuggested = EncRequest.NumFrameSuggested + mfxEncParams.AsyncDepth;   ==> why AsyncDepth was added ??

 

Thanks in advance...    QQa

 

Viewing all 2185 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>