Jump to content

Emby Theatre - suggestions revolving around external player usage


blei

Recommended Posts

Guest asrequested

I wonder if the brackets are causing an issue. In that log, the sub isn't present at all. Try removing the [anti-raws] and [bDRemux], from both files. Run a library scan, and try again.

Link to comment
Share on other sites

They're kinda big. The video in itself is over 300 MB.

 

You're going to have to remove the .txt extension.\

 

(removed files)

Edited by blei
Link to comment
Share on other sites

On an interesting note, I was able to play (on Emby Theater) a video with an external .srt subtitle file just fine.

Link to comment
Share on other sites

I've placed the updater.bat and updater.ps1 into "C:\Users\blei\AppData\Roaming\Emby-Theater\system\x64\mpv", ran the updater.bat, and same issue. No subtitles.

 

To confirm a newer mpv.exe was downlaoded, I renamed the mpv.exe to mpv2.exe, re-ran updater.bat, and saw that a new mpv.exe was created.

 

I also just tried to run Emby Theater as an Admin, and that didn't do anything either.

 

Attaching logs with newer mpv.

[   6.971][e][cplayer] Can not open external file http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/8e88e3c51121839b8122250d771ee883/Subtitles/2/0/Stream.ass?api_key=418175e267554156a46facf1807b6235.

I mean, I tried opening that on Chrome incognito and it was fine.

mpv.log

Link to comment
Share on other sites

Guest asrequested

Put the files on the same machine as Theater, double click the mpv.exe, and drop the video on it. Does it give you the subs?

Link to comment
Share on other sites

Here's something I just tried out; I ran mpv directly with params + the "-v" option and saw this:

[cplayer] Opening done: http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/stream.mkv?Static=true&mediaSourceId=8e88e3c51121839b8122250d771ee883&deviceId=Fractal&api_key=418175e267554156a46facf1807b6235&Tag=d00d29a7256ddd9002abfe5a0d3a2ca8
[ffmpeg] Opening http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/8e88e3c51121839b8122250d771ee883/Subtitles/2/0/Stream.ass?api_key=418175e267554156a46facf1807b6235
[ffmpeg] Could not set AVOption tls_verify='0'
[ffmpeg] Mime-type: 'text/x-ssa'
[cache] no backbuffer needed
[cache] Cache size set to 485 KiB (32 KiB backbuffer)
[demux] Trying demuxers for level=normal.
[cache] EOF reached.
[lavf] No format found, try lowering probescore or forcing the format.
[demux] Trying demuxers for level=unsafe.
[lavf] No format found, try lowering probescore or forcing the format.
[cache] Terminating cache...
[cache] Cache exiting...
[cplayer] Can not open external file http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/8e88e3c51121839b8122250d771ee883/Subtitles/2/0/Stream.ass?api_key=418175e267554156a46facf1807b6235.

I manually downloaded those two files onto my PC, dragged and dropped it to mpv screen, and yes it did show the subtitles.

 

Initially I thought this was new information, but seems like it actually isn't (it was already in logs).

Edited by blei
Link to comment
Share on other sites

"If that works, then repeat with the files from the original location." - from the server? I only use my server for server stuff, not desktop stuff. No UI was setup for it.

Link to comment
Share on other sites

So they played over the network? 

 

I ran:

mpv "http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/stream.mkv?Static=true&mediaSourceId=8e88e3c51121839b8122250d771ee883&deviceId=Fractal&api_key=418175e267554156a46facf1807b6235&Tag=d00d29a7256ddd9002abfe5a0d3a2ca8" -v --sub-files="http://192.168.1.128:8096/emby/Videos/8e88e3c51121839b8122250d771ee883/8e88e3c51121839b8122250d771ee883/Subtitles/2/0/Stream.ass?api_key=418175e267554156a46facf1807b6235"

Yes the video could play, but the subtitles was still not loaded (as can tell by logs I pasted above).

Link to comment
Share on other sites

Guest asrequested

What I'm trying to rule out are network issues. If you copy the files to a local directory on the Theater machine, and drop them on mpv, what happens?

Link to comment
Share on other sites

Okay so:

I downloaded the .ass from that URL, and tried:

 

Launch MPV -> Opened Video -> Dragged downloaded subtitles to MPV -> no subtitles

Renamed downloaded subtitles to be same name as video -> Open Video -> no subtitles

 

Note: The file sizes between the original .ass file and the downloaded .ass file were different.

 

Here's more logs

 

 

mpv.log

Link to comment
Share on other sites

Well for the latest log file I provided, I opened MPV, dragged the video to MPV window, then dragged the Stream.ass to the MPV window. As you can tell, it still just gives the ambiguous message of:

 

Can not open external file C:\Users\benle\Desktop\Stream.ass.

Link to comment
Share on other sites

Yes. For the log attached to this post, I have tried together (Open mpv -> dragged both video + Stream.ass to MPV -> no subs) as I feel like that's your next suggestion.

 

To further this point... the original .ass file is DIFFERENT from the one downloaded from Emby:

5b1758e9ecdca_wronghash.jpg

mpv.log

Edited by blei
Link to comment
Share on other sites

Guest asrequested

That won't work. Both the video and the sub need to be named, identically. Then you just drop the video on to mpv. The files need to be in the same location.

Link to comment
Share on other sites

Just to reiterate... Emby (for Docker) has done something to the original .ass:

5b1758e9ecdca_wronghash.jpg

 

 

---------------------------------------

Ok so here's what I did:

1. Renamed Stream.ass to be the same name as the video file.

2. Opened mpv

3. Dragged the video and the subtitles to mpv window.

 

 

 

Additionally when I play the video + drag the ORIGINAL subtitles to another player (MPC), the subtitles show. But if I play the video + drag the EMBY subtitles to another player (MPC), the subtitles don't show. It honestly does not look like an mpv problem. It's possible it's a Docker Emby server problem as it served a different file than the original.

 

mpv.log

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...