1080p video content stopping during playback on PS3

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
fbc
Posts: 5
Joined: Sat Nov 11, 2017 5:51 am

1080p video content stopping during playback on PS3

Post by fbc »

I've suddenly begun having problems playing content from UMS (6.7.4 running on a Windows 7 machine) on my Playstation 3 (yes, it's old, but works - connected via wired network) - the setup hasn't changed (no software updates at either end, nor network changes), and it's been rock-steady for a long time. However now, when I try and play 1080p content (h264 in mkv container) the video will start okay, but after between five and ten seconds playback will stop - nothing actually crashes, and the PS3 is still responsive (it seems to pause playback). The strangest thing is you stop playback and then start it again often the file will play through without a problem. I've attached the debug trace logs for reference. I tried running the latest RC version of UMS, and have also power-cycled my network devices to no avail. Cheers.
Attachments
ums_dbg.zip
(59.36 KiB) Downloaded 363 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 1080p video content stopping during playback on PS3

Post by Sami32 »

Do you mean that UMS 6.7.3 work correclty for your PS3 ?
If yes a full trace log from that version will be appreciate.

If not, what is the UMS version that work for you ?
https://sourceforge.net/projects/unimed ... s/Windows/
A full trace log will help.

TRACE 2017-11-10 23:55:32.182 [HTTPv2 Request Worker 2] net.pms.io.ProcessWrapperImpl Ready to Stop: true
DEBUG 2017-11-10 23:55:32.182 [HTTPv2 Request Worker 2] net.pms.network.RequestHandlerV2 Connection error: java.io.IOException: An established connection was aborted by the software in your host machine
DEBUG 2017-11-10 23:55:32.182 [HTTPv2 Request Worker 2] net.pms.network.RequestHandlerV2 Premature end, stopping...
DEBUG 2017-11-10 23:55:32.449 [ffmpeg.exe-2-Cleanup] net.pms.io.ProcessWrapperImpl Stopping process: ffmpeg.exe-2
TRACE 2017-11-10 23:55:32.449 [ffmpeg.exe-2-Cleanup] net.pms.io.BufferedOutputFileImpl Destroying buffer
TRACE 2017-11-10 23:55:32.457 [ffmpeg.exe-2] net.pms.io.BufferedOutputFileImpl EOF
TRACE 2017-11-10 23:55:32.633 [HTTPv2 Request Worker 3] net.pms.io.ProcessWrapperImpl Ready to Stop: false
TRACE 2017-11-10 23:55:32.633 [HTTPv2 Request Worker 3] net.pms.io.BufferedOutputFileImpl Resume Read: readCount=70500352 / writeCount=79500000
TRACE 2017-11-10 23:55:32.633 [HTTPv2 Request Worker 3] net.pms.io.ProcessWrapperImpl Ready to Stop: true
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor duration: 3441.0
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor getLastStartPosition: 0.0
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor getStartTime: 1510318528853
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor getLastStartSystemTime: 1.510318528328E12
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor elapsed: 7.783
TRACE 2017-11-10 23:55:36.637 [StopPlaying Event] net.pms.dlna.MediaMonitor minimum play time needed: 3165.7200000000003
fbc
Posts: 5
Joined: Sat Nov 11, 2017 5:51 am

Re: 1080p video content stopping during playback on PS3

Post by fbc »

Sami32 wrote: Sat Nov 11, 2017 1:52 pm Do you mean that UMS 6.7.3 work correclty for your PS3 ?
If yes a full trace log from that version will be appreciate.
I'm not sure which version I was on previous to trying to initially resolve this problem by upgrading (I first tried the 7.0 RC to no avail). I just downgraded to 6.6.0 and encountered the same issue - I've attached the trace logs. It's strange in that the behaviour didn't start occurring following any environment or application changes (I have a sneaking suspicion the network interface on the PS3 may be to blame however... Actually on second thoughts, no, I don't think that's the problem)
Attachments
ums_660_dbg.zip
(46.87 KiB) Downloaded 334 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 1080p video content stopping during playback on PS3

Post by Sami32 »

I will look at your log, but i'm suspicious that it doesn't come from UMS side. If you try and older version and you still get that issue, i guess that you've your answer. That will leave your PS3 or your network as culprit.

EDIT: If as i suspect you get that issue also with UMS older versions, try to revert back your Java version, as you have the new one that come just few days ago.
fbc
Posts: 5
Joined: Sat Nov 11, 2017 5:51 am

Re: 1080p video content stopping during playback on PS3

Post by fbc »

Sami32 wrote: Sun Nov 12, 2017 10:52 am I will look at your log, but i'm suspicious that it doesn't come from UMS side. If you try and older version and you still get that issue, i guess that you've your answer. That will leave your PS3 or your network as culprit.

EDIT: If as i suspect you get that issue also with UMS older versions, try to revert back your Java version, as you have the new one that come just few days ago.
Thanks for continuing to look into it. I rolled back the latest Windows updates and also the recent Java one, but I'm still having the issue - seemingly regardless of the version of UMS I try. I've also tried a couple of 1080p files that previously played without an issue and they're also now showing the same problem, so there's certainly something broken, but what is a mystery. I did find something that was way over my head but seemed to indicate an issue with ffmpeg with the fix still to be implemented, so I'll continue to check that too (I've tried various versions of ffmpeg without success). I'm now suspecting there's something flaky going in on the interaction between UMS and ffmpeg with these files (very, very occasionally the files play okay, so I think they're just messing with my head now...). It's frustrating as UMS has been very, very stable and, frankly, marvellous for me - even going back to the pre-UMS PS3 Media Server days - I'm hopeful eventual fixes and patches will see the issue resolve itself.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 1080p video content stopping during playback on PS3

Post by Sami32 »

FFmpeg is not updated since more than one year in UMS, so neither UMS neither FFmpeg should be the culprit.

EDIT: As something seem alter your network, try disable your firewall and anti-virus to see if that could help.
fbc
Posts: 5
Joined: Sat Nov 11, 2017 5:51 am

Re: 1080p video content stopping during playback on PS3

Post by fbc »

You're on to something - turning off anti-virus (using BitDefender free) resolves the issues on all files, turning it back on sees the problem return (also tried the same with Windows Firewall as suggested with no impact either way). So looks like I'll be trying different options to replace BitDefender. I really appreciate your help on this.

Edit: I really must add - apologies for blaming UMS / ffmpeg for this issue, as said I've had many years (it must be around ten years now) of great performance from UMS Media Server (and it's previous existence) - it's a great piece of software for my needs and humble PS3. I'd never have guessed an anti-virus conflict would cause this sort of behaviour (a total lack of access I could forsee, but this...), but live and learn. Thanks again for your help.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

[Solved] Re: 1080p video content stopping during playback on PS3

Post by Sami32 »

You are welcome :)

Yes, replace Windows Defender shoudn't be a bad idea...
But if you want keep it anyway, you will need to add exceptions for executables used by UMS to avoid wrong virus/malwares detection:
https://support.microsoft.com/en-au/hel ... -antivirus

EDIT: When you'll have read this, you will certainly want desinstall it and use an other anti-virus ;)
http://news.softpedia.com/news/windows- ... 5902.shtml
Last edited by Sami32 on Mon Nov 13, 2017 4:13 pm, edited 1 time in total.
fbc
Posts: 5
Joined: Sat Nov 11, 2017 5:51 am

Re: 1080p video content stopping during playback on PS3

Post by fbc »

To finish this off - I've now reverted back to the version of ffmpeg that UMS 6.7.3 ships with, reinstalled the latest Java and Windows updates (removed earlier for testing), and enabled Windows Firewall and all is well - the effected content is playing without a problem.

After discovering BitDefender Free antivirus was the root cause (not Windows Defender, only clarifying that in case others are similarly effected - I've never used Windows Defender so can't say how that would perform), it was removed and replaced with Avast Free which resolved the issue.
Post Reply