Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chainikdn opened this issue Jul 7, 2020 · 8 comments
Open

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

chainikdn opened this issue Jul 7, 2020 · 8 comments
Labels
enhancement low priority PatchRequired Idea approved / bug confirmed. Now we just need someone to implement it... wontfix

Comments

@chainikdn
Copy link

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
Copy link
Owner

clsid2 commented Jul 7, 2020

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

@clsid2 clsid2 added enhancement PatchRequired Idea approved / bug confirmed. Now we just need someone to implement it... low priority wontfix labels Jul 7, 2020
@chainikdn
Copy link
Author

I must mention that it works in MPC-BE.

@clsid2
Copy link
Owner

clsid2 commented Aug 27, 2020

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

@clsid2 clsid2 closed this as completed Sep 29, 2020
@OscarL
Copy link

OscarL commented Mar 26, 2021

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
Copy link
Owner

clsid2 commented Mar 26, 2021

I just tested and it is working here.

@OscarL
Copy link

OscarL commented Mar 26, 2021

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
Copy link
Owner

clsid2 commented Mar 26, 2021

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

@adipose
Copy link

adipose commented Nov 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement low priority PatchRequired Idea approved / bug confirmed. Now we just need someone to implement it... wontfix
Projects
None yet
Development

No branches or pull requests

4 participants