Jump to content

Emby Theater Desktop Playback of 3D Movie Remuxes (mk3d or mkv Containers) Freezes After ~26 Minutes


shpitz461

Recommended Posts

Guest asrequested

Well that is good news. Great investigation doofus.

 

I'm curious to see what result he gets. At least it's narrowed down a bit. Hopefully it's just mpv.

Link to comment
Share on other sites

shpitz461

Ok, I ran the updater.bat but it did nothing but download youtube-dl.exe.

 

I copied the files over the Theatre install, playing Kung Fu Panda 3 right now, let's see what happens...

Link to comment
Share on other sites

shpitz461

Dang it, froze again @ 26:27 :(

My hardware decoding is set to Auto in Theatre settings.

Link to comment
Share on other sites

Guest asrequested

With auto and auto copyback, it froze. That it doesn't in the standalone, makes me think it's a combination of electron and windows/directX HWA. The main difference I think is the use of memory. The Nvidia card has its own memory, where the Intel GPUs rely on system memory. There must be some kind of snaphoo with how Theater is also using system memory.

Link to comment
Share on other sites

Guest asrequested

Well, you're kinda stuck. None of the available options will solve this, with the GPU that you have. I had hoped that using no HWA would have worked, but that still uses the system memory. As is, I don't see a solution with the hardware you have. The system memory is the only common factor that I can think of. What precisely is causing this, will be somewhere in the coding. And that's beyond my knowledge. 

Link to comment
Share on other sites

Guest asrequested

When you selected no HWA, did you verify that it wasn't being used? I didn't test that scenario. 

Link to comment
Share on other sites

shpitz461

So why does the video play fine outside of Theatre? Doesn't that mean that Theatre is doing something wrong?

Link to comment
Share on other sites

shpitz461

When you selected no HWA, did you verify that it wasn't being used? I didn't test that scenario. 

 

I haven't tested with no HWA yet, I'll report back once I do.

Link to comment
Share on other sites

Guest asrequested

I just tested with no HWA...it froze.

 

So why does the video play fine outside of Theatre? Doesn't that mean that Theatre is doing something wrong?

 

Not necessarily. Theater is using multiple components, such as electron. There may be some kind of memory management 'thing', with something. Assuming I'm correct about the memory. 

Link to comment
Share on other sites

Guest asrequested

I gave this a shot with the Electron 3.0.0 beta1. Unfortunately, it did not remedy the problem.

Link to comment
Share on other sites

shpitz461

Bummer.

 

Even if I rename the file to .mkv and remove any 3D text from the filename, it will still freeze.

 

If I use an external player i lose the resume capability, which is a bummer cause the kids use it all the time.

Link to comment
Share on other sites

  • 3 weeks later...

I have struggled with this issue since day 1 of MPV...at least I know I am not alone.

 

https://emby.media/community/index.php?/topic/51437-3d-mvc-mkv-titles-freeze-at-25-30-minutes/

 

So I used process explorer to get the exact command spit out to MPV modifying it to switch from JSON IPC and associated switches. Other than that, it is exactly the command spit out by ET.  I noticed Doofus gets the out of range as well (post #22)....but unlike his mine references no track change.  And despite the out of range errors, the video plays fine and doesn't freeze. Here is a snippet of the log....though it it pretty much complete at the out of range just keeps cycling at 1 per second.

 

Original command line from ET (freezes) :

mpv\mpv.exe --input-ipc-server=\\.\pipe\emby-pipe --idle --quiet --hwdec=no --video-output-levels=auto --audio-channels=auto-safe --ad-lavc-ac3drc=0 --wid=4198096 --no-osc

 

Modified (doesn't freeze):

mpv.exe --idle --quiet --hwdec=no --video-output-levels=auto --audio-channels=auto-safe --ad-lavc-ac3drc=0 "\\lucky\Movies\3D\Frozen [3D] [blu-ray]\Frozen -3d.mvc.bluray.mkv"

 

Output:
Playing: \\lucky\Movies\3D\Frozen [3D] [blu-ray]\Frozen -3d.mvc.bluray.mkv
 (+) Video --vid=1 (h264 1920x1080 23.976fps)
     Video --vid=2 [P] 'cover.jpg' (mjpeg)
 (+) Audio --aid=1 --alang=eng (*) 'Surround 5.1' (dts 6ch 48000Hz)
     Audio --aid=2 --alang=eng 'Surround 7.1' (dts 8ch 48000Hz)
     Subs  --sid=1 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=eng (hdmv_pgs_subtitle)
File tags:
 Title: Frozen
[ffmpeg/video] h264: sps_id 1 out of range
[ffmpeg/video] h264: sps_id 1 out of range

AO: [wasapi] 48000Hz 5.1(side) 6ch float
VO: [direct3d] 1920x1080 yuv420p
[ffmpeg/video] h264: sps_id 1 out of range
[ffmpeg/video] h264: sps_id 1 out of range
[ffmpeg/video] h264: sps_id 1 out of range

[ffmpeg/video] h264: sps_id 1 out of range
[ffmpeg/video] h264: sps_id 1 out of range

....

Edited by jbl77
Link to comment
Share on other sites

shpitz461

I think the key difference between the 2 examples you provided above is that one is using an IPC pipe for the stream while the other is a direct stream via UNC path.

 

That is my experience as well, pipe fill freeze every ~26 minutes while direct playing via UNC path plays fine (using mpv.exe outside of Theatre).

 

I believe the reason for the piping of the stream is so that Theatre can track playback time and be able to resume.

  • Like 1
Link to comment
Share on other sites

I think the key difference between the 2 examples you provided above is that one is using an IPC pipe for the stream while the other is a direct stream via UNC path.

 

That is my experience as well, pipe fill freeze every ~26 minutes while direct playing via UNC path plays fine (using mpv.exe outside of Theatre).

 

I believe the reason for the piping of the stream is so that Theatre can track playback time and be able to resume.

 

Agreed. 

 

Also found if you stop the movie before it freezes and then resume....it resets the clock.  Which is a crappy way to watch a movie to completion (if you remember to do it).

 

Since 3D is always in the theater room on the projector it is a bit of a production in my house where we know exactly which movie we are going to watch etc....not a huge deal as I just fire up the movie in PowerDVD.  For within Emby where things kinda happen on a whim and just want 2D on the TVs , I just want the movie to work and not maintain 2 copies when 1 can do it all.

Link to comment
Share on other sites

Guest asrequested

It is an odd situation. And difficult to pinpoint the problem. My GTX 1050 is able to get around it, somehow.

Edited by Doofus
Link to comment
Share on other sites

It is an odd situation. And difficult to pinpoint the problem. My GTX 1050 is able to get around it, somehow.

 

Wierd.  I had the issue with a couple older ATI and NVidia cards and still have it with GT1030's I bought so I could watch my 4K remuxes as well....

 

Soooo frustrating.

 

So is it only with mvc or does it affect the other 3D formats as well?  I rip everything as mvc so I have nothing to test with.

Edited by jbl77
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...