Comments (6)
Please post the output of ffmpeg -version
and mpv --version
. Also, the homebrew install command for ffmpeg should have --with-libvpx
as a flag. Some users tried running brew install libvpx
as well (see the comments).
I suspect either mpv is using an static build of ffmpeg, or the ffmpeg build you are using isn't the one you installed with homebrew. I really don't know how these things work on macOS (.app bundling, static/dynamic linkage etc), so I can't help much on this.
Also, at the time #2 was opened, there was a bug that when libvpx-vp9
was used as a codec, the threads
flag wouldn't be set (fixed in 1f1245c). That might be why using it worked, as there's was an issue with VP8 and threads > 1.
from mpv-webm.
~ $ffmpeg -version
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libass --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-nonfree
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
~ $mpv --version
mpv 0.28.1 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
built on Wed Feb 14 02:09:51 CET 2018
ffmpeg library versions:
libavutil 56.7.101
libavcodec 58.11.101
libavformat 58.9.100
libswscale 5.0.101
libavfilter 7.12.100
libswresample 3.0.101
ffmpeg version: git-2018-02-14-dc77e64
Also, the homebrew install command for ffmpeg should have
--with-libvpx
It does. I installed ffmpeg with --with-libvpx
Some users tried running brew install libvpx as well (see the comments)
libvpx is already installed.
~ $brew install libvpx
Warning: libvpx 1.7.0 is already installed
ffmpeg can use it just fine.
from mpv-webm.
See how the libav*
versions differ from the ffmpeg and mpv binaries. mpv isn't using your system ffmpeg libs.
Also, your mpv version reports 0.28.1, but the brew recipe you linked is on 0.27.2.
I don't have any specific insights on this, maybe mpv is using a static ffmpeg build (that ffmpeg version: git-2018-02-14-dc77e64
is really suspicious).
from mpv-webm.
Also, your mpv version reports 0.28.1, but the brew recipe you linked is on 0.27.2.
Thank you for pointing that out. I was indeed running two versions of mpv - one built within Homebrew & a precompiled binary in /Applications. My solution was to do a complete uninstall of all versions of mpv & re-build it with the same Brew command mentioned above. After the install, brew linkapps mpv
placed a binary alias in /Applications.
Thanks for your patience.
from mpv-webm.
Glad it worked out. Just for the record, can you reproduce #2? As in, when you launch mpv via Finder, does the encode fail?
from mpv-webm.
Encodes work fine when launched from Finder, and they also work when launched from the command line.
from mpv-webm.
Related Issues (20)
- keybind doesnt work HOT 1
- Crop error on videos containing landscape-rotated iOS screen recordings HOT 1
- [Request] Encode speed option HOT 2
- the player freezes when using sub-scale in combinations of keys together with sub-ass-override
- coding error when displaying progress (revision of the installation instructions)
- [Request] Apply GLSL shaders to output
- Slightly off colors in generated webm
- %04n output_template naming HOT 1
- [Request] Update the FFMPEG branch to contain the new features
- mpv-webm with mpv.net: `Command failed! Reason: init` HOT 3
- webm conversion fails when going from 4:2:2 to 4:2:0 subsampling
- There are no subtitles in the generated GIF
- Encode fails in GIF format HOT 3
- Lua error: <eof> expected near 'mp' HOT 3
- srt subtitle style
- active fork or alternative HOT 1
- Subtitles are missing when watching the preview
- Feature Request: Automatic log cleanup and/or set log directory.
- Encode fails if source video file is located on a NAS and display_progress=yes
- Encode fails when MP4 or MP3 codes are selected on MacOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-webm.