Issues with transcoding

  1. D EBUG logging on, VERBOSE off
  2. Start a playback
  3. let it fail
  4. Get the XML of the file played
  5. Download the logs ZIP file
  6. attach the XML and the ZIP file.

Plex is NOT this difficult to use.

The only thing it might be is the OS itself. I don’t know of anyone using Gentoo

Im using ubuntu 21.04 like you requested

Plex Media Server Logs_2021-10-23_02-50-06.zip (5.8 MB)

Thank you.

From your logs:

  1. Transcoder engages to convert the music for the player
  2. Player comes to GET blocks of audio to play.

Oct 23, 2021 02:47:48.449 [0x7f9a1216eb38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 12 from session.
Oct 23, 2021 02:47:48.449 [0x7f9a1216eb38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Returning segment 12 from session
Oct 23, 2021 02:47:48.449 [0x7f9a1216eb38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-30k2i9tcacbfvs8djg7s49rp-9683f444-92d2-4e11-8dd1-949a21c6856c/media-00012.ts is 34780 (of total: 34780).
Oct 23, 2021 02:47:48.449 [0x7f9a13b3bb38] DEBUG - Completed: [192.168.1.234:43844] 206 GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00012.ts (29 live) 0ms 34780 bytes (pipelined: 13) (range: bytes=0-) 
Oct 23, 2021 02:47:48.449 [0x7f9a13b3bb38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:47:48.453 [0x7f9a12a5db38] DEBUG - Request: [192.168.1.234:43844 (Subnet)] GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00013.ts (29 live) Signed-in (range: bytes=0-) 
Oct 23, 2021 02:47:48.453 [0x7f9a12a5db38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 13 from session.
Oct 23, 2021 02:47:48.454 [0x7f9a13725b38] DEBUG - [Transcode] Transcoder segment range: 0 - 13 (13)
Oct 23, 2021 02:47:48.454 [0x7f9a12613b38] DEBUG - [Transcode] Transcoder segment range: 0 - 14 (13)
Oct 23, 2021 02:47:48.468 [0x7f9a11edfb38] DEBUG - [Transcode] Transcoder segment range: 0 - 14 (14)
Oct 23, 2021 02:47:48.468 [0x7f9a124ebb38] DEBUG - [Transcode] Transcoder segment range: 0 - 15 (14)
Oct 23, 2021 02:47:48.483 [0x7f9a11bcab38] DEBUG - [Transcode] Transcoder segment range: 0 - 15 (15)
Oct 23, 2021 02:47:48.483 [0x7f9a1216eb38] DEBUG - [Transcode] Transcoder segment range: 0 - 16 (15)
Oct 23, 2021 02:47:48.498 [0x7f9a13725b38] DEBUG - [Transcode] Transcoder segment range: 0 - 16 (16)
Oct 23, 2021 02:47:48.498 [0x7f9a12613b38] DEBUG - [Transcode] Transcoder segment range: 0 - 17 (16)
Oct 23, 2021 02:47:48.512 [0x7f9a124ebb38] DEBUG - [Transcode] Transcoder segment range: 0 - 17 (17)
Oct 23, 2021 02:47:48.512 [0x7f9a11edfb38] DEBUG - [Transcode] Transcoder segment range: 0 - 18 (17)
Oct 23, 2021 02:47:48.528 [0x7f9a11bcab38] DEBUG - [Transcode] Transcoder segment range: 0 - 18 (18)
Oct 23, 2021 02:47:48.528 [0x7f9a1216eb38] DEBUG - [Transcode] Transcoder segment range: 0 - 19 (18)
Oct 23, 2021 02:47:48.553 [0x7f9a12a5db38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Returning segment 13 from session
Oct 23, 2021 02:47:48.553 [0x7f9a12a5db38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-30k2i9tcacbfvs8djg7s49rp-9683f444-92d2-4e11-8dd1-949a21c6856c/media-00013.ts is 34592 (of total: 34592).
Oct 23, 2021 02:47:48.554 [0x7f9a13b18b38] DEBUG - Completed: [192.168.1.234:43844] 206 GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00013.ts (29 live) 100ms 34592 bytes (pipelined: 14) (range: bytes=0-) 
Oct 23, 2021 02:47:48.554 [0x7f9a13b18b38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:47:48.561 [0x7f9a12613b38] DEBUG - Request: [192.168.1.234:43844 (Subnet)] GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00014.ts (29 live) Signed-in (range: bytes=0-) 
Oct 23, 2021 02:47:48.561 [0x7f9a12613b38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 14 from session.
Oct 23, 2021 02:47:48.561 [0x7f9a12613b38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Returning segment 14 from session
Oct 23, 2021 02:47:48.561 [0x7f9a12613b38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-30k2i9tcacbfvs8djg7s49rp-9683f444-92d2-4e11-8dd1-949a21c6856c/media-00014.ts is 34780 (of total: 34780).
Oct 23, 2021 02:47:48.561 [0x7f9a13b3bb38] DEBUG - Completed: [192.168.1.234:43844] 206 GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00014.ts (29 live) 0ms 34780 bytes (pipelined: 15) (range: bytes=0-) 
Oct 23, 2021 02:47:48.561 [0x7f9a13b3bb38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:47:48.567 [0x7f9a13725b38] DEBUG - [Transcode] Transcoder segment range: 0 - 19 (19)
Oct 23, 2021 02:47:48.567 [0x7f9a124ebb38] DEBUG - [Transcode] Transcoder segment range: 0 - 20 (19)
Oct 23, 2021 02:47:48.568 [0x7f9a11edfb38] DEBUG - [Transcode] Transcoder segment range: 0 - 20 (20)
Oct 23, 2021 02:47:48.570 [0x7f9a14d3fb38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 3153214 is 0 (success)
Oct 23, 2021 02:47:48.571 [0x7f9a1216eb38] DEBUG - Request: [192.168.1.234:43844 (Subnet)] GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00015.ts (28 live) Signed-in (range: bytes=0-) 
Oct 23, 2021 02:47:48.571 [0x7f9a1216eb38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 15 from session.
Oct 23, 2021 02:47:48.571 [0x7f9a1216eb38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Returning segment 15 from session
Oct 23, 2021 02:47:48.571 [0x7f9a1216eb38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-30k2i9tcacbfvs8djg7s49rp-9683f444-92d2-4e11-8dd1-949a21c6856c/media-00015.ts is 34404 (of total: 34404).
Oct 23, 2021 02:47:48.571 [0x7f9a13b3bb38] DEBUG - Completed: [192.168.1.234:43844] 206 GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00015.ts (28 live) 0ms 34404 bytes (pipelined: 16) (range: bytes=0-) 
Oct 23, 2021 02:47:48.571 [0x7f9a13b3bb38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:47:48.576 [0x7f9a12a5db38] DEBUG - Request: [192.168.1.11:49859 (Subnet)] GET /status/sessions (28 live) TLS GZIP Signed-in Token (MrPl3x)
Oct 23, 2021 02:47:48.576 [0x7f9a12a5db38] DEBUG - [Now] Adding 0 sessions.
Oct 23, 2021 02:47:48.576 [0x7f9a13b3bb38] DEBUG - Completed: [192.168.1.11:49859] 200 GET /status/sessions (28 live) TLS GZIP 0ms 350 bytes (pipelined: 81)
Oct 23, 2021 02:47:48.578 [0x7f9a12613b38] DEBUG - Request: [192.168.1.234:43844 (Subnet)] GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00016.ts (28 live) Signed-in (range: bytes=0-) 
Oct 23, 2021 02:47:48.578 [0x7f9a12613b38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 16 from session.
Oct 23, 2021 02:47:48.579 [0x7f9a12613b38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Returning segment 16 from session
Oct 23, 2021 02:47:48.579 [0x7f9a12613b38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-30k2i9tcacbfvs8djg7s49rp-9683f444-92d2-4e11-8dd1-949a21c6856c/media-00016.ts is 35344 (of total: 35344).
Oct 23, 2021 02:47:48.579 [0x7f9a13b18b38] DEBUG - Completed: [192.168.1.234:43844] 206 GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00016.ts (28 live) 0ms 35344 bytes (pipelined: 17) (range: bytes=0-) 
Oct 23, 2021 02:47:48.579 [0x7f9a13b18b38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:47:48.584 [0x7f9a13725b38] DEBUG - Request: [192.168.1.234:43844 (Subnet)] GET /music/:/transcode/universal/session/30k2i9tcacbfvs8djg7s49rp/base/00017.ts (28 live) Signed-in (range: bytes=0-) 
Oct 23, 2021 02:47:48.584 [0x7f9a13725b38] DEBUG - [Transcode/30k2i9tcacbfvs8djg7s49rp] Asked for segment 17 from session

Then I see several of these errors where the player disconnects and shuts down the otherwise normal transcoding stream. (Connection reset by peer)

Oct 23, 2021 02:48:51.710 [0x7f9a12613b38] DEBUG - [Transcode/k3wwdnn1jvojfhfjbyhzpo7a] Returning segment 1 from session
Oct 23, 2021 02:48:51.710 [0x7f9a12613b38] DEBUG - Content-Length of /dev/shm/Transcode/Sessions/plex-transcode-k3wwdnn1jvojfhfjbyhzpo7a-576fb638-e596-497d-bdcc-765c5804eac2/media-00001.ts is 1760996 (of total: 1760996).
Oct 23, 2021 02:48:51.714 [0x7f9a13b3bb38] DEBUG - Failed to stream media, client probably disconnected after 144800 bytes: 104 - Connection reset by peer
Oct 23, 2021 02:48:51.714 [0x7f9a13b3bb38] DEBUG - Completed after connection close: [192.168.1.234:43896] 206 GET /video/:/transcode/universal/session/k3wwdnn1jvojfhfjbyhzpo7a/base/00001.ts (24 live) 4ms 144800 bytes (pipelined: 1) (range: bytes=0-) 
Oct 23, 2021 02:48:51.714 [0x7f9a13b3bb38] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 23, 2021 02:48:51.718 [0x7f9a11fa2b38] DEBUG - BlurHashManager: Generated for item 1229 thumb in 36 ms.

I don’t yet know what’s causing that.

Now I would like you do a simple controlled test case.

Download this file and place in a directory by itself.
Create a library section of type “Other Videos/Home Videos” and include this directory.

Playback the file on your Web Browser (something I can replicate and am familiar with)

https://jell.yfish.us/media/jellyfish-30-mbps-hd-h264.mkv

It looks like there is a player problem here but let’s start eliminating the possibilities by using the Web player on this known file (which will play in Plex/Web)

Ok ill work on that brb

Plex Media Server Logs_2021-10-23_03-46-14.zip (5.5 MB)

Just wanted to mention i tried this GPU in a Windows machine with transcoding and 0 errors Just for the heck of it lol using same movie file as most my tests (plex server) on windows

It looks like the file played but your logs are extremely busy with Intro detection and all the other activities.

Here’s another playback in progress for a movie which is interlaced with what I’m trying to debug.

Put that all together and it’s just too busy right now to follow (sorry)

Oct 23, 2021 03:43:35.287 [0x7f9a12726b38] DEBUG - [Universal] Using local file path instead of URL: /home/media/series/It's Always Sunny in Philadelphia/Season 7/It's Always Sunny in Philadelphia - S07E01 - Frank's Pretty Woman Bluray-1080p.mkv
Oct 23, 2021 03:43:35.287 [0x7f9a12726b38] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
Oct 23, 2021 03:43:35.287 [0x7f9a12726b38] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/be22e26-4019-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:1' 'dca' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/home/media/series/It'\''s Always Sunny in Philadelphia/Season 7/It'\''s Always Sunny in Philadelphia - S07E01 - Frank'\''s Pretty Woman Bluray-1080p.mkv' '-filter_complex' '[0:1] aresample=async=1:ocl='\''5.1'\'':rematrix_maxval=0.000000dB:osr=48000[0]' '-map' '[0]' '-metadata:s:0' 'language=eng' '-codec:0' 'flac' '-b:0' '4096k' '-f' 'flac' '-map_metadata' '-1' '-map_chapters' '-1' '-t' '665.69100000000003' '/dev/shm/Transcode/Detection/936f1245-7ad6-4f10-a452-9048ca953753' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/f21876f4-4a84-4a44-ac0f-39b8f3cfcb04/463a50bf-5212-4660-91b1-8446449a9bef/progress'
Oct 23, 2021 03:43:35.287 [0x7f9a12726b38] DEBUG - [JobRunner] Jobs: Starting child process with pid 464580
Oct 23, 2021 03:43:35.289 [0x7f9a09c2bb38] DEBUG - Request: [127.0.0.1:56434 (Loopback)] PUT /video/:/tr

Did the video play in Plex/web ? I can’t definitively tell here but it looks like it did.

Yes it did play no error on Chrome browser i didn’t get a chance to test on my friend’s tv yet

Good. That confirms the server is intact and operating as it should.

Now to test each of the respective players with that same 1 minute video.

I have the full set of videos for testing.
You’re welcome to grab a set as well.

https://jell.yfish.us/

copy that

Another friend tried his tv and got “mediafile format not supported”

plex client version: 5.25.3, platform version: 2.4

Samsung TV, not sure model

Can’t help with the clients that I don’t have.

I do have AppleTV, Nvidia Shield.

Can’t speak to the Plex Windows client at all. I don’t have any Windows machines here at all.

If it plays on a Windows machine, in that brower, that’s further confirmation the server is ok and must be a player setting (?)… They’re not forcing DirectPlay, are they?

it’s not a Plex Windows client, it’s a Smart Tv app

My lg doesn’t have the issue, it seems to be Samsung related

Samsung TV’s (a lot of them) lost their certificates as of Sept 30 (when the R3 expired).
Since those sets are EOL (no updates from Samsung) - they either get:

a. Set top boxes / HDMI devices which are current
b. Special accommodation to allow that IP to stream without auth

Still get those vaapi errors, but I guess ill ignore, maybe gone in future pms update.

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