i correct run the sample in the MediaSamples_Linux_2017.now i try to rebuild sample_decode in qtCreator,but i get fllowing error message:
./decode h265 -i ~/test_stream.265 -o yuv.yuv
plugin_loader.h :170 [INFO] Plugin was loaded from GUID: { 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)
pretending that stream is 30fps one
pretending that aspect ratio is 1:1
Return on error: error code -3, ../../Desktop/MediaSamples_Linux_2017/samples/sample_decode/src/pipeline_decode.cpp 924
Return on error: error code -3, ../../Desktop/MediaSamples_Linux_2017/samples/sample_decode/src/pipeline_decode.cpp 396
Return on error: error code 1, ../decode/main.cpp 627
plugin_loader.h :196 [INFO] MFXBaseUSER_UnLoad(session=0x0x16261e0), sts=0
my Project file is:
QT -= core
QT -= gui
CONFIG += c++11
TARGET = decode
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += \
../../Desktop/MediaSamples_Linux_2017/samples/sample_decode/src/pipeline_decode.cpp \
sample_decode.cpp
CMAKE_SOURCE_DIR =
INCLUDEPATH += /home/centos/Desktop/MediaSamples_Linux_2017/samples/sample_common/include
INCLUDEPATH += /home/centos/Desktop/MediaSamples_Linux_2017/samples/sample_misc/wayland/include
INCLUDEPATH += /home/centos/Desktop/MediaSamples_Linux_2017/samples/sample_decode/include
unix: LIBS += -L$$PWD/../../../../opt/intel/mediasdk/lib/lin_x64/ -lmfx -ldl -lva-x11
INCLUDEPATH += $$PWD/../../../../opt/intel/mediasdk/include
DEPENDPATH += $$PWD/../../../../opt/intel/mediasdk/lib/lin_x64
unix: PRE_TARGETDEPS += $$PWD/../../../../opt/intel/mediasdk/lib/lin_x64/libmfx.a
unix: LIBS += -L$$PWD/../../Desktop/MediaSamples_Linux_2017/samples/__lib/ -lsample_common
INCLUDEPATH += $$PWD/../../Desktop/MediaSamples_Linux_2017/samples/__lib
DEPENDPATH += $$PWD/../../Desktop/MediaSamples_Linux_2017/samples/__lib
unix: PRE_TARGETDEPS += $$PWD/../../Desktop/MediaSamples_Linux_2017/samples/__lib/libsample_common.a
how to solve this problem?
Thank's for any advice.
sorry for my Englisth, it's not my mother language.
os: CentOS 7.2.1511
HardWare: Intel NUC 6i7kyk
SDK Version: MediaServerStudioEssentials2017.tar.gz