Coder Social home page Coder Social logo

Fails to encode about mpv-webm HOT 7 OPEN

ekisu avatar ekisu commented on May 28, 2024
Fails to encode

from mpv-webm.

Comments (7)

ekisu avatar ekisu commented on May 28, 2024 1

Actually, this revealed a somewhat bigger issue regarding to speeding up the encoded video. I can't find any combination of setpts, atempo and sub-speed that, together with the --start and --end options, results in a correctly synced and positioned output video. i'm going insane

@bluefiberbread Logs?

from mpv-webm.

ekisu avatar ekisu commented on May 28, 2024
[   7.930][v][webm] "[ffmpeg] filter: Value 3.000000 for parameter 'tempo' out of range [0.5 - 2]"
[   7.930][v][webm] "[lavfi] Could not set AVOption tempo='3' (Result too large)" 

Looking into it.

from mpv-webm.

bluefiberbread avatar bluefiberbread commented on May 28, 2024

Nothing happens if I try to encode something longer than 5 seconds too

nevermind, enabling "strict filesize constraint" causes nothing to happen when trying to encode something

from mpv-webm.

bluefiberbread avatar bluefiberbread commented on May 28, 2024

No log file is generated when I try to encode with "strict filesize constraint" :/

This is what I'm using https://pastebin.com/mScr8HCT

from mpv-webm.

ekisu avatar ekisu commented on May 28, 2024

@bluefiberbread Check latest build, should be fixed.

from mpv-webm.

bluefiberbread avatar bluefiberbread commented on May 28, 2024

thanks for the quick fix m8

from mpv-webm.

XLR-XR avatar XLR-XR commented on May 28, 2024

It turns out the macOS Homebrew devs decided to go full retard and removed the ability to build software with additional options. As a result, my previously functional ffmpeg & mpv have "updated" to neutered versions with missing features, which explains why this script worked for me ~9 months ago but not today. I am absolutely livid about this, and hopefully anyone encountering issues in the future will complain to Mike McQuaid and the rest of the devs behind this positively asinine decision.

To fix this script and others like it:
brew uninstall mpv

Open the Homebrew mpv formula in a text editor:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpv.rb

Replace everything with this & save: https://pastebin.com/9AcsfVWY
brew install --build-from-source mpv

If you desire, download & place the precompiled binary in your Applications folder.
Enjoy until it doesn't work anymore.

from mpv-webm.

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.