mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.25k stars 2.9k forks source link

mpv in OpenSUSE Leap 42.2 never works, why? #4087

Closed inukaze closed 7 years ago

inukaze commented 7 years ago

mpv 0.23.0 and GNU/Linux

If you're not using git master or the latest release, update.

Reproduction steps

Resolve Depencies if you want to compile mpv , and install h264 from Packman Repositorie and aac Download the lastest stable source code Extract it Open a terminal and go the folder where you has extracted the sub-folder "mpv-0.23.0" and use the follow commands

cd ~/mpv-0.23.0 ./bootstrap.py ./waf configure --enable-sdl2 --enable-openal --enable-libmpv-shared --enable-zsh-comp --enable-clang-database ./waf sudo ./waf install sudo ldconfig cd ~

mpv "Videotest.mp4" Playing: Videotest.mp4 (+) Video --vid=1 () (h264) (+) Audio --aid=1 --alang=und () (aac) libEGL warning: DRI2: failed to authenticate [vo/opengl] Suspected software renderer or indirect context. [vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM. Failed to initialize a video decoder for codec 'h264'. Video: no video Failed to initialize an audio decoder for codec 'aac'. Audio: no audio No video or audio streams selected.

Expected behavior

Play videos with h264 video codec and aac audio codec

Actual behavior

Evers fails, no matter if you use the version on the official repository of OpenSuSE Leap 42.2 or manual compile, evers happens the same :

mpv "Videotest.mp4" Playing: Videotest.mp4 (+) Video --vid=1 () (h264) (+) Audio --aid=1 --alang=und () (aac) libEGL warning: DRI2: failed to authenticate [vo/opengl] Suspected software renderer or indirect context. [vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM. Failed to initialize a video decoder for codec 'h264'. Video: no video Failed to initialize an audio decoder for codec 'aac'. Audio: no audio No video or audio streams selected.

Log file

./waf configure --enable-sdl2 --enable-openal --enable-libmpv-shared --enable-zsh-comp --enable-clang-database              
Setting top to                           : /home/inukaze/mpv-0.23.0 
Setting out to                           : /home/inukaze/mpv-0.23.0/build 
Checking for waf version in 1.8.4-1.9.0  : ok 
Checking for program 'cc'                : /usr/bin/cc 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'python'            : /usr/bin/python 
Checking for program 'rst2html'          : /usr/bin/rst2html 
Checking for program 'rst2man'           : /usr/bin/rst2man 
Checking for program 'rst2pdf'           : /usr/bin/rst2pdf 
Checking for program 'windres'           : not found 
Checking for program 'perl'              : /usr/bin/perl 
Checking for 'gcc' (C compiler)          : /usr/bin/cc 
Detected target OS:                      : os-linux 
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 mpv CLI player                                       : yes 
Checking for shared library                                       : yes 
Checking for static library                                       : disabled 
Checking for static build                                         : disabled 
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                                   : yes 
Checking for html manual generation                               : disabled 
Checking for pdf manual generation                                : disabled 
Checking for dynamic loader                                       : yes 
Checking for dlopen                                               : yes 
Checking for compilation of default filters for vf_dlopen         : disabled 
Checking for zsh completion                                       : yes 
Checking for inline assembly (currently without effect)           : yes 
Checking for test suite (using cmocka)                            : disabled 
Checking for generate a clang compilation database                : yes 
Checking for compiler support for noexecstack                     : yes 
Checking for linker support for --nxcompat --no-seh --dynamicbase : no 
Checking for -lm                                                  : yes 
Checking for MinGW                                                : os-win32 not found 
Checking for POSIX environment                                    : yes 
Checking for development environment                              : yes 
Checking for win32                                                : not found any of os-win32, os-cygwin 
Checking for internal pthread wrapper for win32 (Vista+)          : win32 not found 
Checking for POSIX threads                                        : yes 
Checking for GNU C extensions                                     : yes 
Checking for stdatomic.h                                          : no 
Checking for compiler support for __atomic built-ins              : yes 
Checking for compiler support for __sync built-ins                : atomic-builtins found 
Checking for stdatomic.h support or emulation                     : yes 
Checking for C11 TLS support                                      : no 
Checking for GCC TLS support                                      : yes 
Checking for linking with -lrt                                    : yes 
Checking for iconv                                                : yes 
Checking for w32/dos paths                                        : not found any of os-win32, os-cygwin 
Checking for termios                                              : yes 
Checking for shm                                                  : yes 
Checking for nanosleep                                            : yes 
Checking for POSIX spawnp()/kill()                                : yes 
Checking for posix_spawnp() or MinGW                              : yes 
Checking for glob()                                               : yes 
Checking for glob() win32 replacement                             : not found any of os-win32, os-cygwin 
Checking for fchmod()                                             : yes 
Checking for vt.h                                                 : yes 
Checking for gbm.h                                                : no 
Checking for GLIBC API for setting thread name                    : yes 
Checking for OSX API for setting thread name                      : glibc-thread-name found 
Checking for BSD API for setting thread name                      : glibc-thread-name found 
Checking for NetBSD API for setting thread name                   : glibc-thread-name found 
Checking for BSD's fstatfs()                                      : no 
Checking for Linux's fstatfs()                                    : yes 
Checking for Samba support                                        : yes 
Checking for Lua                                                  : yes (version found: 52) 
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                                       : yes 
Checking for dvdread support                                      : yes 
Checking for dvdnav support                                       : yes 
Checking for cdda support (libcdio)                               : yes 
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-lazy, vapoursynth 
Checking for libarchive wrapper for reading zip files and more    : disabled 
Checking for SDL2                                                 : yes 
Checking for SDL (1.x)                                            : disabled 
Checking for OSS (implementation from opensound.com)              : no 
Checking for OSS (platform-specific OSS implementation)           : yes 
Checking for OSS (emulation on top of SunAudio)                   : oss-audio-native found 
Checking for OSS audio output                                     : yes 
Checking for RSound audio output                                  : no 
Checking for sndio audio input/output                             : disabled 
Checking for PulseAudio audio output                              : yes 
Checking for JACK audio output                                    : yes 
Checking for OpenAL audio output                                  : yes 
Checking for OpenSL ES audio output                               : no 
Checking for ALSA audio output                                    : yes 
Checking for CoreAudio audio output                               : no 
Checking for AudioUnit output for iOS                             : no 
Checking for WASAPI audio output                                  : win32 not found 
Checking for Cocoa                                                : no 
Checking for DRM                                                  : yes 
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                                                  : yes 
Checking for Xss screensaver extensions                           : yes 
Checking for X extensions                                         : yes 
Checking for Xv video output                                      : yes 
Checking for Xinerama                                             : yes 
Checking for Xrandr                                               : yes 
Checking for OpenGL Cocoa Backend                                 : cocoa not found 
Checking for OpenGL X11 Backend                                   : yes 
Checking for OpenGL X11 EGL Backend                               : yes 
Checking for OpenGL DRM EGL Backend                               : gbm not found 
Checking for OpenGL Wayland Backend                               : wayland not found 
Checking for OpenGL Win32 Backend                                 : win32 not found 
Checking for OpenGL/DirectX Interop Backend                       : gl-win32 not found 
Checking for OpenGL Win32 ANGLE Backend                           : not found any of os-win32, os-cygwin 
Checking for OpenGL Win32 ANGLE Library                           : egl-angle not found 
Checking for VDPAU acceleration                                   : yes 
Checking for VDPAU with OpenGL/X11                                : yes 
Checking for VAAPI acceleration                                   : yes 
Checking for VAAPI (X11 support)                                  : yes 
Checking for VAAPI (Wayland support)                              : gl-wayland not found 
Checking for VAAPI (DRM/EGL support)                              : egl-drm not found 
Checking for VAAPI GLX                                            : yes 
Checking for VAAPI EGL on X11                                     : yes 
Checking for VAAPI EGL                                            : yes 
Checking for CACA                                                 : yes 
Checking for JPEG support                                         : yes 
Checking for Direct3D support                                     : win32 not found 
Checking for Android support                                      : no 
Checking for Raspberry Pi support                                 : no 
Checking for Desktop standard OpenGL support                      : yes 
Checking for Android OpenGL ES support                            : android not found 
Checking for iOS OpenGL ES support                                : no 
Checking for Any OpenGL (ES) support                              : yes 
Checking for OpenGL without platform-specific code (e.g. for libmpv) : yes 
Checking for MALI via Linux fbdev                                    : no 
Checking for OpenGL video outputs                                    : yes 
Checking for EGL helper functions                                    : yes 
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 mastering display metadata struct             : yes 
Checking for libavcodec VAAPI hwaccel                                : yes 
Checking for libavcodec videotoolbox hwaccel                         : no 
Checking for Videotoolbox with OpenGL                                : videotoolbox-hwaccel, gl-cocoa not found 
Checking for libavcodec VDPAU hwaccel                                : yes 
Checking for libavcodec DXVA2 and D3D11VA hwaccel                    : win32 not found 
Checking for CUDA hwaccel                                            : no 
Checking for GCC SSE4 intrinsics for GPU memcpy                      : yes 
Checking for TV interface                                            : yes 
Checking for videoio.h                                               : no 
Checking for videodev2.h                                             : yes 
Checking for Video4Linux2 TV interface                               : yes 
Checking for libv4l2 support                                         : yes 
Checking for audio input support                                     : yes 
Checking for DVB input module                                        : yes 
Checking for w32 executable                                          : not found any of os-win32, os-cygwin 
Checking for Apple Remote support                                    : cocoa not found 
Writing configuration header:                                        : config.h 
'configure' finished successfully (14.327s)

./waf
Waf: Entering directory `/home/inukaze/mpv-0.23.0/build'
[  1/469] Compiling version.sh
[  2/469] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
[  3/469] Compiling video/out/x11_icon.bin
[  4/469] Compiling etc/input.conf
[  5/469] Compiling etc/builtin.conf
[  6/469] Compiling sub/osd_font.otf
[  7/469] Compiling player/lua/defaults.lua
[  8/469] Compiling player/lua/assdraw.lua
[  9/469] Compiling player/lua/options.lua
[ 10/469] Compiling player/lua/osc.lua
[ 11/469] Compiling player/lua/ytdl_hook.lua
[ 12/469] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
[ 13/469] Compiling demux/ebml.c
[ 14/469] Compiling libmpv/mpv.def
[ 15/469] Compiling libmpv/mpv.pc.in
[ 16/469] Compiling DOCS/man/mpv.rst
[ 17/469] Compiling video/out/opengl/hwdec_vaegl.c
../video/out/opengl/hwdec_vaegl.c: In function ‘test_format’:
../video/out/opengl/hwdec_vaegl.c:375:20: warning: missing braces around initializer [-Wmissing-braces]
             struct gl_hwdec_frame frame = {0};
                    ^
../video/out/opengl/hwdec_vaegl.c:375:20: warning: (near initialization for ‘frame.planes’) [-Wmissing-braces]

[ 18/469] Compiling misc/ring.c
[ 19/469] Compiling video/filter/vf_mirror.c
[ 20/469] Compiling osdep/io.c
[ 21/469] Compiling audio/filter/af_channels.c
[ 22/469] Compiling audio/decode/dec_audio.c
[ 23/469] Compiling video/filter/vf_scale.c
[ 24/469] Compiling options/parse_commandline.c
[ 25/469] Compiling video/hwdec.c
[ 26/469] Compiling stream/rar.c
[ 27/469] Compiling video/gpu_memcpy.c
[ 28/469] Compiling video/out/vo_image.c
[ 29/469] Compiling osdep/subprocess.c
[ 30/469] Compiling common/av_common.c
[ 31/469] Compiling audio/out/push.c
[ 32/469] Compiling stream/stream_dvd.c
[ 33/469] Compiling video/filter/vf_lavfi.c
[ 34/469] Compiling common/av_common.c
[ 35/469] Compiling stream/stream_avdevice.c
[ 36/469] Compiling demux/demux_rar.c
[ 37/469] Compiling input/ipc-unix.c
[ 38/469] Compiling sub/osd.c
[ 39/469] Compiling video/out/vo_sdl.c
[ 40/469] Compiling sub/draw_bmp.c
[ 41/469] Compiling common/common.c
[ 42/469] Compiling osdep/threads.c
[ 43/469] Compiling audio/out/ao_openal.c
[ 44/469] Compiling video/out/opengl/hwdec_vaglx.c
[ 45/469] Compiling player/scripting.c
[ 46/469] Compiling options/m_config.c
[ 47/469] Compiling options/parse_configfile.c
[ 48/469] Compiling video/filter/vf.c
[ 49/469] Compiling video/out/vo.c
[ 50/469] Compiling audio/out/ao_lavc.c
[ 51/469] Compiling misc/dispatch.c
[ 52/469] Compiling options/parse_configfile.c
[ 53/469] Compiling video/filter/vf_dlopen.c
[ 54/469] Compiling video/hwdec.c
[ 55/469] Compiling video/out/vo.c
[ 56/469] Compiling video/filter/vf_eq.c
[ 57/469] Compiling video/out/opengl/common.c
[ 58/469] Compiling player/sub.c
[ 59/469] Compiling demux/timeline.c
[ 60/469] Compiling video/out/opengl/lcms.c
[ 61/469] Compiling video/fmt-conversion.c
[ 62/469] Compiling stream/stream_rar.c
[ 63/469] Compiling misc/node.c
[ 64/469] Compiling video/out/vo_vaapi.c
[ 65/469] Compiling demux/ebml.c
[ 66/469] Compiling stream/tvi_dummy.c
[ 67/469] Compiling video/out/opengl/utils.c
[ 68/469] Compiling video/out/win_state.c
[ 69/469] Compiling demux/demux_mf.c
[ 70/469] Compiling player/audio.c
[ 71/469] Compiling osdep/terminal-unix.c
[ 72/469] Compiling audio/out/ao_alsa.c
[ 73/469] Compiling sub/sd_ass.c
[ 74/469] Compiling video/out/vo_drm.c
[ 75/469] Compiling video/img_format.c
[ 76/469] Compiling video/out/opengl/egl_helpers.c
[ 77/469] Compiling player/loadfile.c
[ 78/469] Compiling audio/filter/af_lavcac3enc.c
[ 79/469] Compiling video/filter/vf_buffer.c
[ 80/469] Compiling audio/decode/ad_lavc.c
[ 81/469] Compiling video/mp_image_pool.c
[ 82/469] Compiling video/out/vo_image.c
[ 83/469] Compiling stream/ai_oss.c
[ 84/469] Compiling demux/demux_mkv.c
[ 85/469] Compiling video/filter/vf_vavpp.c
[ 86/469] Compiling stream/stream_memory.c
[ 87/469] Compiling stream/stream_memory.c
[ 88/469] Compiling osdep/timer.c
[ 89/469] Compiling video/decode/dec_video.c
[ 90/469] Compiling demux/demux_tv.c
[ 91/469] Compiling common/version.c
[ 92/469] Compiling ta/ta_utils.c
[ 93/469] Compiling stream/frequencies.c
[ 94/469] Compiling audio/chmap.c
../demux/demux_mkv.c: In function ‘demux_mkv_read_info’:
../demux/demux_mkv.c:391:12: warning: missing braces around initializer [-Wmissing-braces]
     struct ebml_info info = {0};
            ^
../demux/demux_mkv.c:391:12: warning: (near initialization for ‘info.segment_uid’) [-Wmissing-braces]

[ 95/469] Compiling player/lua.c
[ 96/469] Compiling options/path.c
[ 97/469] Compiling audio/filter/af_lavcac3enc.c
[ 98/469] Compiling stream/stream_file.c
[ 99/469] Compiling video/out/vo_vdpau.c
[100/469] Compiling demux/demux_disc.c
[101/469] Compiling player/playloop.c
[102/469] Compiling audio/filter/af_equalizer.c
[103/469] Compiling player/osd.c
[104/469] Compiling audio/out/push.c
[105/469] Compiling common/msg.c
[106/469] Compiling video/filter/vf_stereo3d.c
[107/469] Compiling video/vaapi.c
[108/469] Compiling player/client.c
[109/469] Compiling video/out/opengl/user_shaders.c
[110/469] Compiling audio/out/ao_alsa.c
[111/469] Compiling audio/format.c
[112/469] Compiling video/out/opengl/common.c
[113/469] Compiling input/keycodes.c
[114/469] Compiling video/out/bitmap_packer.c
[115/469] Compiling common/encode_lavc.c
[116/469] Compiling player/main.c
[117/469] Compiling demux/demux_tv.c
[118/469] Compiling video/image_writer.c
[119/469] Compiling stream/stream_bluray.c
[120/469] Compiling video/out/aspect.c
[121/469] Compiling osdep/semaphore_osx.c
[122/469] Compiling video/out/opengl/hwdec_vaglx.c
[123/469] Compiling demux/demux_playlist.c
[124/469] Compiling input/keycodes.c
[125/469] Compiling video/out/aspect.c
[126/469] Compiling audio/out/ao_jack.c
[127/469] Compiling misc/bstr.c
[128/469] Compiling player/osd.c
[129/469] Compiling audio/filter/af_drc.c
[130/469] Compiling stream/cookies.c
[131/469] Compiling video/filter/vf_pullup.c
[132/469] Compiling video/out/vo_lavc.c
[133/469] Compiling video/out/opengl/context_x11.c
[134/469] Compiling video/out/x11_common.c
[135/469] Compiling audio/out/ao_openal.c
[136/469] Compiling player/external_files.c
[137/469] Compiling video/filter/refqueue.c
[138/469] Compiling osdep/main-fn-unix.c
[139/469] Compiling video/vdpau.c
[140/469] Compiling demux/demux.c
[141/469] Compiling audio/filter/af.c
[142/469] Compiling common/msg.c
[143/469] Compiling ta/ta.c
[144/469] Compiling audio/out/ao_pcm.c
[145/469] Compiling stream/stream_cb.c
[146/469] Compiling video/vdpau.c
[147/469] Compiling stream/stream_file.c
[148/469] Compiling video/out/opengl/osd.c
[149/469] Compiling sub/dec_sub.c
[150/469] Compiling video/filter/vf_rotate.c
[151/469] Compiling stream/cache.c
[152/469] Compiling demux/packet.c
[153/469] Compiling audio/filter/af_lavfi.c
[154/469] Compiling demux/demux_timeline.c
[155/469] Compiling video/out/vo_caca.c
[156/469] Compiling audio/filter/af_scaletempo.c
[157/469] Compiling video/filter/vf_dlopen.c
[158/469] Compiling osdep/semaphore_osx.c
[159/469] Compiling audio/audio.c
[160/469] Compiling audio/decode/ad_spdif.c
[161/469] Compiling input/ipc.c
[162/469] Compiling demux/demux_timeline.c
[163/469] Compiling audio/chmap_sel.c
[164/469] Compiling input/cmd_list.c
[165/469] Compiling audio/out/ao_lavc.c
[166/469] Compiling stream/stream_cdda.c
[167/469] Compiling common/tags.c
[168/469] Compiling osdep/path-unix.c
[169/469] Compiling video/out/filter_kernels.c
[170/469] Compiling sub/dec_sub.c
[171/469] Compiling options/m_option.c
[172/469] Compiling video/out/vo_xv.c
[173/469] Compiling video/out/vo_vaapi.c
[174/469] Compiling video/out/opengl/context.c
[175/469] Compiling stream/audio_in.c
[176/469] Compiling audio/out/ao_pulse.c
[177/469] Compiling stream/ai_alsa1x.c
[179/469] Compiling sub/osd_libass.c
[179/469] Compiling video/out/opengl/osd.c
[180/469] Compiling stream/stream_lavf.c
[181/469] Compiling ta/ta_talloc.c
[182/469] Compiling demux/codec_tags.c
[183/469] Compiling video/out/opengl/video_shaders.c
[184/469] Compiling player/lua.c
[185/469] Compiling audio/chmap.c
[186/469] Compiling video/out/vo_tct.c
[187/469] Compiling video/out/vo_lavc.c
[188/469] Compiling ta/ta_utils.c
[189/469] Compiling video/filter/vf_eq.c
[190/469] Compiling options/m_property.c
[191/469] Compiling audio/out/ao_pulse.c
[192/469] Compiling player/screenshot.c
[193/469] Compiling player/configfiles.c
[194/469] Compiling stream/stream_dvd_common.c
[195/469] Compiling video/out/vo_opengl.c
[196/469] Compiling video/filter/vf_sub.c
[197/469] Compiling video/decode/vdpau.c
[198/469] Compiling common/tags.c
[199/469] Compiling sub/osd_libass.c
[200/469] Compiling video/sws_utils.c
[201/469] Compiling stream/stream_tv.c
[202/469] Compiling video/out/opengl/context_x11egl.c
[203/469] Compiling demux/demux_null.c
[204/469] Compiling stream/rar.c
[205/469] Compiling audio/format.c
[206/469] Compiling stream/cache_file.c
[207/469] Compiling input/input.c
[208/469] Compiling demux/timeline.c
[209/469] Compiling osdep/subprocess-posix.c
[210/469] Compiling demux/demux_null.c
[211/469] Compiling input/event.c
[212/469] Compiling stream/stream_null.c
[213/469] Compiling options/path.c
[214/469] Compiling sub/sd_lavc.c
[215/469] Compiling osdep/timer-linux.c
[216/469] Compiling input/ipc-unix.c
[217/469] Compiling video/filter/vf_pullup.c
[218/469] Compiling video/out/opengl/formats.c
[219/469] Compiling demux/demux_mkv_timeline.c
[220/469] Compiling audio/filter/af_format.c
[221/469] Compiling video/out/opengl/context.c
[222/469] Compiling video/out/opengl/hwdec_vdpau.c
[223/469] Compiling audio/filter/af_drc.c
[224/469] Compiling common/version.c
[225/469] Compiling audio/out/pull.c
[226/469] Compiling demux/demux_lavf.c
[227/469] Compiling audio/chmap_sel.c
[228/469] Compiling input/cmd_list.c
[229/469] Compiling video/decode/vd_lavc.c
[230/469] Compiling video/out/dither.c
[231/469] Compiling sub/lavc_conv.c
[232/469] Compiling common/av_log.c
[233/469] Compiling player/client.c
[234/469] Compiling stream/stream_dvb.c
[235/469] Compiling video/filter/vf_yadif.c
[236/469] Compiling misc/charset_conv.c
[237/469] Compiling options/m_property.c
[238/469] Compiling osdep/timer-linux.c
[239/469] Compiling audio/fmt-conversion.c
[240/469] Compiling video/filter/refqueue.c
[241/469] Compiling audio/filter/af_volume.c
[242/469] Compiling demux/demux_mkv_timeline.c
[243/469] Compiling stream/ai_oss.c
[244/469] Compiling sub/draw_bmp.c
[245/469] Compiling sub/img_convert.c
[246/469] Compiling video/out/vo_opengl.c
[247/469] Compiling input/event.c
[248/469] Compiling osdep/threads.c
[249/469] Compiling player/scripting.c
[250/469] Compiling ta/ta_talloc.c
[251/469] Compiling audio/decode/ad_lavc.c
[252/469] Compiling stream/stream_rar.c
[253/469] Compiling video/filter/vf_noformat.c
[254/469] Compiling video/filter/vf_format.c
[255/469] Compiling video/out/opengl/formats.c
[256/469] Compiling player/video.c
[257/469] Compiling video/out/vo_caca.c
[258/469] Compiling common/common.c
[259/469] Compiling video/vdpau_mixer.c
[260/469] Compiling video/img_format.c
[261/469] Compiling osdep/path-unix.c
[262/469] Compiling stream/stream_smb.c
[263/469] Compiling video/out/vo_null.c
[264/469] Compiling video/out/opengl/user_shaders.c
[265/469] Compiling player/screenshot.c
[266/469] Compiling stream/dvb_tune.c
[267/469] Compiling video/filter/vf_gradfun.c
[268/469] Compiling video/filter/vf_lavfi.c
[269/469] Compiling options/options.c
[270/469] Compiling player/misc.c
[271/469] Compiling options/m_config.c
[272/469] Compiling audio/decode/dec_audio.c
[273/469] Compiling video/csputils.c
[274/469] Compiling misc/node.c
[276/469] Compiling player/main.c
[276/469] Compiling stream/tvi_v4l2.c
[277/469] Compiling options/parse_commandline.c
[278/469] Compiling stream/tv.c
[279/469] Compiling video/csputils.c
[280/469] Compiling player/playloop.c
[281/469] Compiling demux/packet.c
[282/469] Compiling audio/audio.c
[283/469] Compiling video/sws_utils.c
[284/469] Compiling common/codecs.c
[285/469] Compiling audio/filter/af_format.c
[286/469] Compiling misc/bstr.c
[287/469] Compiling video/out/drm_common.c
../video/out/drm_common.c: In function ‘has_signal_installed’:
../video/out/drm_common.c:378:12: warning: missing braces around initializer [-Wmissing-braces]
     struct sigaction act = { 0 };
            ^
../video/out/drm_common.c:378:12: warning: (near initialization for ‘act.__sigaction_handler’) [-Wmissing-braces]
../video/out/drm_common.c: In function ‘install_signal’:
../video/out/drm_common.c:385:12: warning: missing braces around initializer [-Wmissing-braces]
     struct sigaction act = { 0 };
            ^
../video/out/drm_common.c:385:12: warning: (near initialization for ‘act.__sigaction_handler’) [-Wmissing-braces]

[288/469] Compiling audio/filter/tools.c
[289/469] Compiling sub/ass_mp.c
[290/469] Compiling stream/stream.c
[291/469] Compiling video/image_writer.c
[292/469] Compiling audio/out/pull.c
[293/469] Compiling video/out/opengl/lcms.c
[294/469] Compiling video/filter/vf_vdpaupp.c
[295/469] Compiling audio/out/ao_null.c
[296/469] Compiling video/filter/vf_scale.c
[297/469] Compiling player/audio.c
[298/469] Compiling video/mp_image.c
[299/469] Compiling player/external_files.c
[300/469] Compiling video/mp_image.c
[301/469] Compiling video/out/opengl/hwdec.c
[302/469] Compiling common/playlist.c
[303/469] Compiling video/filter/vf_crop.c
[304/469] Compiling demux/demux_disc.c
[305/469] Compiling common/codecs.c
[306/469] Compiling stream/stream_dvb.c
[307/469] Compiling misc/charset_conv.c
[308/469] Compiling osdep/terminal-unix.c
[309/469] Compiling demux/ebml.c
[310/469] Compiling audio/filter/tools.c
[311/469] Compiling player/sub.c
[312/469] Compiling misc/json.c
[313/469] Compiling video/filter/vf_sub.c
[314/469] Compiling audio/filter/af_scaletempo.c
[315/469] Compiling player/command.c
[316/469] Compiling audio/filter/af_equalizer.c
[317/469] Compiling audio/out/ao_pcm.c
[318/469] Compiling video/filter/vf_format.c
[319/469] Compiling stream/stream_cdda.c
[320/469] Compiling video/gpu_memcpy.c
[321/469] Compiling video/out/opengl/video_shaders.c
[322/469] Compiling demux/demux_cue.c
[323/469] Compiling video/decode/dec_video.c
[324/469] Compiling audio/out/ao_oss.c
[325/469] Compiling video/out/vo_null.c
[326/469] Compiling demux/demux_raw.c
[327/469] Compiling video/out/vo_opengl_cb.c
[328/469] Compiling video/mp_image_pool.c
../player/command.c: In function ‘mp_property_vo_performance’:
../player/command.c:2870:12: warning: missing braces around initializer [-Wmissing-braces]
     struct voctrl_performance_data data = {0};
            ^
../player/command.c:2870:12: warning: (near initialization for ‘data.upload’) [-Wmissing-braces]

[329/469] Compiling video/out/vo_opengl_cb.c
[330/469] Compiling video/filter/vf_flip.c
[331/469] Compiling options/m_option.c
[332/469] Compiling video/out/vo_vdpau.c
[333/469] Compiling sub/osd.c
[334/469] Compiling stream/stream_avdevice.c
[335/469] Compiling stream/stream_lavf.c
[336/469] Compiling player/lavfi.c
[337/469] Compiling video/filter/vf_expand.c
[338/469] Compiling stream/stream_dvd.c
[339/469] Compiling video/out/bitmap_packer.c
[340/469] Compiling demux/cue.c
[341/469] Compiling sub/lavc_conv.c
[342/469] Compiling video/out/x11_common.c
[343/469] Compiling common/av_log.c
[344/469] Compiling audio/audio_buffer.c
[345/469] Compiling player/video.c
[346/469] Compiling video/filter/vf_rotate.c
[347/469] Compiling misc/json.c
[348/469] Compiling common/playlist.c
[349/469] Compiling video/filter/vf_vavpp.c
[350/469] Compiling osdep/io.c
[351/469] Compiling player/command.c
[352/469] Compiling video/filter/vf_flip.c
[353/469] Compiling misc/rendezvous.c
[354/469] Compiling player/configfiles.c
[355/469] Compiling demux/demux_edl.c
[356/469] Compiling video/out/filter_kernels.c
[357/469] Compiling video/filter/vf_dsize.c
[358/469] Compiling sub/sd_ass.c
[359/469] Compiling video/filter/vf_mirror.c
[360/469] Compiling stream/audio_in.c
[361/469] Compiling stream/stream_edl.c
[362/469] Compiling sub/img_convert.c
[363/469] Compiling audio/audio_buffer.c
[364/469] Compiling stream/cache_file.c
[365/469] Compiling video/filter/vf_stereo3d.c
../player/command.c: In function ‘mp_property_vo_performance’:
../player/command.c:2870:12: warning: missing braces around initializer [-Wmissing-braces]
     struct voctrl_performance_data data = {0};
            ^
../player/command.c:2870:12: warning: (near initialization for ‘data.upload’) [-Wmissing-braces]

[366/469] Compiling sub/sd_lavc.c
[367/469] Compiling video/out/opengl/hwdec_vdpau.c
[368/469] Compiling common/encode_lavc.c
[369/469] Compiling stream/stream_dvdnav.c
[370/469] Compiling stream/stream_cb.c
[371/469] Compiling video/out/vo_sdl.c
[372/469] Compiling video/out/drm_common.c
../video/out/drm_common.c: In function ‘has_signal_installed’:
../video/out/drm_common.c:378:12: warning: missing braces around initializer [-Wmissing-braces]
     struct sigaction act = { 0 };
            ^
../video/out/drm_common.c:378:12: warning: (near initialization for ‘act.__sigaction_handler’) [-Wmissing-braces]
../video/out/drm_common.c: In function ‘install_signal’:
../video/out/drm_common.c:385:12: warning: missing braces around initializer [-Wmissing-braces]
     struct sigaction act = { 0 };
            ^
../video/out/drm_common.c:385:12: warning: (near initialization for ‘act.__sigaction_handler’) [-Wmissing-braces]

[373/469] Compiling video/filter/vf_yadif.c
[374/469] Compiling audio/filter/af_pan.c
[375/469] Compiling audio/decode/ad_spdif.c
[376/469] Compiling video/out/opengl/context_x11.c
[377/469] Compiling audio/out/ao.c
[378/469] Compiling demux/demux_cue.c
[379/469] Compiling audio/filter/af_lavrresample.c
[380/469] Compiling video/out/vo_drm.c
[381/469] Compiling stream/ai_alsa1x.c
[382/469] Compiling video/filter/vf.c
[383/469] Compiling audio/fmt-conversion.c
[384/469] Compiling misc/dispatch.c
[385/469] Compiling stream/frequencies.c
[386/469] Compiling video/filter/vf_noformat.c
[387/469] Compiling video/out/opengl/utils.c
[388/469] Compiling osdep/subprocess.c
[389/469] Compiling video/out/vo_x11.c
[390/469] Compiling video/filter/vf_gradfun.c
[391/469] Compiling stream/stream_mf.c
[392/469] Compiling stream/stream_edl.c
[393/469] Compiling video/out/opengl/egl_helpers.c
[394/469] Compiling video/decode/vaapi.c
[395/469] Compiling stream/cookies.c
[396/469] Compiling input/cmd_parse.c
[397/469] Compiling audio/out/ao_oss.c
[398/469] Compiling audio/filter/af_volume.c
[399/469] Compiling audio/filter/af.c
[400/469] Compiling osdep/subprocess-posix.c
[401/469] Compiling demux/demux_playlist.c
[402/469] Compiling stream/stream.c
[403/469] Compiling video/decode/vdpau.c
[404/469] Compiling video/out/dither.c
[405/469] Compiling osdep/timer.c
[406/469] Compiling video/filter/vf_crop.c
[407/469] Compiling demux/cue.c
[408/469] Compiling audio/out/ao_sdl.c
[409/469] Compiling video/decode/vd_lavc.c
[410/469] Compiling input/input.c
[411/469] Compiling video/out/vo_tct.c
[412/469] Compiling video/filter/vf_dsize.c
[413/469] Compiling demux/demux_lavf.c
[414/469] Compiling stream/stream_bluray.c
[415/469] Compiling misc/ring.c
[416/469] Compiling stream/tvi_v4l2.c
[417/469] Compiling stream/stream_smb.c
[418/469] Compiling video/filter/vf_vdpaupp.c
[419/469] Compiling video/filter/vf_expand.c
[420/469] Compiling stream/stream_dvdnav.c
[421/469] Compiling demux/demux_rar.c
[422/469] Compiling stream/dvb_tune.c
[423/469] Compiling audio/filter/af_lavrresample.c
[424/469] Compiling video/out/vo_x11.c
[425/469] Compiling demux/codec_tags.c
[426/469] Compiling demux/demux_mkv.c
[427/469] Compiling audio/out/ao_sdl.c
[428/469] Compiling audio/filter/af_pan.c
[429/469] Compiling video/out/opengl/hwdec_vaegl.c
../video/out/opengl/hwdec_vaegl.c: In function ‘test_format’:
../video/out/opengl/hwdec_vaegl.c:375:20: warning: missing braces around initializer [-Wmissing-braces]
             struct gl_hwdec_frame frame = {0};
                    ^
../video/out/opengl/hwdec_vaegl.c:375:20: warning: (near initialization for ‘frame.planes’) [-Wmissing-braces]

[430/469] Compiling stream/stream_mf.c
[431/469] Compiling video/decode/vaapi.c
[432/469] Compiling player/lavfi.c
[433/469] Compiling video/out/win_state.c
[434/469] Compiling audio/out/ao_jack.c
[435/469] Compiling video/vdpau_mixer.c
../demux/demux_mkv.c: In function ‘demux_mkv_read_info’:
../demux/demux_mkv.c:391:12: warning: missing braces around initializer [-Wmissing-braces]
     struct ebml_info info = {0};
            ^
../demux/demux_mkv.c:391:12: warning: (near initialization for ‘info.segment_uid’) [-Wmissing-braces]

[436/469] Compiling sub/ass_mp.c
[437/469] Compiling video/vaapi.c
[438/469] Compiling demux/demux_edl.c
[439/469] Compiling video/out/opengl/hwdec.c
[440/469] Compiling stream/tv.c
[441/469] Compiling video/out/opengl/context_x11egl.c
[442/469] Compiling video/out/opengl/video.c
[443/469] Compiling video/out/opengl/video.c
../video/out/opengl/video.c: In function ‘uninit_video’:
../video/out/opengl/video.c:902:21: warning: missing braces around initializer [-Wmissing-braces]
     *vimg = (struct video_image){0};
                     ^
../video/out/opengl/video.c:902:21: warning: (near initialization for ‘(anonymous).planes’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘render_pass_quad’:
../video/out/opengl/video.c:949:12: warning: missing braces around initializer [-Wmissing-braces]
     struct vertex va[4] = {0};
            ^
../video/out/opengl/video.c:949:12: warning: (near initialization for ‘va[0]’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘reinterleave_vdpau’:
../video/out/opengl/video.c:2849:12: warning: missing braces around initializer [-Wmissing-braces]
     struct gl_hwdec_frame res = {0};
            ^
../video/out/opengl/video.c:2849:12: warning: (near initialization for ‘res.planes’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘gl_video_upload_image’:
../video/out/opengl/video.c:2912:16: warning: missing braces around initializer [-Wmissing-braces]
         struct gl_hwdec_frame gl_frame = {0};
                ^
../video/out/opengl/video.c:2912:16: warning: (near initialization for ‘gl_frame.planes’) [-Wmissing-braces]

[444/469] Compiling player/loadfile.c
../video/out/opengl/video.c: In function ‘uninit_video’:
../video/out/opengl/video.c:902:21: warning: missing braces around initializer [-Wmissing-braces]
     *vimg = (struct video_image){0};
                     ^
../video/out/opengl/video.c:902:21: warning: (near initialization for ‘(anonymous).planes’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘render_pass_quad’:
../video/out/opengl/video.c:949:12: warning: missing braces around initializer [-Wmissing-braces]
     struct vertex va[4] = {0};
            ^
../video/out/opengl/video.c:949:12: warning: (near initialization for ‘va[0]’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘reinterleave_vdpau’:
../video/out/opengl/video.c:2849:12: warning: missing braces around initializer [-Wmissing-braces]
     struct gl_hwdec_frame res = {0};
            ^
../video/out/opengl/video.c:2849:12: warning: (near initialization for ‘res.planes’) [-Wmissing-braces]
../video/out/opengl/video.c: In function ‘gl_video_upload_image’:
../video/out/opengl/video.c:2912:16: warning: missing braces around initializer [-Wmissing-braces]
         struct gl_hwdec_frame gl_frame = {0};
                ^
../video/out/opengl/video.c:2912:16: warning: (near initialization for ‘gl_frame.planes’) [-Wmissing-braces]

[445/469] Compiling video/fmt-conversion.c
[446/469] Compiling stream/tvi_dummy.c
[447/469] Compiling stream/stream_tv.c
[448/469] Compiling stream/stream_null.c
[449/469] Compiling stream/stream_dvd_common.c
[450/469] Compiling ta/ta.c
[451/469] Compiling audio/filter/af_channels.c
[452/469] Compiling video/out/vo_xv.c
[453/469] Compiling options/options.c
[454/469] Compiling audio/filter/af_lavfi.c
[455/469] Compiling stream/cache.c
[456/469] Compiling input/cmd_parse.c
[457/469] Compiling audio/out/ao.c
[458/469] Compiling video/filter/vf_buffer.c
[459/469] Compiling player/misc.c
[460/469] Compiling demux/demux.c
[461/469] Compiling misc/rendezvous.c
[462/469] Compiling input/ipc.c
[463/469] Compiling demux/demux_mf.c
[464/469] Compiling audio/out/ao_null.c
[465/469] Compiling demux/demux_raw.c
[466/469] Linking build/libmpv.so
[467/469] Linking build/mpv
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libjpeg.so.8, needed by /usr/lib64/libv4lconvert.so.0, may conflict with libjpeg.so.62

[468/469] Symlinking build/libmpv.so
[469/469] Compiling TOOLS/zsh.pl
Waf: Leaving directory `/home/inukaze/mpv-0.23.0/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (1m42.425s)

sudo ./waf install
root's password:
Waf: Entering directory `/home/inukaze/mpv-0.23.0/build'
[  1/492] Compiling version.sh
+ install /usr/local/share/doc/mpv/mpv.conf (from etc/mpv.conf)
+ install /usr/local/share/doc/mpv/input.conf (from etc/input.conf)
+ install /usr/local/share/doc/mpv/mplayer-input.conf (from etc/mplayer-input.conf)
+ install /usr/local/share/doc/mpv/restore-old-bindings.conf (from etc/restore-old-bindings.conf)
+ install /usr/local/include/mpv/client.h (from libmpv/client.h)
+ install /usr/local/include/mpv/qthelper.hpp (from libmpv/qthelper.hpp)
+ install /usr/local/include/mpv/stream_cb.h (from libmpv/stream_cb.h)
+ install /usr/local/include/mpv/opengl_cb.h (from libmpv/opengl_cb.h)
+ install /usr/local/lib/pkgconfig/mpv.pc (from build/libmpv/mpv.pc)
+ install /usr/local/share/zsh/site-functions/_mpv (from build/etc/_mpv)
+ install /usr/local/share/applications/mpv.desktop (from etc/mpv.desktop)
+ install /usr/local/etc/mpv/encoding-profiles.conf (from etc/encoding-profiles.conf)
+ install /usr/local/share/icons/hicolor/32x32/apps/mpv.png (from etc/mpv-icon-8bit-32x32.png)
+ install /usr/local/share/icons/hicolor/16x16/apps/mpv.png (from etc/mpv-icon-8bit-16x16.png)
+ install /usr/local/share/icons/hicolor/64x64/apps/mpv.png (from etc/mpv-icon-8bit-64x64.png)
+ install /usr/local/share/icons/hicolor/scalable/apps/mpv.svg (from etc/mpv-gradient.svg)
+ install /usr/local/share/icons/hicolor/symbolic/apps/mpv-symbolic.svg (from etc/mpv-symbolic.svg)
+ install /usr/local/bin/mpv (from build/mpv)
+ symlink /usr/local/lib/libmpv.so (to libmpv.so.1.24.0)
+ symlink /usr/local/lib/libmpv.so.1 (to libmpv.so.1.24.0)
+ install /usr/local/share/man/man1/mpv.1 (from build/DOCS/man/mpv.1)
+ install /usr/local/lib/libmpv.so.1.24.0 (from build/libmpv.so)
Waf: Leaving directory `/home/inukaze/mpv-0.23.0/build'
Build commands will be stored in build/compile_commands.json
'install' finished successfully (0.625s)
inukaze@linux-fng4:~/home/inukaze/mpv-0.23.0> sudo ldconfig ; echo ; mpv
root's password:

mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
 built on Mon Jan 30 04:03:28 VET 2017
ffmpeg library versions:
   libavutil       55.34.100
   libavcodec      57.64.101
   libavformat     57.56.100
   libswscale      4.2.100
   libavfilter     6.65.100
   libswresample   2.3.100
ffmpeg version: 3.2

Usage:   mpv [options] [url|path/]filename

Basic options:
 --start=<time>    seek to given (percent, seconds, or hh:mm:ss) position
 --no-audio        do not play sound
 --no-video        do not play video
 --fs              fullscreen playback
 --sub-file=<file> specify subtitle file to use
 --playlist=<file> specify playlist file

 --list-options    list all mpv options
 --h=<string>      print options which contain the given string in their name

cd ~
mpv "Videotest.mp4" 
Playing: Videotest.mp4
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
libEGL warning: DRI2: failed to authenticate
[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM.
Failed to initialize a video decoder for codec 'h264'.
Video: no video
Failed to initialize an audio decoder for codec 'aac'.
Audio: no audio
No video or audio streams selected.

Sample files

Any file with : Container : MP4 , Video Codec : h264, Audio Codec: aac

Sample files needed to reproduce this issue can be uploaded to https://0x0.st/ or similar sites. (Only needed if the issue cannot be reproduced without it.)

CounterPillow commented 7 years ago

Your ffmpeg appears to be built without H.264 support. Try using mpv-build to compile mpv and a fresh non-distro ffmpeg.

Additionally, your direct rendering appears to be broken.

[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM.
ghost commented 7 years ago

[vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM. Ignore that part. It's harmless and always happens with Mesa. We don't know if it's their bug or our bug.

mia-0 commented 7 years ago

You need to install all the FFmpeg packages from Packman. This includes libavformat, libavcodec, libswscale etc. A quick way to do this is zypper dup --from Packman (assuming “Packman” describes that repository; see output of zypper lr). Just make sure it doesn’t switch more packages than necessary.

That aside, I strongly recommend using Tumbleweed over Leap for your typical desktop. Leap only makes sense when you’re interested in a system that doesn’t change (i.e. is “stable” with old packages forever).

inukaze commented 7 years ago

You need to install all the FFmpeg packages from Packman. This includes libavformat, libavcodec, libswscale etc. A quick way to do this is zypper dup --from Packman (assuming “Packman” describes that repository; see output of zypper lr). Just make sure it doesn’t switch more packages than necessary.

That aside, I strongly recommend using Tumbleweed over Leap for your typical desktop. Leap only makes sense when you’re interested in a system that doesn’t change (i.e. is “stable” with old packages forever).

i already have installed all codecs, and all dependencies when i try to use "rpmbuild" with the "rpm source" of the OpenSuSE Package of mpv.

I prefer Leap over Tumbleweed, beacuase the lastests versions of packages evers broken all my distros with SystemD , because is the SystemD the cause of broken, but i decide give an oportunity to OpenSuSE . This is the last distro i use with SystemD, i really don't like, i prefer OpenRC .

Distros Like : Slackware64 , Manjaro OpenRC Xfce, Gentoo x86_64, Devuan (Debian with OpenRC) works better. i have all this distros installed, and i testing which of them is more perdurable and stable for me.

For me i prefer old and very stable Packages like Slackware .

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

Your ffmpeg appears to be built without H.264 support. Try using mpv-build to compile mpv and a fresh non-distro ffmpeg.

Additionally, your direct rendering appears to be broken.

[vo/opengl] Suspected software renderer or indirect context. [vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM.

my DRI is not Broken, just is old, my GPU is "Nvidia GeForce 6200 TurboCache(TM), 128MB, 64 Bit, DDR, PCI Express x16 " and my /etc/X11/xorg.conf , is completely configured for that . i Play a lot Steam Games with that. :D

Ok i go try with mpv-build , or is better i download and manual compile "ffmpeg" and the another was "libav" ??? for make posible play restricted video codecs like h264 ?

mia-0 commented 7 years ago

You have failed to install the Packman versions of all those packages I have listed. It works with these.

mia-0 commented 7 years ago

Also, you prefer old and “stable” packages, but you still want new software? Does not compute.

inukaze commented 7 years ago

You have failed to install the Packman versions of all those packages I have listed. It works with these.

i don't fail the installation of codec.

Also, you prefer old and “stable” packages, but you still want new software? Does not compute.

I compile this version of mpv (0.23.0) under slackware64 14.2 a couple of days ago. this not need be a problem, with the unique distribution i go this issue is with this OpenSUSE Leap 42.2. because of that i know this software can works i expect under this distribution because the package have a version more newer than Slackware64 14.2

For me is not new software, is the same software i have minimal 2 years of use. the version can be new, but the software not is new for me.

inukaze commented 7 years ago

Checking for FFmpeg/Libav present : yes Checking for libav is FFmpeg : yes Checking for libav is Libav : no Checking for Libav/FFmpeg library versions : no ('libavutil >= 55.34.100 libavcodec >= 57.64.100 libavformat >= 57.56.100 libswscale >= 4.2.100 libavfilter >= 6.65.100 libswresample >= 2.3.100' not found) Unable to find development files for some of the required FFmpeg/Libav libraries. You need at least FFmpeg 3.2.2 or Libav 12. Aborting.

why says "Or Libav" when is a dependency with FFmpeg ?

I download and compile libmp3lame, libav :

export {C,CXX}FLAGS='-O2 -fPIC -march=native -mtune=native' 
export OPTFLAGS='-O2 -fPIC -march=native -mtune=native'

libmp3lame :

./configure –prefix=/usr
make
sudo make install
sudo ldconfig

libav/util/codec/format/filter, libswscale / libswresample :

git clone https://github.com/libav/libav

export {C,CXX}FLAGS='-O2 -fPIC -march=native -mtune=native'
export OPTFLAGS='-O2 -fPIC -march=native -mtune=native'

./configure --enable-pic --enable-lto --enable-gpl --enable-version3 --enable-nonfree --enable-avxsynth --enable-bzlib --enable-frei0r --enable-gnutls --enable-libbs2b --enable-libcdio --enable-libdc1394 --enable-libdcadec --enable-libfaac --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libgsm --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxvid --enable-openssl --enable-zlib --prefix=/usr 

make
sudo make install
sudo ldconfig
git clone https://github.com/mpv-player/mpv-build.git ; cd mpv-build
echo --enable-libmpv-shared >> mpv_options 
echo --enable-libx264 >> ffmpeg_options 
echo --enable-libmp3lame >> ffmpeg_options 
echo --enable-libfdk-aac >> ffmpeg_options 
echo --enable-nonfree >> ffmpeg_options
echo –enable-gpl  >> ffmpeg_options
echo --prefix=/usr >> ffmpeg_options
echo --prefix=/usr >> mpv_option

./rebuild -j3

I had an issue when i try to compile:

[ 23/464] Compiling video/out/vo_x11.c
Traceback (most recent call last):
  File "/usr/bin/rst2man", line 26, in <module>
    publish_cmdline(writer=manpage.Writer(), description=description)
  File "/usr/lib/python2.7/site-packages/docutils/core.py", line 352, in publish_cmdline
    config_section=config_section, enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.7/site-packages/docutils/core.py", line 214, in publish
    **(settings_overrides or {}))
  File "/usr/lib/python2.7/site-packages/docutils/core.py", line 161, in process_command_line
    self.settings = option_parser.parse_args(argv)
  File "/usr/lib64/python2.7/optparse.py", line 1405, in parse_args
    return self.check_values(values, args)
  File "/usr/lib/python2.7/site-packages/docutils/frontend.py", line 655, in check_values
    make_paths_absolute(values.__dict__, self.relative_path_settings)
  File "/usr/lib/python2.7/site-packages/docutils/frontend.py", line 220, in make_paths_absolute
    base_path = os.getcwdu() # type(base_path) == unicode
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)

Waf: Leaving directory `/media/Compartido/Software/Liñux/src/git/mpv-build/mpv/build'
Build failed
 -> task in 'rst2man' failed (exit status 1): 
        {task 139999234380496: rst2man mpv.rst -> mpv.1}
' /usr/bin/rst2man --strip-elements-with-class=contents ../DOCS/man/mpv.rst DOCS/man/mpv.1

if possible to set the use of python3 instead 2.7, just for try the compilation ???

inukaze commented 7 years ago

Well don't work, evers says :

Playing: Videotext.mp4
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
libEGL warning: DRI2: failed to authenticate
[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_ENUM.
Failed to initialize a video decoder for codec 'h264'.
Video: no video
Failed to initialize an audio decoder for codec 'aac'.
Audio: no audio
No video or audio streams selected.

After i had Download and compile manually : libav 12 or lastest , libmp3lame , ffmpeg, and the OpenSUSE Forum don't work :'(

inukaze commented 7 years ago

i solve compiling "mplayer-1.3.0" and use it with smplayer :)

ghost commented 7 years ago

That's probably better for us all.

CounterPillow commented 7 years ago

why says "Or Libav" when is a dependency with FFmpeg ?

You seem to not know what Libav is.

Libav is an FFmpeg fork. The name "Libav" does not refer to the libavcodec/libavformat libraries of FFmpeg.

JOduMonT commented 5 years ago

This is how I resolve this situation

Because libavcodec58 is mostly automatically installed by default with the Multimedia Pattern even by following those official instruction it still impossible to play mp4 video. But this is not related specifically to MPV, I notice the same situation with VLC.

So after activating the packman repository as is mentioned earlier and here

You have to force libavcodec58 to use the packman repository by choosing it through the Versions Tab.

image