Giter Site home page Giter Site logo

Comments (9)

stax76 avatar stax76 commented on May 23, 2024 1

My command line did not work because I used PowerShell instead of CMD.

mpv.net did a file exist check, that's why stdin don't work, it will work in the next release. :-)

from mpv.net.

stax76 avatar stax76 commented on May 23, 2024 1

New release is online. Thanks for the feedback.

from mpv.net.

stax76 avatar stax76 commented on May 23, 2024

You mean following project?

https://streamlink.github.io/

I would need more detail like a command line or URL.

from mpv.net.

TETYYS avatar TETYYS commented on May 23, 2024

Yes, but I believe the issue is that mpvnet doesn't accept any stdin input. For example:

ffmpeg -i video.mp4 -c:v copy -c:a copy -f matroska - | mpvnet - doesn't work, but works fine for mpv (just replace mpvnet with mpv), tested on WSL command line.

from mpv.net.

stax76 avatar stax76 commented on May 23, 2024

It might not be possible to implement due to limitations of the Windows OS, I'll investigate it, thanks for the feedback.

from mpv.net.

TETYYS avatar TETYYS commented on May 23, 2024

I run Windows and it works fine with mpv.

from mpv.net.

stax76 avatar stax76 commented on May 23, 2024

That was fast, mpv has two executables, one for the console (mpv.com) and one for the windowing system (mpv.exe), probably they communicate via json ipc, I think that somewhere in the mpv documentation it is mentioned that this split is only needed on windows and Linux can do it together without a split.

from mpv.net.

stax76 avatar stax76 commented on May 23, 2024

All my attempts to make mpv work with input from stdin failed today. :(

from mpv.net.

TETYYS avatar TETYYS commented on May 23, 2024

Powershell is kinda bad with piping, that's why I used WSL. Classic cmd works too, for this exact command line at least: ffmpeg -i "any video.mp4" -c:v copy -c:a copy -f matroska - | mpv - (requires ffmpeg and mpv in PATH)

from mpv.net.

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.