Remove support for ffmpeg-mpv

This commit is contained in:
Rostislav Pehlivanov 2017-12-05 08:25:00 +00:00
parent a743fef837
commit f19797dea6
5 changed files with 13 additions and 35 deletions

View File

@ -731,7 +731,7 @@ Video
FFmpeg decoders for file parsing. Experimental, is known not to correctly FFmpeg decoders for file parsing. Experimental, is known not to correctly
check whether decoding is supported by the hardware at all. Deinterlacing check whether decoding is supported by the hardware at all. Deinterlacing
is not supported. Since this uses FFmpeg's codec parsers, it is expected is not supported. Since this uses FFmpeg's codec parsers, it is expected
that this generally causes fewer issues than ``cuda``. Requires ffmpeg-mpv. that this generally causes fewer issues than ``cuda``.
Most video filters will not work with hardware decoding as they are Most video filters will not work with hardware decoding as they are
primarily implemented on the CPU. Some exceptions are ``vdpaupp``, primarily implemented on the CPU. Some exceptions are ``vdpaupp``,

View File

@ -100,7 +100,7 @@ Essential dependencies (incomplete list):
libGL, GLX, EGL, xv, ...) libGL, GLX, EGL, xv, ...)
- Audio output development headers (libasound/ALSA, pulseaudio) - Audio output development headers (libasound/ALSA, pulseaudio)
- FFmpeg libraries (libavutil libavcodec libavformat libswscale libavfilter - FFmpeg libraries (libavutil libavcodec libavformat libswscale libavfilter
and either libswresample or libavresample) from ffmpeg-mpv or Libav and either libswresample or libavresample)
- zlib - zlib
- iconv (normally provided by the system libc) - iconv (normally provided by the system libc)
- libass (OSD, OSC, text subtitles) - libass (OSD, OSC, text subtitles)
@ -126,11 +126,10 @@ FFmpeg dependencies:
- Libav also works, but some features will not work. (See section below.) - Libav also works, but some features will not work. (See section below.)
Most of the above libraries are available in suitable versions on normal Most of the above libraries are available in suitable versions on normal
Linux distributions. However, FFmpeg is an exception - [ffmpeg-mpv][ffmpeg-mpv] Linux distributions. For ease of compiling the latest git master of everything,
or Libav git master is required. For that reason you may want to use you may wish to use the separately available build wrapper ([mpv-build][mpv-build])
the separately available build wrapper ([mpv-build][mpv-build]) that first which first compiles FFmpeg libraries and libass, and then compiles the player
compiles FFmpeg libraries and libass, and then compiles the player statically statically linked against those.
linked against those.
If you want to build a Windows binary, you either have to use MSYS2 and MinGW, If you want to build a Windows binary, you either have to use MSYS2 and MinGW,
or cross-compile from Linux with MinGW. See or cross-compile from Linux with MinGW. See
@ -145,17 +144,6 @@ of both FFmpeg and Libav. But FFmpeg is preferred, and some mpv features work
with FFmpeg only (subtitle formats in particular). with FFmpeg only (subtitle formats in particular).
## Preferred FFmpeg version
Only [ffmpeg-mpv][ffmpeg-mpv] is supported. Upstream FFmpeg can be forced by
passing a certain switch to configure, but compilation or runtime behavior
might be broken at times.
_If_ you force upstream FFmpeg, and it doesn't work, please contact upstream
FFmpeg for help, instead of mpv. See
[FFmpeg contact](http://ffmpeg.org/contact.html#MailingLists) on how to contact
FFmpeg upstream.
## FFmpeg ABI compatibility ## FFmpeg ABI compatibility
mpv does not support linking against FFmpeg versions it was not built with, even mpv does not support linking against FFmpeg versions it was not built with, even
@ -246,4 +234,3 @@ only if discretion is required.
[api-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst [api-changes]: https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst
[restore-old-bindings]: https://github.com/mpv-player/mpv/blob/master/etc/restore-old-bindings.conf [restore-old-bindings]: https://github.com/mpv-player/mpv/blob/master/etc/restore-old-bindings.conf
[contribute.md]: https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md [contribute.md]: https://github.com/mpv-player/mpv/blob/master/DOCS/contribute.md
[ffmpeg-mpv]: https://github.com/mpv-player/ffmpeg-mpv

View File

@ -27,9 +27,9 @@ pacman -S --noconfirm --needed \
# Delete unused packages to reduce space used in the Appveyor cache # Delete unused packages to reduce space used in the Appveyor cache
pacman -Sc --noconfirm pacman -Sc --noconfirm
# Compile ffmpeg-mpv # Compile ffmpeg
( (
git clone --depth=1 https://github.com/mpv-player/ffmpeg-mpv.git && cd ffmpeg-mpv git clone --depth=1 https://git.ffmpeg.org/ffmpeg.git && cd ffmpeg
mkdir build && cd build mkdir build && cd build
../configure \ ../configure \

View File

@ -93,7 +93,7 @@ class Libav < TravisDepsBuilder
}, },
"ffmpeg-git" => { "ffmpeg-git" => {
:action => :git, :action => :git,
:url => "git://github.com/mpv-player/ffmpeg-mpv.git" :url => "git://git.ffmpeg.org/ffmpeg.git"
} }
} }
end end

17
wscript
View File

@ -444,15 +444,8 @@ libav_dependencies = [
'req': True, 'req': True,
'fmsg': "FFmpeg/Libav development files not found.", 'fmsg': "FFmpeg/Libav development files not found.",
}, { }, {
'name': 'ffmpeg-mpv', 'name': 'ffmpeg',
'desc': 'libav* is FFmpeg mpv modified version', 'desc': 'libav* is FFmpeg',
'func': check_statement('libavcodec/version.h',
'int x[LIBAVCODEC_MPV ? 1 : -1]',
use='libavcodec')
}, {
'name': '--ffmpeg-upstream',
'deps': '!ffmpeg-mpv',
'desc': 'libav* is upstream FFmpeg (unsupported)',
# FFmpeg <=> LIBAVUTIL_VERSION_MICRO>=100 # FFmpeg <=> LIBAVUTIL_VERSION_MICRO>=100
'func': check_statement('libavcodec/version.h', 'func': check_statement('libavcodec/version.h',
'int x[LIBAVCODEC_VERSION_MICRO >= 100 ? 1 : -1]', 'int x[LIBAVCODEC_VERSION_MICRO >= 100 ? 1 : -1]',
@ -470,13 +463,11 @@ libav_dependencies = [
}, { }, {
'name': 'libav-any', 'name': 'libav-any',
'desc': 'Libav/FFmpeg library versions', 'desc': 'Libav/FFmpeg library versions',
'deps': 'ffmpeg-mpv || ffmpeg-upstream || libav', 'deps': 'ffmpeg || libav',
'func': check_ffmpeg_or_libav_versions(), 'func': check_ffmpeg_or_libav_versions(),
'req': True, 'req': True,
'fmsg': "Unable to find development files for some of the required \ 'fmsg': "Unable to find development files for some of the required \
FFmpeg/Libav libraries. You need git master. For FFmpeg, the mpv fork, that \ FFmpeg/Libav libraries. Git master is recommended."
might contain additional fixes and features is required. It is available on \
https://github.com/mpv-player/ffmpeg-mpv Aborting."
}, { }, {
'name': '--libavdevice', 'name': '--libavdevice',
'desc': 'libavdevice', 'desc': 'libavdevice',