Apr 15, 2023 08:33:24.990 [0x14e960b80b38] ERROR - [Req#259/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Apr 15, 2023 08:33:24.990 [0x14e960b80b38] ERROR - [Req#259/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 15, 2023 08:33:25.146 [0x14e963310b38] INFO - [Req#267/Transcode] CodecManager: starting EAE at "/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder"
Apr 15, 2023 08:33:28.000 [0x14e95f97cb38] ERROR - [Req#278/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder/Convert to WAV (to 8ch or less)/q203bk32lis4ww592xi51pvl_1955-0-0.wav'
Apr 15, 2023 08:33:28.000 [0x14e95f97cb38] ERROR - [Req#27c/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] error reading output: -5 (I/O error)
Apr 15, 2023 08:33:28.000 [0x14e95f97cb38] ERROR - [Req#27d/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] Error while decoding stream #0:1: I/O error
Apr 15, 2023 08:33:31.000 [0x14e95f97cb38] ERROR - [Req#27e/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder/Convert to WAV (to 8ch or less)/q203bk32lis4ww592xi51pvl_1955-0-1.wav'
Apr 15, 2023 08:33:31.000 [0x14e95f97cb38] ERROR - [Req#282/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] error reading output: -5 (I/O error)
Apr 15, 2023 08:33:31.000 [0x14e95f97cb38] ERROR - [Req#283/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] Error while decoding stream #0:1: I/O error
Apr 15, 2023 08:33:34.000 [0x14e95f97cb38] ERROR - [Req#284/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder/Convert to WAV (to 8ch or less)/q203bk32lis4ww592xi51pvl_1955-0-2.wav'
Apr 15, 2023 08:33:34.000 [0x14e95f97cb38] ERROR - [Req#287/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] error reading output: -5 (I/O error)
Apr 15, 2023 08:33:34.000 [0x14e95f97cb38] ERROR - [Req#288/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] Error while decoding stream #0:1: I/O error
Apr 15, 2023 08:33:37.000 [0x14e9626f7b38] ERROR - [Req#289/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder/Convert to WAV (to 8ch or less)/q203bk32lis4ww592xi51pvl_1955-0-3.wav'
Apr 15, 2023 08:33:37.000 [0x14e9626f7b38] ERROR - [Req#28e/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] error reading output: -5 (I/O error)
Apr 15, 2023 08:33:37.000 [0x14e9626f7b38] ERROR - [Req#28f/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] Error while decoding stream #0:1: I/O error
Apr 15, 2023 08:33:39.545 [0x14e960706b38] INFO - [Req#2c4] AutoUpdate: no updates available
Apr 15, 2023 08:33:39.929 [0x14e960706b38] WARN - [Req#2d7/Transcode] CodecManager: EAE exited with code 13. Restarting.
Apr 15, 2023 08:33:39.929 [0x14e960706b38] INFO - [Req#2d7/Transcode] CodecManager: starting EAE at "/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder"
Apr 15, 2023 08:33:40.000 [0x14e95af07b38] ERROR - [Req#290/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7413387f-259a-400a-ae87-b4c4ed206f84/EasyAudioEncoder/Convert to WAV (to 8ch or less)/q203bk32lis4ww592xi51pvl_1955-0-4.wav'
Apr 15, 2023 08:33:40.000 [0x14e95af07b38] ERROR - [Req#2ef/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] [eac3_eae @ 0x14b6a5eca580] error reading output: -5 (I/O error)
Apr 15, 2023 08:33:40.000 [0x14e95af07b38] ERROR - [Req#2f0/Transcode/q203bk32lis4ww592xi51pvl/5eb413fa-7739-4b61-b174-8f0a9bbcae9d] Error while decoding stream #0:1: I/O error
Apr 15, 2023 08:33:40.296 [0x14e95af07b38] WARN - [Req#2fd] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Apr 15, 2023 08:33:40.296 [0x14e95af07b38] WARN - [Req#2fd] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Apr 15, 2023 08:33:40.296 [0x14e95ad04b38] WARN - [Req#2fc] QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Where is your transcoder temp directory pointed ?
These errors are common when the Dolby EAE, which requires file locking, is using a temporary directory on a network share (which doesn’t have file locking)
Transcode is pointed to a folder within the docker’s appdata directory. For testing, I changed the permissions to a+rw and have the same results. The folder itself does exist, and is not on a share. It is setup the same way on my working 129. docker where I do not see these errors.
I believe I set that part up based on this Space Invader video. I prefer it this way as it keeps things clean. Should I be transcoding in RAM or something?
If I’m understanding you correctly, it does not matter if I use /mnt/cache or /mnt/user, the issue persists. I’m also a bit confused with your examples. All I am doing is linking the container’s /transcode folder (what Plex is looking for) to a physical folder on my NAS. I’m not sure how to keep that within the container because it needs to link to a folder outside the container. When I open a shell on the container itself, I see the /transcode folder and the subfolders that Plex creates. I also tried straight up nuking the /transcode path, same result.
Also, I’m not sure why this configuration works fine on 1.29.2, but breaks when I update to 1.30+.
How do I manually reset the Plex logs so that I only download the most recent log files? The logs I sent you include multiple text files, some of which are 1.29.2 and some of which are 1.32.0:
I currently have my transcode directory set to an external mounted drive and still get the same issue.
/mnt/disks/Crucial 250GB SSD/Plex Transcodes/
I have tested transcoding to RAM before and found that even for a 1080p movie transcoded to 720p on 16GB of RAM on my server I ran out of RAM prior to the movie finishing. This caused plex to stop playback until I restarted the server to flush the RAM. Definitely don’t recommend.
I figured out my issue. I did a bit of Googling and found a Reddit post that complained about the same transcoding issue and same directory error. I had to stop the Plex docker, delete the contents of /appdata/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/ *, then started the docker. All is well on 1.32 now.
Holy ■■■■ this fixed it. I didn’t even need to restart my server, just shut off the LSIO plex docker, deleted the codecs folder, pulled the latest version (1.32) and everything is working!
Just to keep this open, the problem is not gone and deleting Drivers, Codecs and Cache folders, before spinning up new docker container with latest version, does not help to get PMS to do hardware transcoding.
Downgrading to 1.29.2.6364 does work and transcoding is perfectly hardware (including decoding). DSM 7.1.1, DS218+.
This is somehow being ignored after it worked for some installations by deleting codecs and cache.
It does not work for all installations after this “fix” - for instance, on my DSM218+, it doesn’t no matter how much I delete cache and codecs. Just checked again - latest version does not hw transcode, while 1.29 still does.
It’s still broken, should this be reopen and addressed? It’s a PlexPass feature and deserves support, it seems like.