Transcoder not working 1.20.3.3421 Docker on Synolgoy

Server Version#: 1.20.3.3421
Player Version#:
Plex Media Server Logs_2020-10-11_23-53-35.zip (6.6 MB)

Hi everyone,

Since the last update Transcoding video or audio hasn’t been working, its very slow and keep buffering, direct play is working fine,

Attached are my server logs if you can take a look,

Thank you!

Your passthrough of the ASIC isn’t working

Oct 11, 2020 23:22:56.668 [0x7f1b7f7fe700] DEBUG - Completed: [192.168.1.37:55498] 200 GET /statistics/bandwidth?timespan=6 (27 live) TLS GZIP 43ms 4784 bytes (pipelined: 115)
Oct 11, 2020 23:22:56.803 [0x7f1b767fc700] DEBUG - [Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Oct 11, 2020 23:22:56.803 [0x7f1b767fc700] DEBUG - [Transcode] [Universal] Using local file path instead of URL: /movies/Bluray/Mission Impossible Rogue Nation 2015 1080p Bluray/Mission Impossible - Rogue Nation (2015) Bluray-1080p.mkv
Oct 11, 2020 23:22:56.803 [0x7f1b767fc700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: , final encoder: 
Oct 11, 2020 23:22:56.804 [0x7f1b767fc700] DEBUG - [Transcode] Job running: EAE_ROOT='/tmp/pms-f994fd2b-caec-4d38-b82c-0106399fa0f7/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' XDG_CACHE_HOME='/config/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'h264' '-codec:1' 'ac3' '-ss' '0' '-noaccurate_seek' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/movies/Bluray/Mission Impossible Rogue Nation 2015 1080p Bluray/Mission Impossible - Rogue Nation (2015) Bluray-1080p.mkv' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[0]' '-map' '0:0' '-metadata:s:0' 'language=eng' '-codec:0' 'copy' '-map' '[0]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-b:1' '256k' '-f' 'dash' '-seg_duration' '5' '-init_seg_name' 'init-stream$RepresentationID$.m4s' '-media_seg_name' 'chunk-stream$RepresentationID$-$Number%05d$.m4s' '-window_size' '5' '-delete_removed' 'false' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/tc0iruo7tpjarwp8h0llfcbj/a52b583a-f7e4-44a7-9a76-1bc55a7a22a6/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/tc0iruo7tpjarwp8h0llfcbj/a52b583a-f7e4-44a7-9a76-1bc55a7a22a6/progress'
Oct 11, 2020 23:22:56.812 [0x7f1b767fc700] DEBUG - [Transcode] Jobs: Starting child process with pid 6620

Synology CPUs are marginal at video work.

Thank you @ChuckPa,

How can I fix that?

What did you change?

  1. We rely on the container definition
  2. Start there
  3. Verify what is defined versus what DSM has for permissions

Screen Shot 2020-10-01 at 6.20.08 PM Screen Shot 2020-10-01 at 6.20.19 PM

Here are the screen shots of my docker container setting, the only thing I changed was the image from Plex-lastest(because you can’t update to a newer version of Plex) to Plex pass image to receive updates.

Everything else seems to be working fine, only transcoding have any issues

I don’t see where you have the transcoding hardware mapped in.
Otherwise, your logs show the transcoder is running – in software mode – which is painful on the synology

I’m going to ask this with the best of intentions.

Are you absolutely set on using Docker or was it a fun thing to do?

I was running Plex thru synology package Center before but had a database corruption and wasn’t able to fix it even after lots of restores the database would still become corrupt so I make a new Plex server thru docker. It’s been running great and super fast and only been having this issue for a couple days now.

I would like to keep using docker with Plex if I can get the transcoding to work

OK,

Then go back to wherever you got your base configuration from and find out where the additions for hardware transcoding are defined.

That’s all you need to add.

Thank you @ChuckPa

Sorry to sound like a newbie but if you can help me out,

So I need to map the transcoder in the docker container to get it working. I followed the Guide on plex’s official GitHub page but I don’t see anywhere the variable I need to get it working.

If you have the environment variable I need to Map the transcoder that would be great!

If needed I’m running a Synology DS918+

Thank you again!

Sorry I found the what I need to enter to Map the transcoder but where do I put it in the Docker environment variable?

--device=/dev/dri:/dev/dri \

add it to your container mapping – just as you added your other directory mappings.

May I ask what happened to cause your previous installation to get corrupted?

Did the NAS get shut down / powered off abruptly?
I ask because, in all the testing and crashes I have, bad media I test on behalf of users, and new packaging scripts I develop, in my 8 years here, I’ve never had a corrupt database. I’m hence curious what caused yours.

Screen Shot 2020-10-11 at 9.31.16 PM

Just to confirm im doing this right,

It’s not an environment variable.
You’re mapping a directory to a directory,
You’re in the wrong tab.

Yea I have it running great for about 2 years with no issues then at the beginning of September I got an notification saying backup could not be performed due to database corruption , then most stuff stop working and it would add any in content.

I tried doing a restore from the week before, then 2 weeks before, then 1 month before but after a couple day it would become corrupt again,

Thats why I make the new one using docker after 2-3 days of importing all the media it been running great for about a month

okay where do I enter that in?

Sorry again for being a newbie at this

Sorry if I seem like a hardXXX but I’m hoping to teach you .

Look here at what you already posted.

File/Folder – target
/dev/dri – /dev/dri

Seem logical?