0

I'm trying to run a bat from Linux via ssh to open a video in the mpv player on Windows 10:

video.bat

u/echo off

mpv c:\video.mp4

pause

If I run this .bat from the windows machine itself it runs it fine and opens the mpv player window and shows the video, but when I try to run it via ssh from the linux machine it doesn't open any windows and just shows the sound of the video. In the console it shows this message:

[vo/gpu/d3d11] Failed to create swapchain: A resource is not available at the time of the call, but may be later. (0x887a0022)

That could be happening?

PlayerWet
  • 419
  • 5
  • 18
  • 1
    `u/echo off` is not a valid command, and the `pause` seems unnecessary. What's wrong wth just `@start mpv c:\video.mp4`. That said, if you're just wanting to run an executable with an argument string, why do you need a batch file at all? – Compo Oct 15 '22 at 15:04

0 Answers0