Server Version#: 1.22.3.4523-d0ce30438
Player Version#:4.57.2
direct play seems to be broken on android/web client/samsung tv app. i have everything being played converted to x264 .mp4 ac3 2 channel and when it direct plays from my plex remotely it just looks like it loads forever and the server as a whole seems to struggle. but when i play the same exact video and have it convert to a lower quality the video plays immediately . bandwidth isnt an issue for my up or stream. any suggestions on whats happening
checking the console page, when i play remote files i get a lot of errors one being
“Failed to stream media, client probably disconnected after 198919 bytes: 32 - Broken pipe”
and it just repeats that every like second
I checked the setting and it was actually off, but I toggled it on then back off again and the issue persist that direct play doesn’t play anything it just loads indefinitely
Oh sorry. I must have been looking at the playback for something else. I double checked your logs and it is direct playing.
05-22 17:54:18.476 i: [TranscodeSession] Direct Play
Your logs do show that app is jumping back and forth requesting different parts of the original file to direct play due to the audio and video streams being out of sync within the file. This can cause the error you mentioned when this out of sync problem results in the file taking too long to return the correct information.
Here’s and example of what the log looks like showing the behavior.
05-22 17:54:18.501 i: [FFmpeg] [INFO] [Cache] Seek complete to 178250448 bytes.
05-22 17:54:18.501 i: [FFmpeg] [INFO] [Cache] Seek has returned with a response of 178250448.
05-22 17:54:18.536 i: [FFmpeg] [INFO] [Cache] Source seek requested to 194067773 bytes with 0 whence.
05-22 17:54:18.536 i: [FFmpeg] [INFO] [Cache] Seek found to 194067773 bytes.
05-22 17:54:18.631 i: [FFmpeg] [INFO] [Cache] Seek complete to 194067773 bytes.
05-22 17:54:18.632 i: [FFmpeg] [INFO] [Cache] Seek has returned with a response of 194067773.
05-22 17:54:18.651 i: [FFmpeg] [INFO] [Cache] Source seek requested to 178334256 bytes with 0 whence.
05-22 17:54:18.662 i: [FFmpeg] [INFO] [Cache] Seek found to 178334256 bytes.
When you force a transcode, PMS reads the file locally so it’s able to jump around the file much faster so it doesn’t have this issue.