plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 168 forks source link

Plex player crashes when playing certain content #1061

Open TomMettam opened 2 years ago

TomMettam commented 2 years ago

Plex media player freezes (locks up indefinitely) when playing certain content.

In addition, when re-loading the player, the content attempts to play again automatically which causes it to freeze immediately.

State can be cleared by deleting the Plex folder in AppData

Bottom of log:

Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Property 'aid' set to '1'
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Property 'sid' set to 'no'
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine] Checking codecs.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine] Updating cached decoders.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Updating cached decoders.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec 012v.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec ssa.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec cc_dec.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec mov_text.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec eac3_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec wmalossless_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec wmapro_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec wmav1_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec wmav2_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec wmavoice_mf.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec eac3_eae.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec truehd_eae.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine] Adding installed non-manifest codec mlp_eae.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine] Determining required decoders.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine/CodecManager] Finding a suitable decoder for h264.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecManager]   Non-system decoder h264 is present.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine/CodecManager]   Best decoder is h264 (score=15).
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine/CodecManager] Finding a suitable decoder for eac3.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecManager]   System decoder eac3_mf is whitelisted.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecManager]   eac3_eae is a supported EAE decoder.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine/CodecManager]   Best decoder is eac3_mf (score=10).
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecManager] Ignoring subtitle stream srt.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecManager] Ignoring subtitle stream srt.
Dec 22, 2021 15:29:17.761 [17964] INFO - [MPVEngine] Starting to fetch codecs.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] Codec h264 already exists.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] Not enqueuing h264
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] Codec eac3_mf already exists.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] Not enqueuing eac3_mf
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] There are no more codecs to fetch.
Dec 22, 2021 15:29:17.761 [17964] DEBUG - [MPVEngine/CodecFetcher] Telling FFmpeg that codecs folder needs to be re-scanned.
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/CodecFetcher] Done fetching codecs. Result: 0
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/CodecFetcher] Changing Refresh Rate is disabled.
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/CodecFetcher] Property 'audio-delay' set to '0'
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] cplayer: Running hook: main/on_preloaded
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] cplayer: Set property: aid="1" -> 1
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] cplayer: Set property: sid="no" -> 1
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] cplayer: Set property: audio-delay=0.000000 -> 1
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] mkv: select track 0
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] mkv: select track 1
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/mpv] cplayer:  (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/mpv] cplayer:  (+) Audio --aid=1 --alang=eng (*) (eac3 2ch 48000Hz)
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/mpv] cplayer:      Subs  --sid=1 --slang=eng (subrip)
Dec 22, 2021 15:29:17.762 [17964] INFO - [MPVEngine/mpv] cplayer:      Subs  --sid=2 --slang=eng 'SDH' (subrip)
Dec 22, 2021 15:29:17.762 [17964] DEBUG - [MPVEngine/mpv] vd: Container reported FPS: 25.000000
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Codec list:
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd:     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Opening decoder h264
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Looking at hwdec h264-d3d11va...
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Trying hardware decoding via h264-d3d11va.
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Pixel formats supported by decoder: cuda dxva2_vld d3d11va_vld d3d11 yuv420p
Dec 22, 2021 15:29:17.763 [17964] DEBUG - [MPVEngine/mpv] vd: Codec profile: High (0x64)
Dec 22, 2021 15:29:17.764 [17964] DEBUG - [MPVEngine/mpv] vd: Requesting pixfmt 'd3d11' from decoder.
TomMettam commented 2 years ago

Also seems to play fine in MPV 0.33.0 which appears to be the version bundled with this version of PMP

Zageron commented 2 years ago

I am also experiencing this issue. (Framework laptop) @TomMettam Did you find a solution? At the moment I use Plex HTPC. I restart the app whenever it freezes. And I try to refrain from using "Skip Intro" or from Seeking. In Plex for Desktop, if you open the app and quickly press the stop button you can clear the state as well.