Problème avec transcodeur Plex

Server Version#: Version 1.27.2.5929 (Debian 10 virtualisé KVM)
Player Version#: 9.5.0.33736 (Android)

Bonjour,

Je suis abonnée Plex Pass et j’ai un problème avec le Transcodeur.

Certaines vidéos (qui doivent être convertis pour être affiché) sur un appareil Chromecast (idem sur 1 chromecast et 2 Android TV différent), j’ai l’erreur suivante :

"Sorry!
La conversion à échoué. Le transcodeur s’est arrêté en raison d’une erreur."

Comme cela ne fonctionnait pas, j’ai essayé de modifier quelques options :

  • Répertoire temporaire du transcodeur : j’ai créer un répertoire à la racine du serveur, et j’ai changer le propriétaire. Ca à l’air de fonctionner, le serveur à créer les sous-répertoire Transcode et Sessions.

  • Activer/Désactiver l’encode vidéo accéléré par matériel

Les logs sans accélération matérielle :

Jul 17, 2022 14:30:20.145 [0x7f4140487b38] Info — [Req#9514] [Chromecast] [System] Load: {"media":{"contentId":"/library/metadata/5460","streamType":"BUFFERED","contentType":"video/mp4","metadata":{"metadataType":0,"title":"S3 E18"},"duration":2710.338,"customData":{"offset":2417,"bitrate":"200000","directStream":true,"directPlay":true,"subtitleSize":"100","subtitleColor":"#ffffff","subtitlePosition":"bottom","audioBoost":"180","autoPlay":true,"user":{"username":"Nicolas843"},"server":{"machineIdentifier":"9a37b4826e4e5832dd29b591e467a2c96f0f5685","protocol":"https","address":"10-3-3-240.b480e86defbd4c5ca5d5cb628b1a5210.plex.direct","port":32400,"accessToken":"transient-acc62115-a17c-4134-9f02-207862427e25","version":"1.27.2.5929-a806c5905","transcoderVideo":true,"transcoderAudio":true,"transcoderVideoRemuxOnly":false,"isVerifiedHostname":true},"containerKey":"/playQueues/6862?own=1&repeat=0&window=200"},"mediaCategory":"VIDEO"},"autoplay":true,"currentTime":2417.145,"playbackRate":1,"requestId":2,"type":"LOAD"}
Jul 17, 2022 14:30:21.136 [0x7f4140487b38] Attention — [Req#95d3] [Chromecast] [MDE] Invalid profile property; protocol: undefined !== hls
Jul 17, 2022 14:30:21.136 [0x7f4140487b38] Attention — [Req#95d3] [Chromecast] [MDE] Unable to validate protocol; re-analyze the media if possible
Jul 17, 2022 14:30:21.136 [0x7f4140487b38] Info — [Req#95d3] [Chromecast] [MDE] Starting analysis of 576 (mpegts, h264, aac, 31, main)
Jul 17, 2022 14:30:21.136 [0x7f4140487b38] Info — [Req#95d3] [Chromecast] [MDE] Augmented profile: { "directPlay": { "mp4": { "mimeType": "video/mp4; codecs=\"avc1.42E01E\"", "video": { "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {} } } }, "mkv": { "mimeType": "video/webm", "video": { "codecs": { "h264": { "maxLevel": 42 }, "vp8": {}, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "vorbis": {} } } }, "mpegts": { "protocol": "hls", "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 } } }, "directStream": { "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60, "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } } }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "opus": {}, "vorbis": {} }, "maxChannels": 6 } } }
Jul 17, 2022 14:30:21.136 [0x7f4140487b38] Attention — [Req#95d3] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:30:21.626 [0x7f4140487b38] Erreur — [Req#97ee] [Transcoder] [matroska @ 0x7f16da75cd00] Error parsing AAC extradata, unable to determine samplerate.
Jul 17, 2022 14:30:21.626 [0x7f4140487b38] Erreur — [Req#97f0] [Transcoder] av_interleaved_write_frame(): Invalid argument
Jul 17, 2022 14:30:21.626 [0x7f4140487b38] Erreur — [Req#97f3] [Transcoder] Error writing trailer of chunk-%05d: Invalid argument
Jul 17, 2022 14:30:26.636 [0x7f413f7e0b38] Erreur — [TranscodeOutputStream] Session appears to have died from under us
Jul 17, 2022 14:30:26.687 [0x7f4140487b38] Attention — [Req#9799] [Chromecast] [Player] A critical HTML media error occurred: 4 (Not Supported); the player cannot recover
Jul 17, 2022 14:30:26.737 [0x7f413f7e0b38] Attention — [Req#9830] [Chromecast] [Player] Direct Stream failed, but server can transcode. Attempting to fallback to video transcode...
Jul 17, 2022 14:30:26.784 [0x7f4140487b38] Info — [Req#9835] [Chromecast] [MDE] Augmented profile: { "directPlay": { "mp4": { "mimeType": "video/mp4; codecs=\"avc1.42E01E\"", "video": { "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {} } } }, "mkv": { "mimeType": "video/webm", "video": { "codecs": { "h264": { "maxLevel": 42 }, "vp8": {}, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "vorbis": {} } } }, "mpegts": { "protocol": "hls", "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 } } }, "directStream": { "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60, "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } } }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "opus": {}, "vorbis": {} }, "maxChannels": 6 } } }
Jul 17, 2022 14:30:26.811 [0x7f4140487b38] Attention — [Req#96fc] [Chromecast] [MDE] Direct stream audio failed; option is disabled
Jul 17, 2022 14:30:26.811 [0x7f4140487b38] Attention — [Req#96fc] [Chromecast] [MDE] Direct stream video failed; option is disabled
Jul 17, 2022 14:30:26.811 [0x7f4140487b38] Attention — [Req#96fc] [Chromecast] [MDE] Direct play failed; option is disabled
Jul 17, 2022 14:30:26.811 [0x7f4140487b38] Info — [Req#96fc] [Chromecast] [MDE] Starting analysis of 576 (mpegts, h264, aac, 31, main)
Jul 17, 2022 14:30:26.970 [0x7f4140487b38] Erreur — [Req#98ca] [Transcoder] [h264 @ 0x7f9921915040] co located POCs unavailable
Jul 17, 2022 14:30:26.971 [0x7f4140487b38] Erreur — [Req#98d7] [Transcoder] [h264 @ 0x7f99219154c0] co located POCs unavailable
Jul 17, 2022 14:30:27.072 [0x7f4140487b38] Erreur — [Req#98ea] [Transcoder] [matroska @ 0x7f991b4e59c0] Error parsing AAC extradata, unable to determine samplerate.
Jul 17, 2022 14:30:27.072 [0x7f4140487b38] Erreur — [Req#98ed] [Transcoder] av_interleaved_write_frame(): Invalid argument
Jul 17, 2022 14:30:27.194 [0x7f4140487b38] Erreur — [Req#98f0] [Transcoder] Error writing trailer of chunk-%05d: Invalid argument
Jul 17, 2022 14:30:31.976 [0x7f413f7e0b38] Erreur — [TranscodeOutputStream] Session appears to have died from under us
Jul 17, 2022 14:30:32.018 [0x7f4140487b38] Attention — [Req#9880] [Chromecast] [Player] A critical HTML media error occurred: 4 (Not Supported); the player cannot recover
Jul 17, 2022 14:30:32.093 [0x7f4140487b38] Attention — [Req#9855] [Chromecast] NotSupportedError: Failed to load because no supported source was found.
Jul 17, 2022 14:30:32.093 [0x7f4140487b38] Attention — [Req#9855] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:30:32.177 [0x7f413f7e0b38] Attention — [Req#9967] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:30:32.199 [0x7f41400d4b38] Attention — [Req#9972] [Chromecast] [Player] Player was closed or a new playback session was started; ignoring callback

Les logs avec accélération matériel :

Jul 17, 2022 14:38:51.896 [0x7f413feb3b38] Info — [Req#9a2f] [Chromecast] [System] Load: {"media":{"contentId":"/library/metadata/5460","streamType":"BUFFERED","contentType":"video/mp4","metadata":{"metadataType":0,"title":"S3 E18"},"duration":2710.338,"customData":{"offset":2412,"bitrate":"200000","directStream":true,"directPlay":true,"subtitleSize":"100","subtitleColor":"#ffffff","subtitlePosition":"bottom","audioBoost":"180","autoPlay":true,"user":{"username":"Nicolas843"},"server":{"machineIdentifier":"9a37b4826e4e5832dd29b591e467a2c96f0f5685","protocol":"https","address":"10-3-3-240.b480e86defbd4c5ca5d5cb628b1a5210.plex.direct","port":32400,"accessToken":"transient-952cec5d-6283-4c1d-a8d9-eff54e551c07","version":"1.27.2.5929-a806c5905","transcoderVideo":true,"transcoderAudio":true,"transcoderVideoRemuxOnly":false,"isVerifiedHostname":true},"containerKey":"/playQueues/6863?own=1&repeat=0&window=200"},"mediaCategory":"VIDEO"},"autoplay":true,"currentTime":2412,"playbackRate":1,"requestId":2,"type":"LOAD"}
Jul 17, 2022 14:38:52.861 [0x7f4140019b38] Attention — [Req#9c0b] [Chromecast] [MDE] Invalid profile property; protocol: undefined !== hls
Jul 17, 2022 14:38:52.861 [0x7f4140019b38] Attention — [Req#9c0b] [Chromecast] [MDE] Unable to validate protocol; re-analyze the media if possible
Jul 17, 2022 14:38:52.861 [0x7f4140019b38] Info — [Req#9c0b] [Chromecast] [MDE] Starting analysis of 576 (mpegts, h264, aac, 31, main)
Jul 17, 2022 14:38:52.861 [0x7f4140019b38] Info — [Req#9c0b] [Chromecast] [MDE] Augmented profile: { "directPlay": { "mp4": { "mimeType": "video/mp4; codecs=\"avc1.42E01E\"", "video": { "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {} } } }, "mkv": { "mimeType": "video/webm", "video": { "codecs": { "h264": { "maxLevel": 42 }, "vp8": {}, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "vorbis": {} } } }, "mpegts": { "protocol": "hls", "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 } } }, "directStream": { "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60, "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } } }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "opus": {}, "vorbis": {} }, "maxChannels": 6 } } }
Jul 17, 2022 14:38:52.861 [0x7f4140019b38] Attention — [Req#9c0b] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:38:53.355 [0x7f41402bbb38] Erreur — [Req#9d01] [Transcoder] [matroska @ 0x7f26698d7d00] Error parsing AAC extradata, unable to determine samplerate.
Jul 17, 2022 14:38:53.356 [0x7f4140ff9b38] Erreur — [Req#9d03] [Transcoder] av_interleaved_write_frame(): Invalid argument
Jul 17, 2022 14:38:53.356 [0x7f4140019b38] Erreur — [Req#9d07] [Transcoder] Error writing trailer of chunk-%05d: Invalid argument
Jul 17, 2022 14:38:58.362 [0x7f41400d4b38] Erreur — [TranscodeOutputStream] Session appears to have died from under us
Jul 17, 2022 14:38:58.411 [0x7f41402bbb38] Attention — [Req#9ca8] [Chromecast] [Player] A critical HTML media error occurred: 4 (Not Supported); the player cannot recover
Jul 17, 2022 14:38:58.452 [0x7f4140ff9b38] Attention — [Req#9d58] [Chromecast] [Player] Direct Stream failed, but server can transcode. Attempting to fallback to video transcode...
Jul 17, 2022 14:38:58.494 [0x7f4140019b38] Info — [Req#9d5d] [Chromecast] [MDE] Augmented profile: { "directPlay": { "mp4": { "mimeType": "video/mp4; codecs=\"avc1.42E01E\"", "video": { "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {} } } }, "mkv": { "mimeType": "video/webm", "video": { "codecs": { "h264": { "maxLevel": 42 }, "vp8": {}, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } }, "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "vorbis": {} } } }, "mpegts": { "protocol": "hls", "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60 } } }, "directStream": { "video": { "maxWidth": 4096, "maxHeight": 2160, "maxBitDepth": 8, "maxFrameRate": 60, "codecs": { "h264": { "maxLevel": 42 }, "hevc": { "maxBitDepth": 10, "maxFrameRate": 60 }, "vp9": { "maxBitDepth": 10, "maxFrameRate": 60 } } }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000, "maxChannels": 2 }, "mp3": {}, "opus": {}, "vorbis": {} }, "maxChannels": 6 } } }
Jul 17, 2022 14:38:58.527 [0x7f41400d4b38] Attention — [Req#9ad9] [Chromecast] [MDE] Direct stream audio failed; option is disabled
Jul 17, 2022 14:38:58.527 [0x7f41400d4b38] Attention — [Req#9ad9] [Chromecast] [MDE] Direct stream video failed; option is disabled
Jul 17, 2022 14:38:58.527 [0x7f41400d4b38] Attention — [Req#9ad9] [Chromecast] [MDE] Direct play failed; option is disabled
Jul 17, 2022 14:38:58.527 [0x7f41400d4b38] Info — [Req#9ad9] [Chromecast] [MDE] Starting analysis of 576 (mpegts, h264, aac, 31, main)
Jul 17, 2022 14:38:58.528 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 17, 2022 14:38:58.528 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 17, 2022 14:38:58.529 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 17, 2022 14:38:58.529 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 17, 2022 14:38:58.529 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 17, 2022 14:38:58.529 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 17, 2022 14:38:58.530 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 17, 2022 14:38:58.530 [0x7f413feb3b38] Erreur — [Req#9d62/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 17, 2022 14:38:58.793 [0x7f4140019b38] Erreur — [Req#9e55] [Transcoder] [matroska @ 0x7fa7b7fa19c0] Error parsing AAC extradata, unable to determine samplerate.
Jul 17, 2022 14:38:58.793 [0x7f41400d4b38] Erreur — [Req#9e58] [Transcoder] av_interleaved_write_frame(): Invalid argument
Jul 17, 2022 14:38:58.873 [0x7f413feb3b38] Erreur — [Req#9e5c] [Transcoder] Error writing trailer of chunk-%05d: Invalid argument
Jul 17, 2022 14:39:03.697 [0x7f41402bbb38] Erreur — [TranscodeOutputStream] Session appears to have died from under us
Jul 17, 2022 14:39:03.742 [0x7f4140019b38] Attention — [Req#9df0] [Chromecast] [Player] A critical HTML media error occurred: 4 (Not Supported); the player cannot recover
Jul 17, 2022 14:39:03.857 [0x7f41400fdb38] Attention — [Req#9d8f] [Chromecast] NotSupportedError: Failed to load because no supported source was found.
Jul 17, 2022 14:39:03.857 [0x7f41400fdb38] Attention — [Req#9d8f] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:39:03.934 [0x7f4140019b38] Attention — [Req#9ed3] [Chromecast] Did not move header "accept" to query string. This can result in an unnecessary OPTIONS preflight request.
Jul 17, 2022 14:39:03.952 [0x7f413feb3b38] Attention — [Req#9ede] [Chromecast] [Player] Player was closed or a new playback session was started; ignoring callback

Cela fonctionne si il n’y a pas de transcodage nécessaire.

Pouvez vous m’aider ?

Merci par avance

Bonjour,

J’ai downgrade la version de plexmediaserver vers 1.24.5.5173
Cela refonctionne (du moins je peux lire mon media, mais j’ai l’impression qu’il ne fait pas de conversion)

Bonne journée

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.