When I install ffmpeg, there is no ffplay installed along with it. Using --with-ffplay does not help either.
I have an up-to-date brew and already tried brew reinstall ffmpeg --with-ffplay. My logs are here.
What I have under /usr/local/bin is this:
lrwxr-xr-x 1 werner admin 35 Dec 7 07:12 /usr/local/bin/ffescape -> ../Cellar/ffmpeg/3.2.1/bin/ffescape
lrwxr-xr-x 1 werner admin 33 Dec 7 07:12 /usr/local/bin/ffeval -> ../Cellar/ffmpeg/3.2.1/bin/ffeval
lrwxr-xr-x 1 werner admin 33 Dec 7 07:12 /usr/local/bin/ffhash -> ../Cellar/ffmpeg/3.2.1/bin/ffhash
lrwxr-xr-x 1 werner admin 33 Dec 7 07:12 /usr/local/bin/ffmpeg -> ../Cellar/ffmpeg/3.2.1/bin/ffmpeg
lrwxr-xr-x 1 werner admin 34 Dec 7 07:12 /usr/local/bin/ffprobe -> ../Cellar/ffmpeg/3.2.1/bin/ffprobe
lrwxr-xr-x 1 werner admin 35 Dec 7 07:12 /usr/local/bin/ffserver -> ../Cellar/ffmpeg/3.2.1/bin/ffserver
I'm not sure I understand why --with-ffplay is marked as deprecated, but the make alltools line in my build output suggests that it should be installed along with ffmpeg.
The correct option is now --with-sdl2 but the --with-ffplay ought to work, so that's quite weird.
Ahah, running brew update --force now gives me a new formula version. But still no dice when reinstalling.
My new logs are here.
what's in the preexisting INSTALL_RECEIPT.json?
{"used_options":["--with-fdk-aac","--with-libass","--with-libsoxr","--with-libssh","--with-libvidstab","--with-opencore-amr","--with-openjpeg","--with-openssl","--with-rtmpdump","--with-schroedinger","--with-snappy","--with-tools","--with-webp","--with-x265","--with-zeromq","--with-fontconfig","--with-freetype","--with-frei0r","--with-libbluray","--with-libbs2b","--with-libcaca","--with-libvorbis","--with-libvpx","--with-opus","--with-speex","--with-theora"],"unused_options":["--with-libebur128","--with-tesseract","--with-openh264","--with-rubberband","--with-sdl2","--with-xz","--with-zimg","--without-lame","--without-qtkit","--without-securetransport","--without-x264","--without-xvid","--with-game-music-emu","--with-libgsm","--with-libmodplug","--with-two-lame","--with-wavpack"],"built_as_bottle":false,"poured_from_bottle":false,"changed_files":null,"time":1481113866,"source_modified_time":1480980538,"HEAD":"0f529dae1043639058130092cf35e68d18907cb8","stdlib":null,"compiler":"clang","runtime_dependencies":[{"full_name":"pkg-config","version":"0.29.1"},{"full_name":"gettext","version":"0.19.8.1"},{"full_name":"lame","version":"3.99.5"},{"full_name":"x264","version":"r2708"},{"full_name":"xvid","version":"1.3.4"},{"full_name":"fdk-aac","version":"0.1.4"},{"full_name":"libpng","version":"1.6.26"},{"full_name":"freetype","version":"2.7"},{"full_name":"fontconfig","version":"2.12.1"},{"full_name":"autoconf","version":"2.69"},{"full_name":"frei0r","version":"1.4"},{"full_name":"libffi","version":"3.0.13"},{"full_name":"pcre","version":"8.39"},{"full_name":"glib","version":"2.50.2"},{"full_name":"fribidi","version":"0.19.7"},{"full_name":"pixman","version":"0.34.0"},{"full_name":"cairo","version":"1.14.6"},{"full_name":"gobject-introspection","version":"1.50.0"},{"full_name":"icu4c","version":"58.1"},{"full_name":"harfbuzz","version":"1.3.4"},{"full_name":"libass","version":"0.13.4"},{"full_name":"libbluray","version":"0.9.3"},{"full_name":"flac","version":"1.3.1"},{"full_name":"libogg","version":"1.3.2"},{"full_name":"libvorbis","version":"1.3.5"},{"full_name":"libsndfile","version":"1.0.26"},{"full_name":"libbs2b","version":"3.1.0"},{"full_name":"libcaca","version":"0.99b19"},{"full_name":"libsoxr","version":"0.1.2"},{"full_name":"openssl","version":"1.0.2j"},{"full_name":"libssh","version":"0.7.3"},{"full_name":"libvidstab","version":"0.98b"},{"full_name":"libvpx","version":"1.6.0"},{"full_name":"opencore-amr","version":"0.1.3"},{"full_name":"jpeg","version":"8d"},{"full_name":"libtiff","version":"4.0.7"},{"full_name":"little-cms2","version":"2.8"},{"full_name":"openjpeg","version":"2.1.2"},{"full_name":"opus","version":"1.1.3"},{"full_name":"rtmpdump","version":"2.4+20151223"},{"full_name":"orc","version":"0.4.26"},{"full_name":"schroedinger","version":"1.0.11"},{"full_name":"snappy","version":"1.1.3"},{"full_name":"speex","version":"1.2rc1"},{"full_name":"theora","version":"1.1.1"},{"full_name":"webp","version":"0.5.1"},{"full_name":"x265","version":"2.1"},{"full_name":"docbook","version":"5.0"},{"full_name":"docbook-xsl","version":"1.79.1"},{"full_name":"gnu-getopt","version":"1.1.6"},{"full_name":"zeromq","version":"4.2.0"}],"source":{"path":"/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ffmpeg.rb","tap":"homebrew/core","spec":"stable","versions":{"stable":"3.2.2","devel":null,"head":"HEAD","version_scheme":0}}}
So the options seem to be there.
Yup. But no --with-ffplay, --with-sdl2, or --with-sdl in there, and it seems that reinstall drops deprecated options.
brew reinstall --with-sdl2 ffmpeg
should work.
Ah, I didn't see it was under unused options. Thanks for your help – it works now.
So there's a bug in brew not using the deprecated option when it says it does. I'll leave the bug report open for now, as this is what would still cause problems for other users when they want to update.
To be more precise, brew says:
Warning: ffmpeg: --with-ffplay was deprecated; using --with-sdl2 instead!
When in fact it is not using --with-sdl2.
So there's a bug in brew not using the deprecated option when it says it does.
Yep. We're validating options are actually options we know about and throwing out the ones that aren't before converting the deprecated ones to their current non-deprecated equivalents.
Thank you for reporting this.
Why is --with-ffplay deprecated if all I want is to install ffplay? I didn't get it...
(I just needed to play a bunch of dumped images.)
That’s a sad story. Yet it’s history, and we have to live with.
Most helpful comment
The correct option is now
--with-sdl2but the--with-ffplayought to work, so that's quite weird.