Closed mrkapqa closed 6 years ago
It's a git repository which contains all versions.
After you clone it, you can get any version with git checkout hash-or-tag-you-want
You can see all versions/modifications e.g. here https://github.com/mpv-player/mpv-build/commits/master or locally by running git log
.
thank you,
i don't see any oterh than master included, as it seems to refer to mpv master.
could you show me how to checkout this version here
https://github.com/mpv-player/mpv/releases/tag/v0.26.0
please
when i run git tag
inside mpv-build
it shows nothing,
when i run git tag
inside clone of mpv
it shows the different versions, but i am used to use mpv-build to compile mpv
is is advisable to manipulate this file here?
https://github.com/mpv-player/mpv-build/blob/master/use-mpv-release
indeed mpv-build is a different repository than the mpv source code, and mpv-build doesn't have tags, but it's still a git repository which preserves all previous versions.
For instance you wanted mpv-build which can be used to build mpv 0.26. It's possible that latest mpv-build can still build earlier versions of mpv, but if you want to increase your chances, then you should get the mpv-build version which was latest at the time mpv 0.26 was released.
IF you look at your link you'll see that mpv 0.26 is from 2017-07-18, and if you look at the mpv-build commits then you'll see that the last update before this date is b0e0b5ccc8164cec325ff77c2e9fd93704518497 from 2017-06-27.
So just cd to the mpv-build dir, then git checkout b0e0b5cc
and you'll get the mpv-build version which was the latest when mpv 0.26 was released.
But indeed the main options of mpv-build (regardless if latest or latest when mpv 0.26 was released) is to use either the latest release or latest mpv master.
If you know your way with shell scripts and git, you could try following what the scripts do and make it checkout v0.26.0
(a tag) rather than the latest release.
@lachs0r will know better if mpv-build supports building specific mpv tags or hashes rather than only release or master.
thank you , i am having problem remembering how to handle this yet, but it seems a legit way to "go back in time" , is it not? anyway, i tried , but failed.
it woult let me go into your indicated git checkout, but when compiling it would stop
Checking for Libav/FFmpeg library versions : ffmpeg-mpv not found Unable to find development files for some of the required FFmpeg/Libav libraries. You need git master. For FFmpeg, the mpv fork, that might contain additional fixes and features is required. It is available on https://github.com/mpv-player/ffmpeg-mpv Aborting.
Checking for Libav/FFmpeg library versions : ffmpeg-mpv not found
This is a message from latest mpv master. As I said, all versions of mpv-build apparently only know to build either latest mpv release or latest mpv master. So mpv master indeed gives this message without its special version of ffmpeg.
I'm not sure who maintains mpv build, but maybe someone could try adding support for building specific versions/tags/hashes of mpv itself.
Sorry I can't help further.
So, I looked into it a bit. The scripts at mpv-build currently don't support selecting a custom mpv or ffmpeg versions, so you will have to do it manually. The good news is that's very simple to do.
For instance, if you want to build mpv 0.25 with ffmpeg 3.3 (3.3 is the latest ffmpeg release when mpv 0.25 was released on 2017-04-23), do this after cloning mpv-build and cd into its root dir:
# Update is required only once, or if upstream has new versions which you want to use
./update
# Checkout a specific ffmpeg version
cd ffmpeg
git checkout release/3.3
cd ..
# Checkout a specific mpv version
cd mpv
git checkout v0.25.0
cd ..
# and build
./build
If it succeeded, your mpv binary will end up at mpv/build/mpv
Note that because choosing the versions wasn't done via the scripts, then any further ./update
or ./rebuild
(and naturally use-mpv-*
and use-ffmpeg-*
and maybe more) will revert these manually selected versions into either master or release.
However, ./build
will not revert it, so this is good for us. Also, if some dependencies other than ffmpeg and libass are missing, for instance luajit or libxscrnsaver etc, then you can install them on your system normally and then just run ./build
again.
In the future, we might update the mpv-build scripts to support custom versions of ffmpeg and/or mpv such that it'll survive update and rebuild. But as of now, it's still not supported, so make sure you only run ./build
after such manual versions.
In the future, we might update the mpv-build scripts to support custom versions of ffmpeg and/or mpv such that it'll survive update and rebuild
We just did that. now you can do:
./use-ffmpeg-custom release/3.3
./use-mpv-custom v0.25.0
./update
./build
The procedure might change a bit in the future, but for now, it works.
thank you very much, i might wanna try this out sometime; recall some year ago tried to build mpv on debian squeeze (on a macmini 2.1) and was also succesful, somehow, but the player would stop playback when i tried to fast forward or rewind. debian squeeze was most perfect linux for that computer i think, besides lubuntu, so whenever i triy again, i might need some older mpv-build if that is possible now. probably i would need package that could build with libc6 2.11.
Hello , i tried this today
it seemed to install well
./use-ffmpeg-custom release/3.3 ./use-mpv-custom v0.25.0 ./update ./build sudo ./build install
all fine and gives
rich@rich-desktop:~/Programme/youtube-viewer-master$ mpv mpv 0.25.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects built on Sun May 20 13:03:53 CEST 2018 ffmpeg library versions: libavutil 55.58.100 libavcodec 57.89.100 libavformat 57.71.100 libswscale 4.6.100 libavfilter 6.82.100 libswresample 2.7.100 ffmpeg version: n3.3.7-2-g003be3e
Usage: mpv [options] [url|path/]filename
Basic options: --start=
--list-options list all mpv options
--h=
but it would not play stream
rich@rich-desktop:~/Programme/youtube-viewer-master$ mpv https://www.youtube.com/watch?v=o8oYmaasdA4 Playing: https://www.youtube.com/watch?v=o8oYmaasdA4 [ffmpeg] https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled. [ffmpeg] Protocol not found. Make sure ffmpeg/Libav is compiled with networking support. Failed to open https://www.youtube.com/watch?v=o8oYmaasdA4.
Exiting... (Errors when loading file)
so i have installed now "libgnutls28-dev" which previously was not installed.
How can i now update MPV to include this library?
Thank you very much for your help!
similarly , on debian wheezy it would say
rich@debian:~/Programme/mpv-build$ mpv https://www.youtube.com/watch?v=kfkzjLis88s Playing: https://www.youtube.com/watch?v=kfkzjLis88s [ffmpeg] tls: A TLS packet with unexpected length was received. Failed to recognize file format.
make: Nothing to be done for install'. make: Leaving directory
/home/rich/Programme/mpv-build/ffmpeg_build'
Using mpv options:
Setting top to : /home/rich/Programme/mpv-build/mpv
Setting out to : /home/rich/Programme/mpv-build/mpv/build
Checking for waf version in 1.8.4-2.0.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 'rst2html' : not found
Checking for program 'rst2man' : not found
Checking for program 'rst2pdf' : not found
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 : disabled
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 : no (missing RST2MAN)
Checking for html manual generation : disabled
Checking for pdf manual generation : disabled
Checking for dynamic loader : yes
Checking for C plugins : disabled
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 : 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 stdatomic.h support or slow 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 : no ('smbclient' not found)
Checking for Lua : no ('luajit >= 2.0.0' not found)
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 : disabled
Checking for dvdnav support : disabled
Checking for DVD/IFO support : not found any of dvdnav, dvdread
Checking for cdda support (libcdio) : disabled
Checking for uchardet support : no ('uchardet' not found)
Checking for librubberband support : no ('rubberband >= 1.8.0' not found)
Checking for LCMS2 support : no ('lcms2 >= 2.6' not found)
Checking for VapourSynth filter bridge (Python) : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found)
Checking for VapourSynth filter bridge (Lazy Lua) : lua 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 : disabled
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 : 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 : 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 Xv video output : 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 : no ('vdpau >= 0.2' not found)
Checking for VDPAU with OpenGL/X11 : vdpau not found
Checking for VAAPI acceleration : no ('libva >= 0.36.0' not found)
Checking for VAAPI (X11 support) : vaapi not found
Checking for VAAPI (Wayland support) : gl-wayland, vaapi not found
Checking for VAAPI (DRM/EGL support) : vaapi, egl-drm not found
Checking for VAAPI GLX : vaapi-x11 not found
Checking for VAAPI EGL on X11 : vaapi-x11 not found
Checking for VAAPI EGL : not found any of vaapi-wayland, vaapi-x-egl
Checking for CACA : no ('caca >= 0.99.beta18' not found)
Checking for JPEG support : no
Checking for Direct3D support : win32 not found
Checking for Android support : no
Checking for Raspberry Pi support : no ('bcm_host' not found)
Checking for iOS OpenGL ES hardware decoding interop support : no
Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static
Checking for MALI via Linux fbdev : no
Checking for OpenGL video outputs : yes
Checking for EGL helper functions : yes
Checking for FFmpeg/Libav present : yes
Checking for libav is FFmpeg : yes
Checking for libav is Libav : no
Checking for Libav/FFmpeg library versions : yes
Checking for libavdevice : yes
Checking for libavutil GPU memcpy for hardware decoding : yes
Checking for libavcodec VAAPI hwaccel : vaapi not found
Checking for libavcodec VAAPI hwaccel (new) : vaapi-hwaccel not found
Checking for libavcodec VAAPI hwaccel (old) : vaapi-hwaccel 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 VDPAU hwaccel (new) : vdpau-hwaccel not found
Checking for libavcodec VDPAU hwaccel (old) : vdpau not found
Checking for DXVA2 and D3D11VA hwaccel : win32 not found
Checking for CUDA hwaccel : yes
Checking for GCC SSE4 intrinsics for GPU memcpy : not found any of d3d-hwaccel, vaapi-hwaccel-old
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 : no ('libv4l2' not found)
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
Checking for macOS Touch Bar support : cocoa not found
Writing configuration header: : config.h
'configure' finished successfully (4.556s)
Waf: Entering directory /home/rich/Programme/mpv-build/mpv/build' [ 1/218] Compiling version.sh Waf: Leaving directory
/home/rich/Programme/mpv-build/mpv/build'
'build' finished successfully (0.449s)
Waf: Entering directory `/home/rich/Programme/mpv-build/mpv/build'
[ 1/230] Compiling version.sh
[218/230] Linking build/mpv
Hello ,
i have tried this today twice, with MPV 0.25 and MPV 0.26 ; it would build apparently fine and everything but afterwards it would not find mpv command?
this on debian wheezy, powerpc64
License: GPL version 2 or later
Creating configuration files ...
config.h is unchanged
libavutil/avconfig.h is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged
make: Entering directory /home/rich/Programme/mpv-build/ffmpeg_build' make: Leaving directory
/home/rich/Programme/mpv-build/ffmpeg_build'
make: Entering directory /home/rich/Programme/mpv-build/ffmpeg_build' INSTALL install-progs-yes INSTALL ffmpeg INSTALL ffprobe INSTALL ffserver INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-1080p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-1080p50_60.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-360p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-720p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-720p50_60.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/ffprobe.xsd INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/avio_dir_cmd.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/avio_reading.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/decode_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/decode_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/demuxing_decoding.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/encode_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/encode_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/extract_mvs.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filter_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filtering_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filtering_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/http_multiclient.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/metadata.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/muxing.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/qsvdec.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/remuxing.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/resampling_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/scaling_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/transcode_aac.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/transcoding.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/Makefile INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/README INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-1080p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-1080p50_60.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-360p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-720p.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/presets/libvpx-720p50_60.ffpreset INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/ffprobe.xsd INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/avio_dir_cmd.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/avio_reading.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/decode_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/decode_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/demuxing_decoding.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/encode_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/encode_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/extract_mvs.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filter_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filtering_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/filtering_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/http_multiclient.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/metadata.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/muxing.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/qsvdec.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/remuxing.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/resampling_audio.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/scaling_video.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/transcode_aac.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/transcoding.c INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/Makefile INSTALL home/rich/Programme/mpv-build/ffmpeg/doc/examples/README INSTALL libavdevice/libavdevice.a INSTALL libavfilter/libavfilter.a INSTALL libavformat/libavformat.a INSTALL libavcodec/libavcodec.a INSTALL libpostproc/libpostproc.a INSTALL libswresample/libswresample.a INSTALL libswscale/libswscale.a INSTALL libavutil/libavutil.a INSTALL home/rich/Programme/mpv-build/ffmpeg/libavdevice/avdevice.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavdevice/version.h INSTALL libavdevice/libavdevice.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libavfilter/avfilter.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavfilter/avfiltergraph.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavfilter/buffersink.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavfilter/buffersrc.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavfilter/version.h INSTALL libavfilter/libavfilter.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libavformat/avformat.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavformat/avio.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavformat/version.h INSTALL libavformat/libavformat.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/avcodec.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/avdct.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/avfft.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/d3d11va.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/dirac.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/dv_profile.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/dxva2.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/jni.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/mediacodec.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/qsv.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/vaapi.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/vda.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/vdpau.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/version.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/videotoolbox.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/vorbis_parser.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavcodec/xvmc.h INSTALL libavcodec/libavcodec.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libpostproc/postprocess.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libpostproc/version.h INSTALL libpostproc/libpostproc.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libswresample/swresample.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libswresample/version.h INSTALL libswresample/libswresample.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libswscale/swscale.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libswscale/version.h INSTALL libswscale/libswscale.pc INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/adler32.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/aes.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/aes_ctr.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/attributes.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/audio_fifo.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/avassert.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/avstring.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/avutil.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/base64.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/blowfish.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/bprint.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/bswap.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/buffer.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/cast5.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/camellia.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/channel_layout.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/common.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/cpu.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/crc.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/des.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/dict.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/display.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/downmix_info.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/error.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/eval.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/fifo.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/file.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/frame.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hash.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hmac.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext_cuda.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext_dxva2.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext_qsv.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext_vaapi.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/hwcontext_vdpau.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/imgutils.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/intfloat.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/intreadwrite.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/lfg.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/log.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/macros.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/mathematics.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/mastering_display_metadata.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/md5.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/mem.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/motion_vector.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/murmur3.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/opt.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/parseutils.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/pixdesc.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/pixelutils.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/pixfmt.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/random_seed.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/rc4.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/rational.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/replaygain.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/ripemd.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/samplefmt.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/sha.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/sha512.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/spherical.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/stereo3d.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/threadmessage.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/time.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/timecode.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/timestamp.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/tree.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/twofish.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/version.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/xtea.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/tea.h INSTALL home/rich/Programme/mpv-build/ffmpeg/libavutil/lzo.h INSTALL libavutil/avconfig.h INSTALL libavutil/ffversion.h INSTALL libavutil/libavutil.pc make: Nothing to be done for
install'.
make: Leaving directory /home/rich/Programme/mpv-build/ffmpeg_build' Using mpv options: Setting top to : /home/rich/Programme/mpv-build/mpv Setting out to : /home/rich/Programme/mpv-build/mpv/build Checking for waf version in 1.8.4-2.1.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 'rst2html' : not found Checking for program 'rst2man' : not found Checking for program 'rst2pdf' : not found 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 : disabled 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 : no (missing RST2MAN) Checking for html manual generation : disabled Checking for pdf manual generation : disabled Checking for dynamic loader : yes Checking for C plugins : yes 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 : 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 Universal Windows Platform : disabled Checking for win32 desktop APIs : not found any of os-win32, os-cygwin Checking for internal pthread wrapper for win32 (Vista+) : os-win32 not found Checking for POSIX threads : yes Checking for GNU C extensions : yes Checking for stdatomic.h : no Checking for stdatomic.h support or slow emulation : 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 Windows pipe support : win32-desktop not found 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 BSD's fstatfs() : no Checking for Linux's fstatfs() : yes Checking for Samba support (makes mpv GPLv3) : disabled Checking for Lua : yes (version found: 52deb) Checking for Javascript (MuJS backend) : no ('mujs >= 1.0.0' not found) 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 : disabled Checking for dvdnav support : disabled Checking for DVD/IFO support : not found any of dvdnav, dvdread Checking for cdda support (libcdio) : disabled Checking for uchardet support : no ('uchardet' not found) Checking for librubberband support : no ('rubberband >= 1.8.0' not found) Checking for LCMS2 support : no ('lcms2 >= 2.6' not found) 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 : disabled Checking for SDL (1.x) : disabled Checking for OSS : yes 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 : yes Checking for CoreAudio audio output : no Checking for AudioUnit output for iOS : no Checking for WASAPI audio output : os-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 Xv video output : 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-desktop not found Checking for OpenGL/DirectX Interop Backend : gl-win32 not found Checking for OpenGL ANGLE headers : not found any of os-win32, os-cygwin Checking for OpenGL Win32 ANGLE Library : egl-angle not found Checking for OpenGL Win32 ANGLE Backend : egl-angle, win32-desktop not found Checking for VDPAU acceleration : no ('vdpau >= 0.2' not found) Checking for VDPAU with OpenGL/X11 : vdpau not found Checking for VAAPI acceleration : no ('libva >= 0.36.0' not found) Checking for VAAPI (X11 support) : vaapi not found Checking for VAAPI (Wayland support) : gl-wayland, vaapi not found Checking for VAAPI (DRM/EGL support) : vaapi, egl-drm not found Checking for VAAPI GLX : vaapi-x11 not found Checking for VAAPI EGL on X11 : vaapi-x11 not found Checking for VAAPI EGL : not found any of vaapi-wayland, vaapi-x-egl Checking for CACA : no ('caca >= 0.99.beta18' not found) Checking for JPEG support : no Checking for Direct3D support : win32-desktop not found Checking for Android support : no Checking for Raspberry Pi support : no ('bcm_host' not found) Checking for iOS OpenGL ES hardware decoding interop support : no Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static Checking for MALI via Linux fbdev : no Checking for OpenGL video outputs : yes Checking for EGL helper functions : yes Checking for FFmpeg/Libav present : yes Checking for libav* is FFmpeg : yes Checking for libav* is Libav : no Checking for Libav/FFmpeg library versions : yes Checking for libavdevice : yes Checking for libavutil GPU memcpy for hardware decoding : yes Checking for libavutil content light level struct : no Checking for libavcodec VAAPI hwaccel (FFmpeg 3.3 API) : vaapi not found Checking for libavcodec videotoolbox hwaccel (new API) : gl-cocoa not found Checking for libavcodec videotoolbox hwaccel (old API) : gl-cocoa not found Checking for libavcodec videotoolbox hwaccel : not found any of videotoolbox-hwaccel-old, videotoolbox-hwaccel-new Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found Checking for libavcodec VDPAU hwaccel (FFmpeg 3.3 API) : vdpau not found Checking for D3D11VA hwaccel (plus ANGLE) : os-win32, egl-angle not found Checking for D3D11VA hwaccel (new API) : d3d-hwaccel not found Checking for DXVA2 hwaccel (plus ANGLE) : egl-angle-win32, d3d-hwaccel not found Checking for OpenGL/DirectX Interop Backend DXVA2 interop : d3d9-hwaccel, gl-dxinterop not found Checking for CUDA hwaccel : yes Checking for GCC SSE4 intrinsics for GPU memcpy : not found any of d3d-hwaccel Checking for TV interface : disabled Checking for videoio.h : tv not found Checking for videodev2.h : tv not found Checking for Video4Linux2 TV interface : not found any of sys_videoio_h, videodev Checking for libv4l2 support : tv-v4l2 not found Checking for audio input support : not found any of tv-v4l2 Checking for DVB input module : disabled Checking for w32 executable : not found any of os-win32, os-cygwin Checking for Apple Remote support : cocoa not found Checking for macOS Touch Bar support : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (8.312s) Waf: Entering directory
/home/rich/Programme/mpv-build/mpv/build'
[213/215] Compiling version.sh
Waf: Leaving directory /home/rich/Programme/mpv-build/mpv/build' 'build' finished successfully (1.776s) Waf: Entering directory
/home/rich/Programme/mpv-build/mpv/build'
[213/227] Compiling version.sh
Your /usr/local/bin isn't in your PATH.
thank you, i added
export PATH="$PATH:/usr/local/bin"
to .bashrc but it still would not copy over mpv to /usr/local/bin .
it would compile fine with 217/217
but sudo ./build install would do only 228/229
[228/229] Linking build/mpv
oh, now i found the error,
it would be in
home/rich/Programme/mpv-build/mpv/usr/local/bin
export PATH="$PATH:/home/rich/Programme/mpv-build/mpv/usr/local/bin/"
solves it.
In the future, we might update the mpv-build scripts to support custom versions of ffmpeg and/or mpv such that it'll survive update and rebuild
We just did that. now you can do:
./use-ffmpeg-custom release/3.3 ./use-mpv-custom v0.25.0 ./update ./build
The procedure might change a bit in the future, but for now, it works.
Hello , i tried this today on Debian Jessie, but got this error
Checking for JPEG support : yes Checking for Direct3D support : win32 not found Checking for Android support : no Checking for Raspberry Pi support : no ('bcm_host' not found) Checking for iOS OpenGL ES hardware decoding interop support : no Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static Checking for MALI via Linux fbdev : no Checking for OpenGL video outputs : yes Checking for EGL helper functions : yes Checking for FFmpeg/Libav present : yes Checking for libav is FFmpeg : no Checking for libav is Libav : no Checking for Libav/FFmpeg library versions : not found any of is_ffmpeg, is_libav 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.
Thanks
Hello , i tried this today on Debian Jessie, but got this error
And did ffmpeg build successfully before starting the mpv build?
Hello ,
i had ffmpeg built manually on Debian Wheezy and it was functioning well, quite well (not so much with latest youtube-dl) but i did dist-upgrade to Debian Jessie; did download mpv-build-master and followed this routine, withouth installing ffmpeg or libav via apt-get or manually.
this is my installed ffmpeg (probably from previous debian wheezy manual build)
ffmpeg --version ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100
well, probably this ffmpeg got updated in the process (of dist-upgrade), so this is probably one big mess atm.
Try building (a specific version of) ffmpeg with mpv-build we described above, before building mpv.
thank you, i tried this today on Debian(Devuan) Jessie, and the procedure outlined above enabled me to install v.0.25 of mpv player!
hello ,
on my older laptop with lubuntu 12.04 i get segmentation fault with this version 0.25 i suppose this is because of the too new ffmpeg?
could i try also with
./use-ffmpeg-custom release/2.8 ./use-mpv-custom v0.25.0 ./update
./build
You can try whatever you want, including specifically what you posted.
You need to make sure that the version of ffmpeg matches what a specific version of mpv needs.
Note that the developers do not support versions other than the latest release or mpv-master, so you're on your own with building old versions.
Good luck.
thank you !
got it running on debian wheezy - seems more stable.
one last question: now that i have this ffmpeg version already installed with mpv, is it possible to make this a system-wide ffmpeg? how could i let recognize terminal "ffmpeg" , eg. link it to the built-version with mpv, or is this a bad idea?
You probably don't want to override your system-wide ffmpeg, especially with an old system.
However, the ffmpeg which mpv-build built is fully functional. You can either invoke it directly with path/to/ffmpeg
, or alias ffmpeg
to to the one which you built with mpv-build. It's located inside the mpv-build directory, probably somewhere inside the ffmpeg
directory.
so i am wondering if i can use the ffmpeg inside the mpv-build as the system-wide one? i used to use this guide here from https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
through wayback machine to install an older version of ffmpeg , but still fairly recent, for debian wheezy, but using the ffmpeg from inside mpv-build would allow me to save time and circumvent the need to compile it again myself.
normally i just use it with youtube-dl , like
youtube-dl --extract-audio --audio-format mp3
and ffmpeg does the trick.
Hello ,
how can i download an mpv-build for an earlier release of mpv (eg. version 0.25. or 0.26) instead of the latest master?
thank you very much.