Closed Xuno closed 8 years ago
Does it work with git master?
No, the problem exists with the following: version.h:
#define VERSION "git-042ca84"
#define BUILDDATE "Sat Mar 19 00:50:46 EET 2016"
Can't reproduce.
This is our mpv-1.dll file based on git-042ca84 that we compiled with the following parameters for x64 Windows PC
$ ./waf configure CC=gcc --enable-libmpv-shared --enable-static-build --enable-gpl3 --prefix=/mingw64
Can we get your dll file with enabled-gpl3 for testing at our side?
Unless you use the vo_opengl nnedi filter, --enable-gpl3 will do nothing.
Can you try to determine the minimal VO command line needed to reproduce this, or is it already minimal?
Its already minimal. Also, the last code version we could build .exe with and successfully run NNEDI3 and superxbr is:
https://github.com/mpv-player/mpv/tree/faster-shader-building
I'll need a complete log.
We are experiencing the same problem in MPV 0.170, here is the build log:
$ git show-branch --sha1-name [837b865] vf_vavpp: reindent
$ git pull Already up-to-date.
$ ./waf configure CC=gcc --enable-libmpv-shared --enable-static-build --enable-gpl3 --prefix=/mingw64 Setting top to : /home/lex/mpv Setting out to : /home/lex/mpv/build Checking for waf version in 1.8.4-1.9.0 : ok Checking for program 'cc' : gcc Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for program 'ar' : /mingw64/bin/ar Checking for program 'perl' : /usr/bin/perl Checking for program 'rst2html' : not found Checking for program 'rst2man' : not found Checking for program 'rst2pdf' : not found Checking for program 'windres' : /mingw64/bin/windres Checking for 'gcc' (C compiler) : gcc Detected target OS: : os-win32 Checking for compiler flags -Werror=implicit-function-declaration : yes Checking for compiler flags -Wno-error=deprecated-declarations : yes Checking for compiler flags -Wno-error=unused-function : yes Checking for compiler flags -Wempty-body : yes Checking for compiler flags -Wdisabled-optimization : yes Checking for compiler flags -Wstrict-prototypes : yes Checking for compiler flags -Wno-format-zero-length : yes Checking for compiler flags -Werror=format-security : yes Checking for compiler flags -Wno-redundant-decls : yes Checking for GPL3 license : yes Checking for mpv CLI player : yes Checking for shared library : yes Checking for static library : disabled Checking for static build : yes Checking for whether to include binary compile time : yes Checking for whether to optimize : yes Checking for whether to compile-in debugging information : yes Checking for manpage generation : no (missing RST2MAN) Checking for html manual generation : disabled Checking for pdf manual generation : disabled Checking for dynamic loader : no Checking for dlopen : yes Checking for compilation of default filters for vf_dlopen : disabled Checking for zsh completion : disabled Checking for inline assembly (currently without effect) : yes Checking for test suite (using cmocka) : disabled Checking for generate a clang compilation database : disabled Checking for compiler support for noexecstack : no Checking for linker support for --nxcompat --no-seh --dynamicbase : yes Checking for -lm : yes Checking for MinGW : yes Checking for POSIX environment : no Checking for development environment : yes Checking for win32 : yes Checking for internal pthread wrapper for win32 (Vista+) : yes Checking for POSIX threads : yes Checking for stdatomic.h : yes Checking for compiler support for atomic built-ins : stdatomic found Checking for compiler support for sync built-ins : stdatomic found Checking for compiler support for usable thread synchronization built-ins : yes Checking for C11 TLS support : yes Checking for linking with -lrt : no Checking for iconv : yes Checking for w32/dos paths : yes Checking for termios : no Checking for shm : no Checking for nanosleep : no Checking for POSIX spawnp()/kill() : mingw found Checking for posix_spawnp() or MinGW : yes Checking for glob() : no Checking for glob() win32 replacement : yes Checking for fchmod() : no Checking for vt.h : no Checking for gbm.h : no Checking for GLIBC API for setting thread name : no Checking for OSX API for setting thread name : no Checking for BSD API for setting thread name : no Checking for NetBSD API for setting thread name : no Checking for BSD's fstatfs() : no Checking for Linux's fstatfs() : os-linux not found Checking for Samba support : libdl not found Checking for Lua : yes (version found: 51deb) Checking for SSA/ASS support : yes Checking for libass OSD support : yes Checking for dummy OSD support : libass-osd found Checking for zlib : yes Checking for Encoding : yes Checking for Bluray support : no ('libbluray >= 0.3.0' not found) Checking for dvdread support : yes Checking for dvdnav support : no ('dvdnav >= 4.2.0' not found) Checking for cdda support (libcdio) : no ('libcdio_paranoia' not found) Checking for ENCA support : no Checking for libguess support : no ('libguess >= 1.0' not found) Checking for uchardet support : no ('uchardet' not found) Checking for librubberband support : no ('rubberband >= 1.8.0' not found) Checking for LCMS2 support : yes Checking for VapourSynth filter bridge (Python) : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) Checking for VapourSynth filter bridge (Lazy Lua) : no ('vapoursynth >= 24' not found) Checking for VapourSynth filter bridge (core) : not found any of vapoursynth, vapoursynth-lazy Checking for libarchive wrapper for reading zip files and more : disabled Checking for SDL2 : disabled Checking for SDL (1.x) : disabled Checking for OSS (implementation from opensound.com) : no Checking for OSS (platform-specific OSS implementation) : no Checking for OSS (emulation on top of SunAudio) : no Checking for OSS audio output : not found any of oss-audio-sunaudio, oss-audio-4front, oss-audio-native Checking for RSound audio output : no Checking for sndio audio input/output : disabled Checking for PulseAudio audio output : no ('libpulse >= 1.0' not found) Checking for JACK audio output : no ('jack' not found) Checking for OpenAL audio output : disabled Checking for OpenSL ES audio output : no Checking for ALSA audio output : no ('alsa >= 1.0.18' not found) Checking for CoreAudio audio output : no Checking for WASAPI audio output : yes Checking for Cocoa : no Checking for DRM : vt.h not found Checking for GBM : gbm.h not found Checking for Wayland : no ('wayland-client >= 1.6.0 wayland-cursor >= 1.6.0 xkbcommon >= 0.3.0' not found) Checking for X11 : no ('x11' not found) Checking for Xss screensaver extensions : x11 not found Checking for X extensions : x11 not found Checking for Xv video output : x11 not found Checking for Xinerama : x11 not found Checking for Xrandr : x11 not found Checking for OpenGL Cocoa Backend : cocoa not found Checking for OpenGL X11 Backend : x11 not found Checking for OpenGL X11 EGL Backend : x11 not found Checking for OpenGL DRM EGL Backend : gbm, drm not found Checking for OpenGL Wayland Backend : wayland not found Checking for OpenGL Win32 Backend : yes Checking for OpenGL/DirectX Interop Backend : yes Checking for OpenGL Win32 ANGLE Backend : yes Checking for VDPAU acceleration : x11 not found Checking for VDPAU with OpenGL/X11 : vdpau, gl-x11 not found Checking for VAAPI acceleration : not found any of x11, wayland, egl-drm Checking for VAAPI (X11 support) : x11, vaapi not found Checking for VAAPI (Wayland support) : vaapi, gl-wayland not found Checking for VAAPI (DRM/EGL support) : vaapi, egl-drm not found Checking for VAAPI GLX : vaapi-x11, gl-x11 not found Checking for VAAPI EGL on X11 : vaapi-x11, egl-x11 not found Checking for VAAPI EGL : not found any of vaapi-x-egl, vaapi-wayland Checking for CACA : yes Checking for JPEG support : yes Checking for Direct3D support : yes Checking for Android support : no Checking for Raspberry Pi support : no Checking for Desktop standard OpengGL support : no Checking for Android OpenGL ES support : android not found Checking for Any OpenGL (ES) support : not found any of android-gl, standard-gl, cocoa Checking for OpenGL without platform-specific code (e.g. for libmpv) : any-gl not found Checking for OpenGL video outputs : yes Checking for EGL helper functions : not found any of egl-x11 Checking for libav/ffmpeg : yes Checking for libswresample : yes Checking for libavresample : libswresample found Checking for usable resampler found : yes Checking for libavfilter : yes Checking for libavdevice : yes Checking for libavcodec avcodec_enum_to_chroma_pos API : yes Checking for libavutil AVFrame metadata : yes Checking for libavutil AVFrame skip samples metadata : yes Checking for libavutil AV_PIX_FMT_MMAL : yes Checking for libavtuil av_version_info() : yes Checking for libavutil new pixdesc fields : yes Checking for libavcodec 64 bit AVPacket.duration : yes Checking for libavcodec AVSubtitleRect AVPicture removal : yes Checking for libavcodec avcodec_profile_name() : yes Checking for libavcodec decode/encode API : no Checking for libavcodec AVCodecParameters API : no Checking for libavcodec VAAPI hwaccel : vaapi not found Checking for libavcodec videotoolbox hwaccel : no Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found Checking for libavcodec VDPAU hwaccel : vdpau not found Checking for libavcodec DXVA2 hwaccel : yes Checking for libavcodec D3D11VA hwaccel : yes Checking for Direct3D hwaccel : yes Checking for GCC SSE4 intrinsics for GPU memcpy : yes Checking for TV interface : yes Checking for videoio.h : no Checking for videodev2.h : no Checking for Video4Linux2 TV interface : not found any of videodev, sys_videoio_h Checking for libv4l2 support : tv-v4l2 not found Checking for audio input support : not found any of tv-v4l2 Checking for DVB input module : no Checking for w32 executable : yes Checking for Apple Remote support : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (37.920s)
$ ./waf build Waf: Entering directory `/home/lex/mpv/build' [ 1/440] Compiling version.sh [ 2/440] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/440] Compiling video/out/x11_icon.bin [ 4/440] Compiling etc/input.conf [ 5/440] Compiling sub/osd_font.otf [ 6/440] Compiling video/out/opengl/nnedi3_weights.bin [ 7/440] Compiling player/lua/defaults.lua [ 8/440] Compiling player/lua/assdraw.lua [ 11/440] Compiling player/lua/options.lua [ 12/440] Compiling player/lua/osc.lua [ 13/440] Compiling player/lua/ytdl_hook.lua [ 14/440] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h [ 15/440] Compiling demux/ebml.c [ 16/440] Compiling osdep/mpv.rc [ 17/440] Compiling osdep/mpv.rc [ 18/440] Compiling libmpv/mpv.def [ 19/440] Compiling libmpv/mpv.pc.in [ 20/440] Compiling sub/osd.c [ 21/440] Compiling video/filter/vf_sub.c [ 22/440] Compiling video/decode/d3d11va.c [ 23/440] Compiling common/common.c [ 24/440] Compiling audio/filter/af_scaletempo.c [ 25/440] Compiling osdep/w32_keyboard.c [ 26/440] Compiling player/loadfile.c [ 27/440] Compiling osdep/terminal-win.c [ 28/440] Compiling common/version.c [ 29/440] Compiling input/cmd_list.c [ 30/440] Compiling input/pipe-win32.c [ 31/440] Compiling audio/fmt-conversion.c [ 32/440] Compiling video/mp_image.c [ 33/440] Compiling video/filter/vf_rotate.c [ 34/440] Compiling video/fmt-conversion.c [ 35/440] Compiling video/filter/vf_buffer.c [ 36/440] Compiling ta/ta.c [ 37/440] Compiling common/encode_lavc.c [ 38/440] Compiling options/m_config.c [ 39/440] Compiling video/out/opengl/hwdec_dxva2egl.c [ 40/440] Compiling input/cmd_list.c [ 41/440] Compiling audio/out/ao_wasapi_changenotify.c [ 42/440] Compiling common/version.c [ 43/440] Compiling player/osd.c [ 44/440] Compiling video/img_format.c [ 45/440] Compiling video/filter/vf_gradfun.c [ 46/440] Compiling player/lavfi.c [ 47/440] Compiling common/codecs.c [ 48/440] Compiling audio/out/ao_pcm.c [ 49/440] Compiling audio/filter/af_channels.c [ 50/440] Compiling misc/rendezvous.c ../player/lavfi.c: In function 'init_pads': ../player/lavfi.c:416:17: warning: 'src_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, src_filter, ^ ../player/lavfi.c:354:17: warning: 'dst_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, dst_filter, ^
[ 51/440] Compiling player/osd.c [ 52/440] Compiling video/out/dither.c [ 53/440] Compiling audio/filter/af_drc.c [ 54/440] Compiling audio/out/push.c [ 55/440] Compiling options/m_config.c [ 56/440] Compiling input/input.c [ 57/440] Compiling demux/demux_rar.c [ 58/440] Compiling audio/filter/af_format.c [ 59/440] Compiling audio/fmt-conversion.c [ 60/440] Compiling demux/ebml.c [ 61/440] Compiling video/out/vo.c [ 62/440] Compiling video/out/opengl/hwdec_dxva2gldx.c [ 63/440] Compiling demux/demux_mf.c [ 64/440] Compiling audio/decode/dec_audio.c [ 65/440] Compiling ta/ta_talloc.c [ 66/440] Compiling player/sub.c [ 67/440] Compiling video/out/vo_opengl_cb.c [ 68/440] Compiling audio/filter/af_drc.c [ 69/440] Compiling stream/frequencies.c [ 70/440] Compiling video/dxva2.c [ 71/440] Compiling osdep/path-unix.c [ 72/440] Compiling audio/decode/ad_spdif.c [ 73/440] Compiling player/screenshot.c [ 74/440] Compiling audio/format.c [ 75/440] Compiling audio/out/ao_lavc.c [ 76/440] Compiling stream/stream_lavf.c [ 77/440] Compiling video/out/filter_kernels.c [ 78/440] Compiling video/out/opengl/context_dxinterop.c [ 79/440] Compiling video/filter/vf_buffer.c [ 80/440] Compiling audio/filter/af_lavcac3enc.c [ 81/440] Compiling stream/cookies.c [ 82/440] Compiling video/filter/vf_gradfun.c [ 83/440] Compiling audio/mixer.c [ 84/440] Compiling video/filter/vf_noformat.c [ 85/440] Compiling input/keycodes.c [ 86/440] Compiling demux/cue.c [ 87/440] Compiling common/av_common.c [ 88/440] Compiling audio/out/pull.c [ 89/440] Compiling misc/bstr.c [ 90/440] Compiling audio/out/pull.c [ 91/440] Compiling video/out/opengl/lcms.c [ 92/440] Compiling misc/ring.c [ 93/440] Compiling video/filter/vf_pullup.c [ 94/440] Compiling input/pipe-win32.c [ 95/440] Compiling stream/stream_null.c [ 96/440] Compiling common/common.c [ 97/440] Compiling stream/cache_file.c [ 98/440] Compiling misc/rendezvous.c [ 99/440] Compiling stream/stream_dvd.c [100/440] Compiling demux/codec_tags.c [101/440] Compiling osdep/semaphore_osx.c [102/440] Compiling input/input.c [103/440] Compiling stream/stream_rar.c [104/440] Compiling demux/demux.c [105/440] Compiling osdep/timer-win2.c [106/440] Compiling common/av_log.c [107/440] Compiling audio/chmap.c [108/440] Compiling video/dxva2.c [109/440] Compiling osdep/threads.c [110/440] Compiling osdep/subprocess-win.c [111/440] Compiling video/filter/vf_flip.c [112/440] Compiling video/out/opengl/hwdec_dxva2egl.c [113/440] Compiling video/decode/vd_lavc.c [114/440] Compiling common/tags.c [115/440] Compiling common/msg.c [116/440] Compiling audio/filter/af_lavfi.c [117/440] Compiling audio/filter/af_channels.c [118/440] Compiling common/playlist.c [119/440] Compiling video/out/aspect.c [120/440] Compiling osdep/glob-win.c [121/440] Compiling demux/packet.c [122/440] Compiling player/scripting.c [123/440] Compiling demux/demux_mkv_timeline.c [124/440] Compiling video/out/vo_caca.c [125/440] Compiling osdep/timer-win2.c [126/440] Compiling video/filter/vf_eq.c [127/440] Compiling stream/stream_tv.c [128/440] Compiling player/external_files.c [129/440] Compiling audio/audio_buffer.c [130/440] Compiling video/filter/vf_mirror.c [131/440] Compiling video/filter/vf_expand.c [132/440] Compiling demux/cue.c [133/440] Compiling common/av_common.c [134/440] Compiling video/d3d11va.c [135/440] Compiling sub/osd_libass.c [136/440] Compiling input/ipc.c [137/440] Compiling osdep/io.c [138/440] Compiling video/out/opengl/hwdec.c [139/440] Compiling audio/out/push.c [140/440] Compiling demux/demux_cue.c [141/440] Compiling demux/demux_mkv.c [142/440] Compiling osdep/io.c [143/440] Compiling osdep/w32_keyboard.c [144/440] Compiling stream/cookies.c [145/440] Compiling audio/filter/tools.c [146/440] Compiling video/out/opengl/video_shaders.c [147/440] Compiling ta/ta.c [148/440] Compiling stream/stream_rar.c [149/440] Compiling player/client.c [150/440] Compiling stream/cache.c [151/440] Compiling video/out/opengl/nnedi3.c [152/440] Compiling video/filter/vf_dsize.c [153/440] Compiling video/decode/dec_video.c [154/440] Compiling stream/stream_edl.c [155/440] Compiling sub/ass_mp.c [156/440] Compiling video/decode/dxva2.c [157/440] Compiling stream/cache_file.c [158/440] Compiling video/out/vo_image.c [159/440] Compiling stream/tvi_dummy.c [160/440] Compiling audio/filter/af_delay.c [161/440] Compiling player/playloop.c [162/440] Compiling demux/demux_disc.c [163/440] Compiling audio/filter/af_lavrresample.c [164/440] Compiling video/out/win32/displayconfig.c [165/440] Compiling video/out/w32_common.c [166/440] Compiling player/video.c [167/440] Compiling sub/osd_libass.c [168/440] Compiling stream/stream_mf.c [169/440] Compiling demux/demux_timeline.c [170/440] Compiling player/command.c [171/440] Compiling video/out/opengl/nnedi3.c [172/440] Compiling input/ipc.c [173/440] Compiling sub/sd_ass.c [174/440] Compiling demux/demux_timeline.c [175/440] Compiling sub/lavc_conv.c [176/440] Compiling demux/demux_rar.c [177/440] Compiling video/filter/vf_yadif.c [178/440] Compiling video/gpu_memcpy.c [179/440] Compiling misc/json.c [180/440] Compiling sub/draw_bmp.c [181/440] Compiling misc/bstr.c [182/440] Compiling audio/decode/dec_audio.c [183/440] Compiling demux/demux_edl.c [184/440] Compiling video/out/vo_lavc.c [185/440] Compiling audio/out/ao_lavc.c [186/440] Compiling video/out/opengl/hwdec_dxva2gldx.c [187/440] Compiling misc/charset_conv.c [188/440] Compiling video/out/opengl/common.c [189/440] Compiling video/out/vo_null.c [190/440] Compiling stream/stream_avdevice.c [191/440] Compiling stream/tv.c [192/440] Compiling video/filter/vf_sub.c [193/440] Compiling input/event.c [194/440] Compiling video/sws_utils.c [195/440] Compiling audio/filter/af_lavfi.c [196/440] Compiling demux/demux_null.c [197/440] Compiling video/filter/vf_dlopen.c [198/440] Compiling video/filter/vf_stereo3d.c [199/440] Compiling video/decode/d3d11va.c [200/440] Compiling player/video.c [201/440] Compiling video/out/vo.c [202/440] Compiling player/command.c [203/440] Compiling video/sws_utils.c [204/440] Compiling osdep/path-win.c [205/440] Compiling stream/stream_null.c [206/440] Compiling osdep/semaphore_osx.c [207/440] Compiling player/audio.c [208/440] Compiling stream/stream_dvd_common.c [209/440] Compiling audio/out/ao_pcm.c [210/440] Compiling demux/demux_mkv.c [211/440] Compiling common/av_log.c [212/440] Compiling video/out/vo_null.c [213/440] Compiling video/filter/vf_lavfi.c [214/440] Compiling sub/sd_ass.c [215/440] Compiling misc/ring.c [216/440] Compiling video/out/opengl/context_w32.c [217/440] Compiling video/out/aspect.c [218/440] Compiling video/out/opengl/common.c [219/440] Compiling audio/chmap.c [220/440] Compiling player/misc.c [221/440] Compiling video/out/opengl/hwdec.c [222/440] Compiling demux/demux_raw.c [223/440] Compiling audio/filter/af_equalizer.c [224/440] Compiling input/ipc-win.c [225/440] Compiling input/keycodes.c [226/440] Compiling video/out/vo_opengl_cb.c [227/440] Compiling audio/filter/af.c [228/440] Compiling video/filter/vf_dsize.c [229/440] Compiling osdep/windows_utils.c [230/440] Compiling osdep/terminal-win.c [231/440] Compiling demux/demux_lavf.c [232/440] Compiling audio/decode/ad_spdif.c [233/440] Compiling audio/out/ao_wasapi_utils.c [234/440] Compiling video/out/opengl/hwdec_dxva2.c [235/440] Compiling audio/filter/af_volume.c [236/440] Compiling osdep/subprocess.c [237/440] Compiling video/filter/vf_scale.c [238/440] Compiling options/options.c [239/440] Compiling audio/out/ao.c [240/440] Compiling video/out/vo_caca.c [241/440] Compiling video/filter/vf.c [242/440] Compiling demux/timeline.c [243/440] Compiling video/out/opengl/utils.c [244/440] Compiling audio/filter/af_lavcac3enc.c [245/440] Compiling video/out/vo_direct3d.c [246/440] Compiling misc/charset_conv.c [247/440] Compiling common/tags.c [248/440] Compiling audio/out/ao_wasapi_utils.c [249/440] Compiling audio/format.c [250/440] Compiling player/client.c [251/440] Compiling osdep/threads.c [252/440] Compiling audio/out/ao_wasapi.c [253/440] Compiling audio/audio.c [254/440] Compiling input/ipc-win.c [255/440] Compiling stream/rar.c [256/440] Compiling input/cmd_parse.c [257/440] Compiling player/main.c [258/440] Compiling demux/demux.c [259/440] Compiling audio/out/ao.c [260/440] Compiling options/m_option.c [261/440] Compiling audio/out/ao_null.c [262/440] Compiling options/parse_configfile.c [263/440] Compiling common/codecs.c [264/440] Compiling ta/ta_utils.c [265/440] Compiling video/out/opengl/context.c [266/440] Compiling osdep/win32/pthread.c [267/440] Compiling misc/json.c [268/440] Compiling demux/timeline.c [269/440] Compiling video/out/vo_image.c [270/440] Compiling stream/stream.c [271/440] Compiling osdep/win32-console-wrapper.c [272/440] Compiling options/m_property.c [273/440] Compiling audio/out/ao_wasapi.c [274/440] Compiling video/out/opengl/hwdec_dxva2.c [275/440] Compiling options/parse_commandline.c [276/440] Compiling video/out/opengl/superxbr.c [277/440] Compiling stream/stream_tv.c [278/440] Compiling video/fmt-conversion.c [279/440] Compiling stream/stream_avdevice.c [280/440] Compiling stream/stream_mf.c [281/440] Compiling video/filter/vf_dlopen.c [282/440] Compiling audio/filter/af_pan.c [283/440] Compiling stream/stream.c [284/440] Compiling options/parse_configfile.c [285/440] Compiling sub/lavc_conv.c [286/440] Compiling options/m_option.c [287/440] Compiling ta/ta_utils.c [288/440] Compiling video/decode/dxva2.c [289/440] Compiling stream/cache.c [290/440] Compiling demux/ebml.c [291/440] Compiling video/out/win32/exclusive_hack.c [292/440] Compiling video/mp_image_pool.c [293/440] Compiling audio/decode/ad_lavc.c [294/440] Compiling audio/chmap_sel.c [295/440] Compiling osdep/path-unix.c [296/440] Compiling video/filter/vf_crop.c [297/440] Compiling video/image_writer.c [298/440] Compiling video/out/win_state.c [299/440] Compiling video/decode/dec_video.c [300/440] Compiling ta/ta_talloc.c [301/440] Compiling demux/demux_lavf.c [302/440] Compiling stream/frequencies.c [303/440] Compiling player/main.c [304/440] Compiling video/filter/vf_pullup.c [305/440] Compiling video/out/win_state.c [306/440] Compiling demux/demux_mf.c [307/440] Compiling video/out/win32/exclusive_hack.c [308/440] Compiling video/csputils.c [309/440] Compiling video/out/opengl/context_w32.c [310/440] Compiling demux/demux_cue.c [311/440] Compiling audio/out/ao_wasapi_changenotify.c [312/440] Compiling video/filter/vf.c [313/440] Compiling audio/filter/af_scaletempo.c [314/440] Compiling stream/stream_dvd_common.c [315/440] Compiling sub/draw_bmp.c [316/440] Compiling input/event.c [317/440] Compiling sub/dec_sub.c [318/440] Compiling video/filter/vf_crop.c [319/440] Compiling audio/audio_buffer.c [320/440] Compiling video/out/vo_opengl.c [321/440] Compiling sub/ass_mp.c [322/440] Compiling stream/stream_dvd.c [323/440] Compiling common/msg.c [324/440] Compiling sub/sd_lavc.c [325/440] Compiling video/filter/vf_scale.c [326/440] Compiling sub/img_convert.c [327/440] Compiling video/out/opengl/context_angle.c [328/440] Compiling audio/filter/af_delay.c [329/440] Compiling sub/dec_sub.c [330/440] Compiling options/path.c [331/440] Compiling audio/mixer.c [332/440] Compiling player/loadfile.c [333/440] Compiling misc/dispatch.c [334/440] Compiling audio/audio.c [335/440] Compiling video/d3d11va.c [336/440] Compiling stream/stream_memory.c [337/440] Compiling osdep/path-win.c [338/440] Compiling video/filter/vf_eq.c [339/440] Compiling video/filter/vf_yadif.c [340/440] Compiling demux/demux_disc.c [341/440] Compiling video/out/opengl/osd.c [342/440] Compiling video/image_writer.c [343/440] Compiling player/playloop.c [344/440] Compiling video/out/filter_kernels.c [345/440] Compiling video/out/opengl/video.c [346/440] Compiling demux/demux_null.c [347/440] Compiling options/m_property.c [348/440] Compiling video/decode/d3d.c [349/440] Compiling video/out/opengl/osd.c [350/440] Compiling osdep/subprocess-win.c [351/440] Compiling player/sub.c [352/440] Compiling osdep/timer.c [353/440] Compiling demux/demux_tv.c [354/440] Compiling video/gpu_memcpy.c [355/440] Compiling video/filter/vf_lavfi.c [356/440] Compiling video/filter/vf_format.c [357/440] Compiling video/out/opengl/video_shaders.c [358/440] Compiling stream/rar.c [359/440] Compiling audio/filter/af_format.c [360/440] Compiling player/audio.c [361/440] Compiling audio/filter/af_lavrresample.c [362/440] Compiling osdep/glob-win.c [363/440] Compiling player/misc.c [364/440] Compiling video/filter/vf_stereo3d.c [365/440] Compiling player/lavfi.c [366/440] Compiling demux/codec_tags.c [367/440] Compiling demux/packet.c [368/440] Compiling audio/filter/af_volume.c [369/440] Compiling common/encode_lavc.c ../player/lavfi.c: In function 'init_pads': ../player/lavfi.c:416:17: warning: 'src_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, src_filter, ^ ../player/lavfi.c:354:17: warning: 'dst_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, dst_filter, ^
[370/440] Compiling osdep/main-fn-win.c [371/440] Compiling video/mp_image_pool.c [372/440] Compiling video/decode/d3d.c [373/440] Compiling player/scripting.c [374/440] Compiling sub/img_convert.c [375/440] Compiling demux/demux_mkv_timeline.c [376/440] Compiling player/external_files.c [377/440] Compiling osdep/windows_utils.c [378/440] Compiling audio/filter/tools.c [379/440] Compiling osdep/subprocess.c [380/440] Compiling audio/filter/af_pan.c [381/440] Compiling video/out/win32/displayconfig.c [382/440] Compiling misc/dispatch.c [383/440] Compiling stream/stream_memory.c [384/440] Compiling video/csputils.c [385/440] Compiling audio/out/ao_null.c [386/440] Compiling demux/demux_raw.c [387/440] Compiling video/filter/vf_rotate.c [388/440] Compiling audio/filter/af.c [389/440] Compiling player/screenshot.c [390/440] Compiling player/lua.c [391/440] Compiling video/img_format.c [392/440] Compiling demux/demux_playlist.c [393/440] Compiling video/out/bitmap_packer.c [394/440] Compiling options/options.c [395/440] Compiling video/decode/vd_lavc.c [396/440] Compiling video/out/dither.c [397/440] Compiling video/out/opengl/lcms.c [398/440] Compiling audio/filter/af_equalizer.c [399/440] Compiling video/out/opengl/video.c [400/440] Compiling video/out/opengl/context.c [401/440] Compiling video/out/opengl/utils.c [402/440] Compiling osdep/win32/pthread.c [403/440] Compiling video/mp_image.c [404/440] Compiling options/parse_commandline.c [405/440] Compiling demux/demux_playlist.c [406/440] Compiling osdep/timer.c [407/440] Compiling video/filter/vf_noformat.c [408/440] Compiling audio/chmap_sel.c [409/440] Compiling common/playlist.c [410/440] Compiling video/filter/vf_expand.c [411/440] Compiling stream/stream_lavf.c [412/440] Compiling stream/stream_file.c [413/440] Compiling video/out/vo_opengl.c [414/440] Compiling video/out/bitmap_packer.c [415/440] Compiling input/cmd_parse.c [416/440] Compiling sub/sd_lavc.c [417/440] Compiling sub/osd.c [418/440] Compiling stream/tv.c [419/440] Compiling player/lua.c [420/440] Compiling options/path.c [421/440] Compiling player/configfiles.c [422/440] Compiling audio/decode/ad_lavc.c [423/440] Compiling player/configfiles.c [424/440] Compiling video/filter/vf_format.c [425/440] Compiling video/out/vo_lavc.c [426/440] Compiling video/out/opengl/superxbr.c [427/440] Compiling video/filter/vf_mirror.c [428/440] Compiling stream/stream_edl.c [429/440] Compiling video/filter/vf_flip.c [430/440] Compiling demux/demux_edl.c [431/440] Compiling video/out/opengl/context_angle.c [432/440] Compiling video/out/w32_common.c [433/440] Compiling demux/demux_tv.c [434/440] Compiling video/out/opengl/context_dxinterop.c [435/440] Compiling stream/stream_file.c [436/440] Compiling video/out/vo_direct3d.c [437/440] Compiling stream/tvi_dummy.c [438/440] Linking build/mpv.com [439/440] Linking build/mpv.exe [440/440] Linking build/mpv-1.dll Waf: Leaving directory `/home/lex/mpv/build' 'build' finished successfully (1m17.920s)
Well, the only thing that I can imagine that could go wrong is that something with your own OpenGL usage and that of mpv's conflict.
We try using the API for rendering in our own OpenGL context via opengl-cb.
With these parameters: mpv::qt::set_option_variant(mpv, "vo", "opengl-cb:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-passes=1:prescale-luma=superxbr");
With latest git version we compiled our own mpv-1.dll. And now the scaling methods superxbr and neddi3 do not generate the right FBO resulting in no upscaled image. mpv-1.dll made from MPV 0.15.0 works fine, broken in MPV 0.160