[FFmpeg-trac] #2591(avcodec:open): Feature Request: Add ability to use Quick Sync to transcode video files

FFmpeg trac at avcodec.org
Tue Nov 4 16:07:25 CET 2014


#2591: Feature Request:  Add ability to use Quick Sync to transcode video files
-------------------------------------+-----------------------------------
             Reporter:  zjacobs      |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  h264         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by Mjb2000):

 OK, a few weeks later and I've made a little progress now, having figured
 out I should be compiling in '''mysys''' on Windows using a '''MinGW-W64
 32bit''' toolchain.

 I seem to be able to compile [https://github.com/lu-zero/mfx_dispatch],
 but when it comes to compiling [https://github.com/drocon11/ffmpeg-qsv] I
 get the following error when running configure:

 {{{
 check_pkg_config libmfx mfx/mfxvideo.h MFXInit
 pkg-config --exists --print-errors libmfx
 check_func_headers mfx/mfxvideo.h MFXInit
 -IC:/MinGW/msys/1.0/local/include -LC:/MinGW/msys/1.0/local/lib -lmfx
 -lstdc++
 check_ld cc -IC:/MinGW/msys/1.0/local/include
 -LC:/MinGW/msys/1.0/local/lib -lmfx -lstdc++
 check_cc -IC:/MinGW/msys/1.0/local/include -LC:/MinGW/msys/1.0/local/lib
 BEGIN /tmp/ffconf..VisualStudio-PC.500.10576.c
     1   #include <mfx/mfxvideo.h>
     2   long check_MFXInit(void) { return (long) MFXInit; }
     3   int main(void) { return 0; }
 END /tmp/ffconf..VisualStudio-PC.500.10576.c
 gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__
 -std=c99 -fomit-frame-pointer -IC:/MinGW/msys/1.0/local/include
 -LC:/MinGW/msys/1.0/local/lib -c -o /tmp/ffconf..VisualStudio-
 PC.500.10576.o /tmp/ffconf..VisualStudio-PC.500.10576.c
 gcc -Wl,--nxcompat -Wl,--dynamicbase -Wl,--as-needed
 -IC:/MinGW/msys/1.0/local/include -LC:/MinGW/msys/1.0/local/lib -o
 /tmp/ffconf..VisualStudio-PC.500.10576.exe /tmp/ffconf..VisualStudio-
 PC.500.10576.o -lmfx -lstdc++ -lm -lz -lpsapi -ladvapi32 -lshell32
 -lsupc++ -lstdc++
 C:/MinGW/msys/1.0/local/lib/libmfx.a(main.o): In function `MFXInit':
 C:\MinGW\msys\1.0\home\JohnSmith\mfx_dispatch-master/src/main.cpp:454:
 undefined reference to
 `MFX::MFXDefaultPlugins::MFXDefaultPlugins(mfxVersion, MFX_DISP_HANDLE*,
 int)'
 C:\MinGW\msys\1.0\home\JohnSmith\mfx_dispatch-master/src/main.cpp:460:
 undefined reference to `MFX::MFXPluginsInHive::MFXPluginsInHive(int,
 wchar_t const*, mfxVersion)'
 C:\MinGW\msys\1.0\home\JohnSmith\mfx_dispatch-master/src/main.cpp:468:
 undefined reference to `MFX::MFXPluginsInHive::MFXPluginsInHive(int,
 wchar_t const*, mfxVersion)'
 C:\MinGW\msys\1.0\home\JohnSmith\mfx_dispatch-master/src/main.cpp:472:
 undefined reference to `MFX::MFXPluginsInFS::MFXPluginsInFS(mfxVersion)'
 collect2.exe: error: ld returned 1 exit status
 ERROR: libmfx not found
 }}}

 I have detailed the steps I've taken to set-up my build environment and
 compile lib_mfx here:
 [https://github.com/lu-zero/mfx_dispatch/issues/4#issuecomment-61520137] I
 don't suppose anyone has seen this error before, or know what could be the
 problem?

 Matt

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2591#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list