Coder Social home page Coder Social logo

Comments (7)

jacobbernheim avatar jacobbernheim commented on August 14, 2024 1

I just checked. It works great now. Thanks so much for your help!

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

Media creation depends on mpv's built-in encoder. In some versions of mpv it may be missing, which is most likely why this error occurs for some users. In the readme you can find instructions for checking whether your version of mpv has the encoder or not.

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

I'm going to copy the instructions here.

Try running this command in a terminal.

$ mpv 'test_video.mkv' --loop-file=no --frames=1 -o='test_image.jpg'

Replace test_video.mkv with a valid path.

If you get an error, you need to find and install a different build of mpv that has the built-in encoder.

from mpvacious.

jacobbernheim avatar jacobbernheim commented on August 14, 2024

Thank you for the quick response. The shell command to test this isn't running for me. It says "command not found: mpv". I wasn't sure if adding mpv to path would make it possible. I had added the /.config/mpv directory to my path variable but I wasn't sure if that was what it meant.

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

The directory containing the mpv executable file should be added to PATH. On GNU/Linux this is achieved by editing ~/.profile, I assume the process is similar on a Mac.

from mpvacious.

jacobbernheim avatar jacobbernheim commented on August 14, 2024

I was able to run it. This was the output I got:
Screen Shot 2021-06-12 at 11 33 11 PM

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

If you have the image generated successfully, media generation should work fine from now on as long as you keep mpv in PATH.

from mpvacious.

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.