External subtitles are not loaded correctly when streaming using an external player
#1
I am using mpv to play a video on jellyfin and it does not display external subtitles
With the built-in player it does
Reply
#2
(2020-12-15, 09:23)nhysteric Wrote: With the built-in player it does

That's all nice, but hardly enough information to work with.
- Which operating system
- Which software version(s)
- What type of external subtitle

Sorry, but our crystal ball is too foggy at this moment for immediate answers.
Reply
#3
How is this a Kodi problem if it works with the internal player? Sounds like you need to check that mpv is configured correctly.
Reply
#4
(2020-12-15, 10:10)Klojum Wrote:
(2020-12-15, 09:23)nhysteric Wrote: With the built-in player it does

That's all nice, but hardly enough information to work with.
- Which operating system
- Which software version(s)
- What type of external subtitle

Sorry, but our crystal ball is too foggy at this moment for immediate answers.
OS: Windows 10 20H2
Software version: v18.8-Leia
External subtitle:ass srt neither
Reply
#5
(2020-12-15, 11:22)jjd-uk Wrote: How is this a Kodi problem if it works with the internal player? Sounds like you need to check that mpv is configured correctly.

I'm curious if kodi passes on the subtitle files when using the external player
I used vlc as a test and it didn't work either
I don't know if this is an isolated case
Reply
#6
(2020-12-15, 12:14)nhysteric Wrote: External subtitle:ass srt neither

And does MPV play the video's subtitles when started on its own?

You're not very forthcoming with details, are you? Because it's not as if we are sitting next to you, seeing all what you have or haven't done already.
What does your playercorefactory.xml file contain?
Reply
#7
(2020-12-15, 12:17)nhysteric Wrote:
(2020-12-15, 11:22)jjd-uk Wrote: How is this a Kodi problem if it works with the internal player? Sounds like you need to check that mpv is configured correctly.

I'm curious if kodi passes on the subtitle files when using the external player
I used vlc as a test and it didn't work either
I don't know if this is an isolated case

All Kodi does is pass on the location of the video file then whatever external player opens it directly so the files don't pass through Kodi at all, so it's up to the external player to load any associated files such as subs.
Reply
#8
(2020-12-15, 12:20)Klojum Wrote:
(2020-12-15, 12:14)nhysteric Wrote: External subtitle:ass srt neither

And does MPV play the video's subtitles when started on its own?

You're not very forthcoming with details, are you? Because it's not as if we are sitting next to you, seeing all what you have or haven't done already.
What does your playercorefactory.xml file contain?
Sorry I don't know how to use mpv to open the streaming service directly in my nas, but if it's via a protocol like WebDAV and smb, yes, mpv will correctly load the subtitle file with the same name as the video file in the same directory.
My playercorefactory.xml file:
xml:
<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
  <players>
    <player name="mpv" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\mpv\mpv.exe</filename>
    <hidexbmc>true</hidexbmc>
    <args>—log-file=D:\log.txt "{1}"</args>
    </player>
  </players>
  <rules action="prepend">
    <rule video="true" player="mpv">
    </rule>
  </rules>
</playercorefactory>
Reply
#9
Hello everybody,

I am using this thread as i am encountering a similar issue.
I use MPC-BE as an external player as it is the only way to play videos with MadVR from Kodi (i also use the Composite plugin to get my Plex library inside Kodi but this is unrelated to the topic).
When videos use SRT external subtitles, MPC-BE does not show them.
What is strange is the same subs are displayed when MPC-BE is launched outside Kodi!
I don't see any logic in here. My playercorefactory.xml is as follows:

<playercorefactory>
<players>
<player name="MPC-BE" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|vob|bdmv|iso" player="MPC-BE">
<rule protocols="http|https" player="MPC-BE"/>
<rule protocols="daap|rtv|rtsp|rtmp|rtmpe|rtsp|mms|rtp|pvr" player="VideoPlayer"/>
</rule>
</rules>
</playercorefactory>

Thanks for your help!
Reply

Logout Mark Read Team Forum Stats Members Help
External subtitles are not loaded correctly when streaming using an external player0