Jump to content


Photo

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

3D MVC Freeze mk3d

  • Please log in to reply
206 replies to this topic

#81 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 08:11 PM

Dang it, froze again @ 26:27 :(

My hardware decoding is set to Auto in Theatre settings.



#82 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 08:18 PM

Turn HWA off. It's h264 so your cpu should handle it. 



#83 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 08:20 PM

ok, i'll set it to off and try again later, thanks Doofus!



#84 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 08:28 PM

If that works, try auto copyback and/or d3d11 copyback



#85 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 08:44 PM

Will do, thanks!



#86 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 08:51 PM

I'm retesting wit HWA set to auto. I want to see if it's a windows 'thing'.



#87 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 10:19 PM

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.



#88 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 10:26 PM

Great detective work!

 

So which option should I try?



#89 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 10:39 PM

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. 



#90 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 17 June 2018 - 10:42 PM

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



#91 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 11:52 PM

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



#92 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 17 June 2018 - 11:52 PM

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.



#93 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 18 June 2018 - 12:11 AM

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. 



#94 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 21 June 2018 - 10:29 PM

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



#95 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 21 June 2018 - 10:43 PM

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.



#96 jbl77 OFFLINE  

jbl77

    Advanced Member

  • Members
  • 42 posts
  • Local time: 11:52 PM
  • LocationCanada

Posted 10 July 2018 - 01:52 AM

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

 

https://emby.media/c...-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, 10 July 2018 - 10:17 AM.


#97 shpitz461 OFFLINE  

shpitz461

    Advanced Member

  • Members
  • 194 posts
  • Local time: 12:52 AM
  • LocationAcworth, GA

Posted 10 July 2018 - 11:06 AM

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.


  • jbl77 likes this

#98 jbl77 OFFLINE  

jbl77

    Advanced Member

  • Members
  • 42 posts
  • Local time: 11:52 PM
  • LocationCanada

Posted 10 July 2018 - 05:31 PM

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.



#99 Guest_asrequested_* OFFLINE  

Guest_asrequested_*
  • Guests

Posted 10 July 2018 - 05:41 PM

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

Edited by Doofus, 10 July 2018 - 05:41 PM.


#100 jbl77 OFFLINE  

jbl77

    Advanced Member

  • Members
  • 42 posts
  • Local time: 11:52 PM
  • LocationCanada

Posted 10 July 2018 - 06:01 PM

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, 10 July 2018 - 06:02 PM.






Also tagged with one or more of these keywords: 3D, MVC, Freeze, mk3d

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users