Page 1 of 1

Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Sat Jan 14, 2017 6:00 am
by fank
Hi there, some troubles with UMS.
I've been encountered this error for the last 6-8 months, I think, never before. I tried many different version, I think the last 4. Now I'm using Universal Media Server 7.0.0-a1-SNAPSHOT.

this is the log:

17:15:05 INFO Changed debug level to ALL
17:15:40 INFO Started playing Shaun.the.sheep.s05e03.spoilsport.720p.hdtv.50MB.GoenWae.mp4 on your [TV]UE40EH6030
17:16:43 INFO Buffer read ArrayIndexOutOfBoundsException error:
17:16:43 INFO readCount: "84946957"
17:16:43 INFO maxMemorySize: "209715200"
17:16:55 INFO Stopped playing Shaun.the.sheep.s05e03.spoilsport.720p.hdtv.50MB.GoenWae.mp4 on your [TV]UE40EH6030

there's the ums.conf in attach, if it's not enough please let me know.

Re: Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Sat Jan 14, 2017 10:17 am
by Sami32

Re: Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Wed Jan 18, 2017 12:49 am
by fank
Done! Thank you.
P.S.: now UMS is stopping often

Re: Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Thu Jan 19, 2017 2:01 am
by fank
As I wrote, I'm using a pre-release, 7.0.0-a1. Except the problem I mentioned on the post that could appear often with this release (or maybe it's my niece who likes to watch always the same episodes) everything seems works as usual.

Re: Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Thu Jan 19, 2017 5:56 am
by Sami32
Hi fank,

no such error in your log.

Seing your log, i can see that you are not using the more correct renderer and settings that could avoid you too much transcoding and CPU use.
You can make you own renderer following these steps: https://github.com/UniversalMediaServer ... figuration
Or force UMS to use the Samsung-ES6100.conf that is more similar to your renderer.

Your audio/subtitles settings could be set more adequately, following these steps:
https://github.com/UniversalMediaServer ... -Subtitles

Re: Error java while transcoding (ArrayIndexOutOfBoundsException)

Posted: Sun Jan 22, 2017 9:03 am
by fank
many thanks for your kind reply. I'll try to look at the suggestions, in the meantime I'm trying to force the program to use that config for my tv.