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

MFXVideoENC_Query() always returns MFX_ERR_UNSUPPORTED

$
0
0

Dear support,

I'm trying to use the MFXVideoENC_Query function to determine the maximum possible target bitrate for different video resolutions. Unfortunately, the function always returns MFX_ERR_UNSUPPORTED no matter what structures or attributes I feed in (I tried mode 1. and mode 2.).
Plattform is Intel i3-4330 / HD 6400 / Win10 x64 / MediaSDK 2016 / H.264 HW encode / API Version 1.20 / GPU driver version June 9th 2017.
The actual encoding works properly. 

As I understand from the Reference Manual the CodecId attribute (MFX_CODEC_AVC) is the only one must have parameter in the mfxVideoParam structure in order to receive a valid result. Can you advise how to get the MFXVideoENC_Query function to work as expected ?

Thank you,
Stefan.


Intel Quick Sync AAC Audio Encoding

$
0
0

Hi,

I'm trying to initialize the audio encoder SDK, but I always get the MFX_ERR_INVALID_HANDLE error. Here is my code:

mfxIMPL mfxImpl = MFX_IMPL_HARDWARE;

mfxVersion mfxVersion = {MFX_AUDIO_VERSION_MINOR, MFX_AUDIO_VERSION_MAJOR};

 

MFXAudioSession mfxSession;

 

stStatus = mfxSession.Init(mfxImpl, &mfxVersion);

 

MFXAudioENCODE mfxEncoder(mfxSession);

 

mfxAudioParam mfxParam;

memset(&mfxParam, 0x00, sizeof(mfxAudioParam));

 

mfxParam.mfx.CodecId = MFX_CODEC_AAC;

mfxParam.mfx.CodecProfile = MFX_PROFILE_AAC_MAIN;

mfxParam.mfx.Bitrate = 128000;

mfxParam.mfx.SampleFrequency = 48000;

mfxParam.mfx.NumChannel = 2;

mfxParam.mfx.BitPerSample = 16;

mfxParam.mfx.OutputFormat = MFX_AUDIO_AAC_RAW;

mfxParam.mfx.StereoMode = MFX_AUDIO_AAC_LR_STEREO;

 

stStatus = mfxEncoder.Init(&mfxParam); // stStatus value = MFX_ERR_INVALID_HANDLE

 

mfxEncoder.Close();

mfxSession.Close();

 

BR, John.

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC when use MediaServerStudioEssentials2017R3 @ CentOS Linux release 7.3.1611

$
0
0

Hi Experts,

Good day.

I am facing the issue when try to use MediaServerStudioEssentials2017R3 @ CentOS Linux release 7.3.1611

The installation is correct but when i tried to use -hw decode, it says MFX_ERR_UNSUPPORTED; but -sw works well.

Do you have any suggestions/comments?

Thanks in advance.

Please check the error log below.

========================= -hw error =============================

[root@localhost x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw

Multi Transcoding Sample Version 8.0.24.698

 

libva info: VA-API version 0.99.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

Pipeline surfaces number (DecPool): 20

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/pipeline_transcode.cpp:3336

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, pThreadPipeline->pPipeline->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:348

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), main, transcode.Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:750

[root@localhost x64]#

===========================================================

======================== -sw good ===================================

[root@localhost x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

Multi Transcoding Sample Version 8.0.24.698

 

Pipeline surfaces number (DecPool): 19

MFX SOFTWARE Session 0 API ver 1.23 parameters:

Input  video: AVC

Output video: AVC

 

Session 0 was NOT joined with other sessions

 

Transcoding started

..

Transcoding finished

 

Common transcoding time is 0.132543 sec

-------------------------------------------------------------------------------

*** session 0 PASSED (MFX_ERR_NONE) 0.132462 sec, 101 frames

-i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

 

-------------------------------------------------------------------------------

 

The test PASSED

======================= ENV ================================

[root@localhost x64]# uname -a
Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost x64]# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 

[root@localhost x64]# ls /mnt/MediaServerStudioEssentials2017R3/
Intel(R)_Media_Server_Studio_EULA.pdf             redist.txt
intel_sdk_for_opencl_2016_6.3.0.1914_x64.tgz      SDK2017Production16.5.2
MediaSamples_Linux_2017R3_b698                    site_license_materials.txt
media_server_studio_essentials_release_notes.pdf  third_party_programs.txt
[root@localhost x64]# 

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:16.3 Serial controller: Intel Corporation Wildcat Point-LP KT Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
01:00.0 Ethernet controller: Intel Corporation 82599 10 Gigabit Network Connection (rev 01)

[root@localhost ~]# lspci -s 00:03.0 -vv
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
        Subsystem: Intel Corporation Broadwell-U Audio Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 52
        Region 0: Memory at c1330000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee00378  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

[root@localhost ~]# lspci -s 00:03.0 -nn
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
[root@localhost ~]# 

[root@localhost ~]# lspci -s 00:02.0 -nn                                                                             
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 6000 [8086:1626] (rev 09)

[root@localhost ~]# lspci -s 00:02.0 -vv
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation HD Graphics 6000
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 50
        Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=16M]
        Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee00018  Data: 0000
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a4] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: i915
        Kernel modules: i915

[root@localhost ~]# 

=========================================================

True asynchronous mode ?

$
0
0

Hi,

MFXVideoDECODE_DecodeFrameAsync() is, as documentation states, asynchronous but eventually I have to synchronize anyway ( block thread execution to wait for the result ) using SyncOperation(). Is there any way to be notified by a callback when the operation ends and the output surface can be read safely ?

Thanks,

Kamil

Fast rewind trick mode playing ( I-frames only ) problems

$
0
0

Hi,

When I try to decode I-frame only H264 stream ( after removing all P and B frames - full IPBBBP... stream can be decoded without problems ) I get following sequence after calling DecodeFrameAsync() :

 - MFX_WRN_VIDEO_PARAM_CHANGED ( each I frame has SPS and PPS NALS repeated - but they are always the same ),

 - MFX_ERR_MORE_SURFACE

 - MFX_ERR_MORE_DATA ( mfxBitstream tells that all input data was consumed ),

and next I-frame gives me exactly the same results, so I always get MFX_ERR_MORE_DATA at the end and no output frame is produced. I set MFX_BITSTREAM_COMPLETE_FRAME flag but it changes nothing. How should I decode this stream ?

 

Thanks,

Kamil

 

 

Different video session data gets mixed up

$
0
0

Hello,

I have a transcode pipeline. Decode is done with custom Codec Plugin which I developed and loaded with MFXVideoSession::Register as dynamic library. vpp & encode is done with Intel Media Encoder (AVC). If single file is decoded it works fine. In case parallel decoding of different streams happen than some frames from one session get mixed into second session (random frames from different file got inserted). As I know each decode operation should happen in different session (MFXVideoSession::mfxSession), and plugin is loaded into separate memory.

While Initializing each session I checked and verify that MFXVideoSession & MFXVideoUSER pointer address is different on each init. Session parameter bIsJoin is set to false, so they are not joined.

Where do you think data sharing happens ?

Doesn't Media pipeline load separate copy of decode library for each transcode session ?

 

vaInitialize failed and errors while running sample_decode

$
0
0

Hi,

I have built Intel Media SDK in Ubuntu 16.04 after patching the kernel as given in "http://docs.unified-streaming.com/documentation/capture/media-sdk.html#linux".

When I enter vainfo this is what I get:

libva info: VA-API version 0.99.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
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit

 

When I run sample_decode, it gives this error:

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_mfxSession.Init failed at msdk/samples/sample_decode/src/pipeline_decode.cpp:285

The processor is Intel(R) Core(TM) i5-6400. Ubuntu 16.04 is run on VMware

noGPB Question

$
0
0

 

Hi

I'm trying to figure out to add to sample_multi_transcode noGPB (regular P frames) in HEVC Software encoding mode

I tryed to follow sample_encode that have the noGPB option but it dont work

Can someone show me some code examples for sample_multi_transcode? I want to use for transcoding with sample_multi_transcode because

it are more fast for encoding than sample_encode, sample_encode need read from disk the YUV data

Regards

 


HEVC decoding memory leak using MFX_PLUGINID_HEVCD_SW

$
0
0

Hi,

We are using the 15dd936825ad475ea34e35f3f54217a6 plugin DLL(mfxplugin64_hevcd_sw.dll) to decode HEVC in both MFX_PLUGINID_HEVCD_HW and MFX_PLUGINID_HEVCD_SW modes.

The MFX_PLUGINID_HEVCD_HW works fine, but when running on a machine without HW capabilities, or manually selecting that mode in our product we observe a memory leak.

We have tried with DLL from Server Studio 2017 and 2017R3 release with same result. 

The test is running 8 fullHD streams HEVC and decoding keyframes only. When decoding all the stream the memory leak is more visible faster.

Hardware:
CPU: i7-7700K
Intel HD Graphics 630 driver: 22.20.16.4815
mfxplugin64_hevcd_sw.dll DLL versions tried:
  -Product version: 1.17.6.34
  -Product version: 1.19.7.45
both versions have the memory leak.
 

Please let me know if you need more information.

 

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3) Init fails in sample_pipeline_transcode.cpp line 3336

$
0
0

 

Hi,

 

 

I am facing an issue when running the samples test examples for MediaServerStudioEssentials2017R3 on  @ Ubuntu 16.04.1  kernel 4.10.0-42-generic

The code I am using is the ubuntu implementation of MediaServer SDK code: MediaSamples_Linux_2017R3

The test I am running is (taken from samples)

 

./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

the error I get is:

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC->Init failed

 file pipeline_transcode.cpp:3336

 

 

Thanks in advance.

 

Please check the error log below.

 

========================= -hw error =============================

 

 ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw

 

Multi Transcoding Sample Version 8.0.24.

 

libva info: VA-API version 0.99.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

 

 

Pipeline surfaces number (DecPool): 59

 

 

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, m_pmfxDEC->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/pipeline_transcode.cpp:3336

 

 

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), Init, pThreadPipeline->pPipeline->Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:348

 

 

 

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), main, transcode.Init failed at /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK1/git/mdp_msdk-lib/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:750

 

 

 

======================= ENV ================================

uname -a

Linux DEGCOENG011 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

 

 

 

lscpu

Architecture:          x86_64

CPU op-mode(s):        32-bit, 64-bit

Byte Order:            Little Endian

CPU(s):                8

On-line CPU(s) list:   0-7

Thread(s) per core:    2

Core(s) per socket:    4

Socket(s):             1

NUMA node(s):          1

Vendor ID:             GenuineIntel

CPU family:            6

Model:                 94

Model name:            Intel(R) Xeon(R) CPU E3-1585 v5 @ 3.50GHz

Stepping:              3

CPU MHz:               1024.322

CPU max MHz:           3900.0000

CPU min MHz:           800.0000

BogoMIPS:              7008.00

Virtualization:        VT-x

L1d cache:             32K

L1i cache:             32K

L2 cache:              256K

L3 cache:              8192K

NUMA node0 CPU(s):     0-7

Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

 

 

lspci

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 0a)

00:02.0 Display controller: Intel Corporation Device 193a (rev 09)

00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-H Integrated Sensor Hub (rev 31)

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)

00:16.1 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #2 (rev 31)

00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)

00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)

02:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

02:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

04:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 03)

05:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)

 

vainfo

error: can't connect to X server!

libva info: VA-API version 0.99.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

vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)

vainfo: Driver version: 16.5.2.64009-ubit

vainfo: Supported profile and entrypoints

      VAProfileH264ConstrainedBaseline: VAEntrypointVLD

      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice

      VAProfileH264ConstrainedBaseline: <unknown entrypoint>

      VAProfileH264ConstrainedBaseline: <unknown entrypoint>

      VAProfileH264Main               : VAEntrypointVLD

      VAProfileH264Main               : VAEntrypointEncSlice

      VAProfileH264Main               : <unknown entrypoint>

      VAProfileH264Main               : <unknown entrypoint>

      VAProfileH264High               : VAEntrypointVLD

      VAProfileH264High               : VAEntrypointEncSlice

      VAProfileH264High               : <unknown entrypoint>

      VAProfileH264High               : <unknown entrypoint>

      VAProfileMPEG2Simple            : VAEntrypointEncSlice

      VAProfileMPEG2Simple            : VAEntrypointVLD

      VAProfileMPEG2Main              : VAEntrypointEncSlice

      VAProfileMPEG2Main              : VAEntrypointVLD

      VAProfileVC1Advanced            : VAEntrypointVLD

      VAProfileVC1Main                : VAEntrypointVLD

      VAProfileVC1Simple              : VAEntrypointVLD

      VAProfileJPEGBaseline           : VAEntrypointVLD

      VAProfileJPEGBaseline           : VAEntrypointEncPicture

      VAProfileVP8Version0_3          : VAEntrypointEncSlice

      VAProfileVP8Version0_3          : VAEntrypointVLD

      VAProfileVP8Version0_3          : <unknown entrypoint>

      VAProfileHEVCMain               : VAEntrypointVLD

      VAProfileHEVCMain               : VAEntrypointEncSlice

      VAProfileVP9Profile0            : <unknown entrypoint>

      <unknown profile>               : VAEntrypointVideoProc

      VAProfileNone                   : VAEntrypointVideoProc

      VAProfileNone                   : <unknown entrypoint>

 

 

python sys_analyzer_linux.py

--------------------------

Hardware readiness checks:

--------------------------

 [ OK ] Processor name: Intel(R) Xeon(R) CPU E3-1585 v5 @ 3.50GHz

--------------------------

OS readiness checks:

--------------------------

 [ OK ] GPU visible to OS

--------------------------

Media Server Studio Install:

--------------------------

 [ OK ] user in video group

search_path:

/usr/lib64:/usr/local/lib

 [ OK ] libva.so.1 found

 [ OK ] vainfo reports valid codec entry points

 [ OK ] /dev/dri/renderD128 connects to Intel i915

--------------------------

Component Smoke Tests:

--------------------------

search_path:

/usr/lib64:/usr/local/lib

 [ OK ] Media SDK HW API level:1.23

 [ OK ] Media SDK SW API level:1.23

 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK

 

 

 

=========================================================

 

 

When running the same test with option switched from hw to sw the tests runs fines and passes.

 

 ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -sw

Multi Transcoding Sample Version 8.0.24.

 

Pipeline surfaces number (DecPool): 19

MFX SOFTWARE Session 0 API ver 1.23 parameters: 

Input  video: AVC 

Output video: AVC 

 

Session 0 was NOT joined with other sessions

 

Transcoding started

..

Transcoding finished

 

Common transcoding time is 0.114856 sec

-------------------------------------------------------------------------------

*** session 0 PASSED (MFX_ERR_NONE) 0.114789 sec, 101 frames

-i::h264 /home/test/MediaSamples_Linux_2017R3_b698/samples/_bin/content/test_stream.264 -o::h264 test_out.h264 -sw 

-------------------------------------------------------------------------------

 

The test PASSED"

CPU upgrade issue

Video Cropping Questio

$
0
0

Hey

I wanna know if its possible to add cropping function to sample_multi_transcode like crop top and botton, can someone show some code?

Regards

 

Decoding Interlaced H264 Video

$
0
0

I'm currently decoding interlaced H264 video and I'm finding that each field is producing one frame. The frames are full resolution but data is missing from the even/odd lines (depending on whether it's MFX_PICTYPE_TOPFIELD or MFX_PICTYPE_BOTTOMFIELD).

Am I responsible for combining these frames together before calling any deinterlacing post processing functions? All other decoders I've tried produce and output frame that already has the fields combined.

 

 

How to detect Intel QuickSync (aka: MFX) GPU resource usage???

$
0
0

I am trying to find some way to detect (monitor) how much of the "Intel HD/Iris Graphics" GPU resources are currently being used up by QuickSync encoding applications.  I need to do it on Intel E3 server systems, running Windows 2012 Server.

I had tried using the Intel PAL (Intel Metrics Framework) for detecting this, but that only seems to work on Windows 8/10.  Not on Windows Server.

Looking for some API or library that I can use to get this information..

Any suggestions???

 

 

How do I get LumaKeyEnable to work?

$
0
0

Hi

I am using the simple_8_composite_vmem sample provided by Sravanthi K at Intel.

composite.InputStream[0].DstX = (mfxU32)0;

composite.InputStream[0].DstY = (mfxU32)0;

composite.InputStream[0].DstW = (mfxU32)720;

composite.InputStream[0].DstH = (mfxU32)576;

 

composite.InputStream[1].DstX = (mfxU32)0; //Co-ordinates for where the second stream should go on the output surface

composite.InputStream[1].DstY = (mfxU32)0;

composite.InputStream[1].DstW = (mfxU32)720;

composite.InputStream[1].DstH = (mfxU32)576;

composite.InputStream[1].LumaKeyEnable = true;

composite.InputStream[1].LumaKeyMin = 200;

composite.InputStream[1].LumaKeyMax =255;

 

I have change the values of each surface to 720 x 576 and enabled LumaKeyEnable and set LumaKeyMin and LumaKeyMax.

I have attached the input frames I have used and the resultant output frame.

There is little information on this within the documentation and the resultant frame is not correct.

 

Thanks for your help in advance,

Kevin

AttachmentSize
Downloadapplication/zipyuv files.zip39.4 KB

Unable to install Intel® Media Server Studio 2017 R3

$
0
0

I'am unable to intall Intel® Media Server Studio 2017 R3 on Windows 10 due to integrity checking error. I downloaded MediaServerStudioEssentials2017R3.exe three times but I always got same error on installation:

Intel® Media Server Studio 2017 R3 – Essentials Edition Setup Wizard ended prematurely because of an error(s).

Details->Integrity checking failed->Source file is incorrect->docs.zip

How can I avoid the issue to install Intel® Media Server Studio 2017 R3?

 

 

 

 

VPP uses too much memory

$
0
0

Hi,

I am trying to convert RGB24 to NV12 by using VPP before encoding to h264. Input source is VGA(640x480) resolution and initializing VPP ends up with allocating about 50MB memory. I would like to know if there are any ways to save memory.

Thanks

Application to play a file decoded by Intel Media SDK

$
0
0

Hi,

Are there any applications that can take a H.264 stream, decode it using Intel Media SDK and play that decoded file (.yuv file that has frames). The OS is Ubuntu 16.04

Thanks

Broken output file

$
0
0

I am developing screen capture App using QSV and ffmpeg 

My app create MP4(h.264) file well,

but when I play Mp4 file..the result is bad .. like below

Did I do something wrong or setup up Encoding parameters , VPP paremeters badly?

Anyone help me please..

Here is Result of System Analyzer

=================================================================

Intel(R) Media Server Studio 2016 R2 - System Analyzer (64-bit)

The following versions of Media SDK API are supported by platform/driver
[opportunistic detection of MSDK API > 1.19]:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.2     HW      Yes             X       X
        1.2     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X
        1.4     SW      Yes             X       X
        1.5     HW      Yes             X       X
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X
        1.7     SW      Yes             X       X
        1.8     HW      Yes             X       X
        1.8     SW      Yes             X       X
        1.9     HW      Yes             X       X
        1.9     SW      Yes             X       X
        1.10    HW      Yes             X       X
        1.10    SW      Yes             X       X
        1.11    HW      Yes             X       X
        1.11    SW      Yes             X       X
        1.12    HW      Yes             X       X
        1.12    SW      Yes             X       X
        1.13    HW      Yes             X       X
        1.13    SW      Yes             X       X
        1.14    HW      Yes             X       X
        1.14    SW      Yes             X       X
        1.15    HW      Yes             X       X
        1.15    SW      Yes             X       X
        1.16    HW      Yes             X       X
        1.16    SW      Yes             X       X
        1.17    HW      Yes             X       X
        1.17    SW      Yes             X       X
        1.18    HW      Yes             X       X
        1.18    SW      Yes             X       X
        1.19    HW      Yes             X       X
        1.19    SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        Intel(R) HD Graphics 530                     20.19.15.4483       Active
        NVIDIA Quadro M2000M                         21.21.13.7699       Active

System info:
        CPU:    Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
        OS:     Microsoft Windows 10 Pro
        Arch:   64-bit

Installed Media SDK packages (be patient...processing takes some time):
        Intel(R) Media SDK 2016 R2

Installed Media SDK DirectShow filters:

Installed Intel Media Foundation Transforms:
        Intel(R) Hardware M-JPEG Decoder MFT : {00C69F81-0524-48C0-A353-4DD9D54F9A6E}
        Intel(R) Hardware VP8 Sync Decoder MFT : {451E3CB7-2622-4BA5-8E1D-44B3C41D0924}
        Intel(R) Hardware VP8 Decoder MFT : {6D856398-834E-4A89-8EE5-071BB3F58BE4}
        Intel(R) Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}
        Intel(R) Hardware H265 Encoder MFT : {BC10864D-2B34-408F-912A-102B1B867B6C}

 

Analysis complete... [press ENTER]

==================================================================================

 

 

LumaKeyEnable still broken

$
0
0

Hi

I have wasted another week trying to get this to work. I have attached the sample code I am using and images with the resultant output. I have also attached my system analyser output.

As far as I can see from the limited samples and documentation, LumaKeyEnable does not work and is broken. If you are able to let me know if this is a bug then can you suggest a work-around or how I could implement a more useful ChromaKey functionality in hardware? I am on a tight schedule and need to deliver my project.

Thanks,

Kind regards

Kevin

Viewing all 2185 articles
Browse latest View live


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