Giter VIP home page Giter VIP logo

Comments (5)

SemperPeritus avatar SemperPeritus commented on May 25, 2024 1

Solution, a little dirty:
Change ffmpeg and/or mpv in the ...server file to /opt/homebrew/bin/ffmpeg and/or /opt/homebrew/bin/mpv.

from mpv_thumbnail_script.

nvcken avatar nvcken commented on May 25, 2024

Change to this then it works, but don't know why only work with ffmpeg instead of mpv built-in, How can I open console detail ?
prefer_mpv=no

from mpv_thumbnail_script.

paulrudy avatar paulrudy commented on May 25, 2024

This is the same for me. prefer_mpv=no seems to be required in mpv_thumbnail_script.conf. Both ffmpeg and mpv are in PATH.

from mpv_thumbnail_script.

SemperPeritus avatar SemperPeritus commented on May 25, 2024

mpv installed by brew install mpv --cask can't generate thumbnails if open from Finder (Thumbnailing failed, check console details). But if I open file from terminal, everything works fine.
@nvcken Probably, you are right. Something wrong with PATH or virtual environment. I'm not sure how brew works, but I suppose it's similar to pip or may be even docker in Linux. I'm new in Mac OS world, so I'm not sure.
I will check the details in the next few days and write here.

from mpv_thumbnail_script.

SemperPeritus avatar SemperPeritus commented on May 25, 2024

After changing prefer_mpv to false I got the error that ffmpeg can't be found. After adding /opt/homebrew/bin to the path variable in server script I got the new error. Thumbnails still does not generates. whoami and touch launched from subprocess works fine. I have all permissions in "thumbnails folders" and have ffmpeg in the path variable. But it returns status -3 with empty stdout event after changing the loglevel. I run the same command from logs in command line and it works fine. So, probably it is a problem with brew dependencies installed by cask. All other subprocesses runs fine from mpv launched from Finder.

from mpv_thumbnail_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.