Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#4742 closed defect (invalid)

MFX library causes build error release 2.7.2

Reported by: Mista_D Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libmfx qsv
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: yes

Description

Summary of the bug:
2.7.2 or today's snapshot N-74074-gc8c86b8 produce same errors while compiling:
libavcodec/qsvdec.c:92: error: "mfxVideoParam" has no member named "mfx"

How to reproduce:
wget https://github.com/lu-zero/mfx_dispatch/archive/master.zip
unzip && autocofigure && ./configure --prefix=/usr/local/ && make && make install

wget ffmpeg-relase-2.7.2.tar.bz2
unizip && ./configure --enable-libmfx && make

.....
CC libavcodec/qsvdec.o
libavcodec/qsvdec.c: In function "ff_qsv_decode_init":
libavcodec/qsvdec.c:55: warning: braces around scalar initializer
libavcodec/qsvdec.c:55: warning: (near initialization for "bs.DecodeTimeStamp?")
libavcodec/qsvdec.c:55: warning: braces around scalar initializer
libavcodec/qsvdec.c:55: warning: (near initialization for "bs.DecodeTimeStamp?")
libavcodec/qsvdec.c:92: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:108: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:109: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:118: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:119: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:120: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:121: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:122: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:122: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:123: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c:123: error: "mfxVideoParam" has no member named "mfx"
libavcodec/qsvdec.c: In function "alloc_frame":
libavcodec/qsvdec.c:159: error: "mfxFrameInfo" has no member named "Width"
libavcodec/qsvdec.c:160: error: "mfxFrameInfo" has no member named "Height"
libavcodec/qsvdec.c:163: error: "mfxFrameData" has no member named "PitchLow?"
libavcodec/qsvdec.c:164: error: "mfxFrameData" has no member named "Y"
libavcodec/qsvdec.c:165: error: "mfxFrameData" has no member named "UV"
libavcodec/qsvdec.c: In function "ff_qsv_decode":
libavcodec/qsvdec.c:279: warning: braces around scalar initializer
libavcodec/qsvdec.c:279: warning: (near initialization for "bs.DecodeTimeStamp?")
libavcodec/qsvdec.c:279: warning: braces around scalar initializer
libavcodec/qsvdec.c:279: warning: (near initialization for "bs.DecodeTimeStamp?")
make: * [libavcodec/qsvdec.o] Error 1
make:
* Waiting for unfinished jobs....

Change History (2)

comment:1 Changed 4 years ago by IvUs

  • Analyzed by developer set
  • Resolution set to wontfix
  • Status changed from new to closed

I can not reproduce this issue on clean linux system using latest versions of ffmpeg and mfx_dispatch.
The following command sequence does work correct:
=======
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
git clone git://github.com/lu-zero/mfx_dispatch.git mfx_dispatch
cd mfx_dispatch
autoreconf -i
./configure
make -j
sudo make install
cd ..
cd ffmpeg
./configure --enable-libmfx
make
./ffmpeg -codecs | grep 'qsv'
=======

comment:2 Changed 3 years ago by Mista_D

  • Resolution changed from wontfix to invalid
Note: See TracTickets for help on using tickets.