clsid2 / mpc-hc

Media Player Classic
GNU General Public License v3.0
11.47k stars 499 forks source link

Subtitles doesn't load by URL via /sub command-line arg #526

Open chainikdn opened 4 years ago

chainikdn commented 4 years ago

i.e. mpc-hc.exe video-url /dub audio-url /sub subs-url subtitles stream doesn't load at all, tried with VTT from youtube and SSA from crunchyroll

clsid2 commented 4 years ago

Only local subtitle files are supported. I have no plans to change that.

wget subs-url -o %temp%\subfile.srt
mpc-hc.exe video-url /dub audio-url /sub %temp%\subfile.srt
chainikdn commented 4 years ago

I must mention that it works in MPC-BE.

clsid2 commented 4 years ago

Test if it works with latest development build: https://github.com/clsid2/mpc-hc/releases/tag/1.9.7.34

OscarL commented 3 years ago

I can't make the following work:

> wget subs-url -o %temp%\subfile.vtt
> mpc-hc.exe video-url /sub %temp%\subfile.vtt

While using 1.9.10.44.

It does not loads the locally downloaded subtitle.

If I drag and drop the subtitle file while the stream is playing, MPC-HC shows it correctly.

clsid2 commented 3 years ago

I just tested and it is working here.

OscarL commented 3 years ago

For what its worth, this is the exact command line I'm using:

>"C:\Program Files\MPC-HC\mpc-hc64.exe" https://www.youtube.com/watch?v=b0zxIfJJLAY /sub R:\temp-sub.en.vtt

I've downloaded the subtitle by using youtube-dl.exe --write-auto-sub --skip-download <URL>

Retested to make sure... It doesn't shows the subtitle, and in the context-menu, the "subtitle track" appears disabled.

Drag and drop... the subtitle appears. If you can't reproduce it with that particular command line... well, not much to do, I guess.

Let me thank you again for your work on this much beloved program!

clsid2 commented 3 years ago

With that URL it doesn't work. Probably related to the indirection of youtube-dl processing.

adipose commented 2 weeks ago

Question: is this issue still present and subpar to mpc-be? I see some improvements were made and the issue is 4 years old.