Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

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
Seryon
Posts: 9
Joined: Mon Dec 04, 2017 10:42 am

Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Seryon »

Hello everyone,

big thanks in advance for your help and your incredible piece of software,
As stated in the subject, I am not able to resume after pause or seek large MKV file on my new LG 65C7V running WebOS 3.5.

Everything else seem to be working great!

Please see the attached log I recorder while doing some trials (you will see skipping between files, but it is not wanted, when it can't manage to resume sometimes it just opens the next one)
ums_dbg.zip
(35.61 KiB) Downloaded 381 times
Thank you again!

A.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Sami32 »

Hello Seryon,

I just did a hack for your case, but as i'm not able to build for macOS, only @Nadahar is, so i hope that you know how to replace your UMS's JAR file ? If yes, tell me, that i send you a download link.

I have some questions for you:

1) Why didn't you post a TRACE log as asked ? Did you think that ALL was better ?
Perhaps we should remove that option from GUI to avoid users confusion and missing informations for us.

2) Why do you use this obsolete MEncoder video engine ? Do FFmpeg give you some issues, which ones ?
I guess that you also have this resume issue with FFmpeg ?

3) What do you find more in Twonky ? Do some functions are missing from UMS ? or something fail in UMS and work in Twonky ? Your answer could help us enhance UMS.

Thank you for your understanding.
DEBUG 2017-12-03 23:34:34.130 [mencoder-4] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder"): 15348
DEBUG 2017-12-03 23:34:35.196 [HTTPv2 Request Worker 2] Setting InputStream new position to: 554,286,212
DEBUG 2017-12-03 23:34:38.546 [UPNP-AliveMessageSender] Sending ALIVE...
INFO 2017-12-03 23:34:42.727 [HTTPv2 Request Worker 2] Buffer read ArrayIndexOutOfBoundsException error:
INFO 2017-12-03 23:34:42.727 [HTTPv2 Request Worker 2] readCount: "554286212"
INFO 2017-12-03 23:34:42.727 [HTTPv2 Request Worker 2] maxMemorySize: "209715200"
DEBUG 2017-12-03 23:34:49.144 [AWT-EventQueue-0] Reading logging_filter_logs_tab: "ALL" (previous: "INFO", default: "INFO")
INFO 2017-12-03 23:34:50.244 [HTTPv2 Request Worker 2] Buffer read ArrayIndexOutOfBoundsException error:
INFO 2017-12-03 23:34:50.245 [HTTPv2 Request Worker 2] readCount: "554286212"
INFO 2017-12-03 23:34:50.245 [HTTPv2 Request Worker 2] maxMemorySize: "209715200"
DEBUG 2017-12-03 23:34:52.747 [mencoder-4-Cleanup] Stopping Unix process 15348: mencoder-4


DEBUG 2017-12-03 23:37:14.041 [HTTPv2 Request Worker 1] Recognized media renderer "[LG] webOS TV OLED65C7V"
DEBUG 2017-12-03 23:37:14.042 [HTTPv2 Request Worker 1] Setting InputStream new position to: 1,360,684,853
DEBUG 2017-12-03 23:37:16.138 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-12-03 23:37:39.211 [HTTPv2 Request Worker 3] Connection error: java.io.IOException: Broken pipe
DEBUG 2017-12-03 23:37:39.211 [HTTPv2 Request Worker 3] Premature end, stopping...
DEBUG 2017-12-03 23:37:41.712 [mencoder-5-Cleanup] Stopping Unix process 15367: mencoder-5
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Nadahar »

@Sami32 "All" will include "Trace" as well. The problem is that it's the filter for the GUI log window that is set, not the "main" log level - which means that it's still only logging the default level ("Debug").
Seryon
Posts: 9
Joined: Mon Dec 04, 2017 10:42 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Seryon »

You guys are behiond awe-so-me!
Today is my brithday and such a nice gift to see someone so commited in helping users and, in the meanwhile, making them feel as they are contributing to the software development!

Now for your questions:

Sami32 wrote: Tue Dec 05, 2017 9:59 am that you know how to replace your UMS's JAR file ? If yes, tell me, that i send you a download link.
No I don't :(
Sami32 wrote: Tue Dec 05, 2017 9:59 am 1) Why didn't you post a TRACE log as asked ? Did you think that ALL was better ?
Perhaps we should remove that option from GUI to avoid users confusion and missing informations for us.
Indeed I thought it was! I also see Nadahar's reply and I am sorry, I didn't know they GUI filter would affect it.
Sami32 wrote: Tue Dec 05, 2017 9:59 am 2) Why do you use this obsolete MEncoder video engine ? Do FFmpeg give you some issues, which ones ?
I guess that you also have this resume issue with FFmpeg ?
I did not mess with the transcorders engine order, and I am pretty sure FFmpeg was higher in priority. I will try again tonight, maybe even deactivating MEncoder and get back to you.
Sami32 wrote: Tue Dec 05, 2017 9:59 am 3) What do you find more in Twonky ? Do some functions are missing from UMS ? or something fail in UMS and work in Twonky ? Your answer could help us enhance UMS.
I did not even know what you were talking about until I watched the debug log. It is something that it has to do with your UMS default Conf file for Apple-iDevice, that for some reason is perhaps triggered by my wife's old iPhone 5.
Sami32 wrote: Tue Dec 05, 2017 9:59 am Thank you for your understanding.
No... thank you!
I will try to force FFmpeg and move from there... ok?

Best,
A.
Seryon
Posts: 9
Joined: Mon Dec 04, 2017 10:42 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Seryon »

Dear all,

I posted an extensive reply but it said it had to be approved by a moderator :)

Are you able to see it?

Thanks again! What a cool group a people you are!
A.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Sami32 »

Hello @Seryon,

nope for now, so i hope that you've kept a copy of your message, just in case it wait a moderator for ever, as you could attach it without being "blocked".
I wasn't even aware of a such post control, perhaps when the post are out of some text lines ?

@Nadahar Yep, i missed that was only the filter level, that explain why ;-)
Seryon
Posts: 9
Joined: Mon Dec 04, 2017 10:42 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Seryon »

Thanks Sami!

In short:

1. Thanks for being so helpful to the pint you even make people feel useful to the community and the development in posting issues!

2. No, unfortunately I am not sure how to build the Jar you prepared

3. I did not notice the filter either, thought it was just for the user view.

4. I did not mess with the encoders settings. I am pretty sure FFmpeg was higher in priority into the list, however I will try to disable Mencoder and see if it makes any difference.

5. I had an hard time even figuring out what Twonky was, then I saw in the debut file it is into the DEFAULT Apple Device conf file, for some reason picked up because of my wife’s old iPhone 5 being in the network. You guys may want to have a look at that.

I will try the Mencoder de-activation and get back to you: ok?

All the best!
A.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Nadahar »

Sorry for seeing this a bit late - I have approved the post. For some reason the anti-spam system flagged it as potential spam.
Seryon
Posts: 9
Joined: Mon Dec 04, 2017 10:42 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Seryon »

Dear all,

disabling MEncoder is of no help: same inability to scroll.
Any other practical idea?

Attached the new log
ums_dbg.zip
(64.05 KiB) Downloaded 412 times
Also, the mysterious "Apple Device" seems to be my router (it is in 192.168.1.1)

Best,
A.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Unable to RESUME after PAUSE or SEEK large MKV files on LG WebOS 3.5

Post by Sami32 »

Hello Seryon,

FFmpeg is the default video engine, except for DVDs, and Twonky have nothing to do with UMS. It just mean that it is installed somewhere on your network, and as it is the latest Twonky controller version i guess that it is on the Iphone.
That's why you get this Apple iPad / iPhone renderer display in the UMS' GUI.
To get rid of it, go to "General Configuration" tab and click on "Select renderers" and then deselect "Apple".
You could also only enable your LG WebOS TV, in the "General Configuration" tab select "Use an IP filter" line and add this line before restart:

Code: Select all

192.168.1.6-100
Nothing to build, i just said be able to replace ums.jar file, as i cannot make build for macOS, only users knowing how to replace their JAR file can test my fix attempt.
Post Reply