Comments (3)
Mpv on bionic does not support the --vf=scale=128:128/dar option syntax. I had to remove "/dar" from the option to make it work. As I could not locate any documentation about /dar I cannot provide a clean fix. I presume /dar refers to the display aspect ratio, and in fact thumbnails look compressed as a result. I could not find an equivalent setting for bionic's mpv (--vf=scale=128:-2 comes close but produces oversized icons for portrait mode videos).
I added that dar over two years ago to fix the aspect ratio in some cases, I think it was "anamorphic" videos where the container metadata contains the true display aspect ratio. So, your fix should be good if you need compatibility with a really old mpv.
On Debian and Ubuntu, the Gnome install path is /usr/bin, so the install script and the .thumbnailer file need tweaking to remove '/local' from all paths. With the bubblewrap security, symlinks are not sufficient.
If you set the PREFIX in the install command, it should install under /usr if that's what you like.
make
make PREFIX=/usr install
from mpv-thumbnailer.
Thanks for your quick response!
Could you point me towards online documentation for the "/dar" option to the scale video filter? I could not find it anywhere...
Sorry for scribbling these "notes to self" in the issue tracker :-) I'll see if I can add build support for Debian and Ubuntu and submit a proper pull request. Rust is new to me, but adding a command line flag to tweak the mpv command line will be an interesting exercise.
from mpv-thumbnailer.
I think mpv in some way uses ffmpeg's filters, so the documentation is there.
https://ffmpeg.org/ffmpeg-filters.html#Options-1
If you're thinking of some kind of a fix, I recommend just forking the code. Ubuntu 18.04 is already old, it's not the latest LTS, I don't want to include any work arounds for an old OS.
from mpv-thumbnailer.
Related Issues (2)
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-thumbnailer.