Coder Social home page Coder Social logo

Comments (1)

Vergenter avatar Vergenter commented on May 31, 2024 2

Hello,

As a contributor who implemented the change to use Windows' mpv.exe for video playback with ani-cli under WSL, I wanted to clarify the rationale behind this approach:

Why Use Windows' mpv.exe with ani-cli in WSL:

  • Stability & Performance: Running GUI Linux applications like mpv in WSL can lead to stability issues. Using Windows' native mpv.exe ensures a smoother video playback experience.
  • Practicality: This workaround leverages the strengths of both environments—ani-cli for fetching streams in WSL and Windows for reliable playback—without the need for complex configurations or additional code to address compatibility issues.

How to use it:

  • Install mpv.exe on Windows.
  • Install ani-cli on wsl
  • Enjoy stable video playback using the best tools from both WSL and Windows.

This solution is designed to optimize the user experience by providing a practical and stable setup for enjoying videos with ani-cli. Your understanding and support in this matter are greatly appreciated.

To revert this change it is enough to remove from ani-cli | *WSL2* in two places.

ani-cli/ani-cli

Line 303 in 0a00507

*MINGW* | *WSL2*) player_function="${ANI_CLI_PLAYER:-mpv.exe}" ;; # Windows OS

ani-cli/ani-cli

Line 325 in 0a00507

MINGW* | *WSL2*) player_function="vlc.exe" ;;

Pull request for context: #1190

from ani-cli.

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.