Hello,
Running
- PMS Version 1.0.2.2413
- Windows 10
- Google Chrome webclient
Settings for webplayer:
I notice that my server starts transcoding when I select SRT subtitles. Without, no problem.
I maybe wrong, but I thought that in the past there was no transcoding needed with above config?
Anything changed? Bug?
kind regards,
B
oh, forgot to mention: no transcoding needed with OpenPHT or PlexMediaPlayer
mediainfo XML of a video file which exhibits the problem, pls!
Do also try setting the preference to ‘Only Image Formats’
Hi @OtttoKerner
Mediainfo below
Running from remote location
Upload bandwith limit is 3MB/s, so this can not be the problem.
With ‘Only Image Formats’ pref same problem.
grtz!
B
<?xml version="1.0" encoding="UTF-8"?>
N:\MEDIA\FILM\VOLWASSENEN_NEW\Youth (2015)\Youth 2015 1920x804p h264 AAC 48KHz MP4 Makalakato.mp4
MPEG-4
Base Media
isom (isom)
1.81 GiB
2h 3mn
Variable
2 094 Kbps
UTC 2015-10-23 20:53:07
UTC 2015-10-23 20:53:07
1
AVC
Advanced Video Codec
High@L4.1
Yes
5 frames
avc1
Advanced Video Coding
2h 3mn
1 999 Kbps
18.8 Mbps
1 920 pixels
804 pixels
2.40:1
Constant
23.976 (24000/1001) fps
YUV
4:2:0
8 bits
Progressive
0.054
1.72 GiB (95%)
x264 core 146 r2538 121396c
cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1999 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
UTC 2015-10-23 19:46:52
UTC 2015-10-23 20:53:18
Limited
BT.709
BT.709
2
AAC
Advanced Audio Codec
LC
40
2h 3mn
2h 3mn
Variable
96.0 Kbps
122 Kbps
2 channels
Front: L R
48.0 KHz
46.875 fps (1024 spf)
Lossy
84.8 MiB (5%)
84.8 MiB (5%)
Yes
1
UTC 2015-10-23 20:53:18
@bart.plessers said:
Mediainfo below
Sorry, this is not the mediainfo from within Plex.
You need to copy and paste it from the info display in Plex Web, from the link View XML

Running from remote location
Upload bandwith limit is 3MB/s, so this can not be the problem.
Oh, this can be the problem.
OverallBitRate_String>2 094 Kbps</OverallBitRate_String
this is just an average bitrate. It doesn’t take into account the maximum bitrate which can deviate to a large extent from the medium bitrate.
Plex performs a laborious analysis of the real bitrate of a file now.
That’s why the mediainfo from within Plex is important, the results of the analysis are noted there.
But this already hints at the problem:
vbv_maxrate=31250 /
OK,
Plex XML for same file attached.
I will also try with another (lower bitrate) file.
Still, I don’t see the relation between
(no subtitles = no transcoding / subtitles = transcoding) and (bitrate)
requiredBandwidths="12211,7835,3543,3516,3516,3516,3516,3516"
This line tells you, that the real required bandwidth of the file is 3.5mbps, even if your client has a rather large network buffer.
If you use a smaller client with a small network buffer, it even requires 12mbps to play without buffering.
@bart.plessers said:
Still, I don’t see the relation between
(no subtitles = no transcoding / subtitles = transcoding) and (bitrate)
Me neither, but your Plex Media Server.log should be able to tell you that. Seek for the timestamps around when you started playback. Look for lines starting with MDE:
FYI
This other file gives no problems. Playing with/without srt doesn’t initiate transcoding.
So the probem indeed has something to do with the first file/bandwith.
Some considerations:
- why does activating subtitles triggers transcoding on the first file
- why no transcoding with PMS, OpenPHT etc… on same (external) network and bandwith
It seems to me that the algorithm that decides whether or not to transcode makes sometimes a wrong decision.
Am I corect?
B
@bart.plessers said:
So the probem indeed has something to do with the first file/bandwith.
the second file has a much lower bitrate.
It seems to me that the algorithm that decides whether or not to transcode makes sometimes a wrong decision.
The algorithm is writing its decisions into the Plex Media Server.log
Inspect it, as written above.
Hello @OttoKerner
log attached
Relevant information I found
Jul 27, 2016 14:04:06.539 [2560] DEBUG - Updating part with ID=1074461 [\mediaserver\media\film\VOLWASSENEN_NEW\Youth (2015)\Youth 2015 1920x804p h264 AAC 48KHz MP4 Makalakato.mp4]
Jul 27, 2016 14:04:06.539 [2560] DEBUG - We’re going to try to auto-select an audio stream for account 1.
Jul 27, 2016 14:04:06.539 [2560] DEBUG - Selecting best audio stream for part ID 1074461 (autoselect: 1 language: nl)
Jul 27, 2016 14:04:06.539 [2560] DEBUG - Audio Stream: 1575257, Subtitle Stream: 1575248
Jul 27, 2016 14:04:06.539 [2560] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Jul 27, 2016 14:04:06.539 [3284] DEBUG - Completed: [127.0.0.1:52034] 200 GET /library/metadata/781117 (10 live) GZIP 16ms 2617 bytes
Jul 27, 2016 14:04:06.539 [2176] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/metadata/781117?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&checkFiles=1
Jul 27, 2016 14:04:06.539 [2176] DEBUG - MDE: analyzing media item 1065317
Jul 27, 2016 14:04:06.539 [2176] DEBUG - MDE: Youth (2015): Direct Play is disabled
Jul 27, 2016 14:04:06.539 [2176] DEBUG - MDE: Youth (2015): no direct play video profile exists for http/mp4/h264
Jul 27, 2016 14:04:06.539 [2176] DEBUG - MDE: Youth (2015): no direct play video profile exists for http/mp4/h264/aac
Jul 27, 2016 14:04:06.539 [2176] DEBUG - Youth - video.width limitation applies: 1920 > 1280
Jul 27, 2016 14:04:06.539 [2176] DEBUG - Youth - video.width limitation applies: 1920 > 1280
Jul 27, 2016 14:04:06.539 [2176] DEBUG - Youth - video.width limitation applies: 1920 > 1280
Jul 27, 2016 14:04:06.539 [2176] DEBUG - MDE: Youth (2015): no remuxable profile found, so video stream will be transcoded
I don’t know if you can do something with this?
Can you find why transcoding only with subtitles activated?
Without SRT subtitles, my log becomes (see attachment)
@bart.plessers said:
I don’t know if you can do something with this?
Can you find why transcoding only with subtitles activated?
I have only one idea:
Back when the (defunct) preference to restrict remote bandwidth was visible, did you set something in it?
Check your server’s advanced preferences and look for a preference with uploadRate in its name.
If you find one, remove it and restart your server.
https://forums.plex.tv/discussion/comment/1220930/#Comment_1220930
Hi @OttoKerner ,
PMS running on windows 10. Avanced settings, stored in registry. See attachment, I can not find uploadrate…
But, indeed:
If I set remote bandwidth = 2Mbps,
then
- no transcoding without SRT
- transcoding with SRT
If I set remote bandwidth = original,
then
- no transcoding without SRT
- no transcoding with SRT
So this settings has something to do with it…
Sorry for my persistance, but I still wondering why PMS starts transcoding with SRT subs. Client (chome webbrowser) is capable of overlay, so there is no need for transcoding
Did some more tests:
- remote bandwith 3Mbps --> transcoding
- remote bandwith 4Mbps (above my limits…) --> transcoding
- remote bandwith 8Mbps (above my limits…) --> NO transcoding, but file playing correctly!
Maybe I should not set remote bandwidth at all (“original”), but then I got messages that my bandwidth is not enough to stream the movie… ?
It seems that PMS takes into account
if (file max-bandwith > remote bandwith setting)
if (subtitles = true)
then transcode
The second if looks irrelevant for me…
cheers,
B