SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Media Extender (http://forums.sagetv.com/forums/forumdisplay.php?f=37)
-   -   Android TV app crashes when playing DVD dip (http://forums.sagetv.com/forums/showthread.php?t=64859)

edjames 07-29-2017 01:26 PM

Android TV app crashes when playing DVD dip
 
My Mi Box SageTV app exits when I try to play a DVD rip.

Server side (not helpful) says:

Sat 7/29 12:17:50.100 [TimeoutHandler@2ee7e114] TIMEOUT occurred - close the socket asynchronously for java.nio.channels.SocketChannel[connected local=/192.168.100.24:31099 remote=/192.168.100.137:37437]
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] java.nio.channels.AsynchronousCloseException
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] java.nio.channels.AsynchronousCloseException
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:205)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:407)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.readIntReply(MiniDVDPlayer.java:1427)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getMediaTimeMillis0(MiniDVDPlayer.java:1503)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getCurrNAVTracker(MiniDVDPlayer.java:634)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getDurationMillis(MiniDVDPlayer.java:141)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.timeSelected(VideoFrame.java:3375)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.processJob(VideoFrame.java:2447)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.run(VideoFrame.java:1614)
Sat 7/29 12:17:50.101 [VideoFrame-46524f4d5854@29c07c8d] at sage.Pooler$PooledThread.run(Pooler.java:254)
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getMediaTimeMillis0(MiniDVDPlayer.java:1502)
Sat 7/29 12:17:50.102 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getCurrNAVTracker(MiniDVDPlayer.java:634)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.MiniDVDPlayer.getDurationMillis(MiniDVDPlayer.java:141)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.getDurationMillis(VideoFrame.java:4052)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.timeSelected(VideoFrame.java:3392)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.processJob(VideoFrame.java:2447)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.VideoFrame.run(VideoFrame.java:1614)
Sat 7/29 12:17:50.103 [VideoFrame-46524f4d5854@29c07c8d] at sage.Pooler$PooledThread.run(Pooler.java:254)
Sat 7/29 12:17:50.103 [Pusher@164bcba6] java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.107 [VideoFrame-46524f4d5854@29c07c8d] VideoFrame.timeSelected2(Wed 12/31 16:00:00.000, true) currFile=MediaFile[id=962442 A[962444,962443,"ANIMUSIC",0@0907.20:16,0,D] mask=D host=hunter encodedBy= format=DVD 0:00:00 0 kbps [] /var/media/videos/ANIMUSIC, Seg0[Fri 9/7 20:16:39.999-Fri 9/7 20:16:40.000]] realDur=0
Sat 7/29 12:17:50.107 [Pusher@164bcba6] java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at sage.MiniDVDPlayer.getMediaTimeMillis0(MiniDVDPlayer.java:1502)
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at sage.MiniDVDPlayer.getCurrNAVTracker(MiniDVDPlayer.java:634)
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at sage.MiniDVDPlayer$1.run(MiniDVDPlayer.java:1108)
Sat 7/29 12:17:50.107 [Pusher@164bcba6] at java.lang.Thread.run(Thread.java:748)
Sat 7/29 12:17:50.108 [VideoFrame-46524f4d5854@29c07c8d] Channel Change Time=1501355870108 NOTE: Not valid if this was not a direct channel change!
Sat 7/29 12:17:50.108 [Pusher@164bcba6] Error with MiniPlayer, closing UI: java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.108 [Pusher@164bcba6] java.nio.channels.ClosedChannelException
Sat 7/29 12:17:50.108 [Pusher@164bcba6] at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
Sat 7/29 12:17:50.108 [Pusher@164bcba6] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
Sat 7/29 12:17:50.108 [Pusher@164bcba6] at sage.MiniDVDPlayer.pushBuffer0(MiniDVDPlayer.java:1675)
Sat 7/29 12:17:50.108 [Pusher@164bcba6] at sage.MiniDVDPlayer$1.run(MiniDVDPlayer.java:1120)
Sat 7/29 12:17:50.108 [Pusher@164bcba6] at java.lang.Thread.run(Thread.java:748)
Sat 7/29 12:17:50.108 [Pusher@164bcba6] push loop terminating because pushBuffer failed
Sat 7/29 12:17:50.108 [PooledThread@7af0028c] Killing UIMgr UIManager:localhost@@46524f4d5854-439a2e62
Sat 7/29 12:17:50.108 [PooledThread@7af0028c] Killed UI Timers
Sat 7/29 12:17:50.109 [PooledThread@7af0028c] Clearing DVD watched info for MediaFile[id=962442 A[962444,962443,"ANIMUSIC",0@0907.20:16,0,D] mask=D host=hunter encodedBy= format=DVD 0:00:00 0 kbps [] /var/media/videos/ANIMUSIC, Seg0[Fri 9/7 20:16:39.999-Fri 9/7 20:16:40.000]]

How to debug android app?

stuckless 07-29-2017 02:55 PM

If you are trying to play a DVD (ie, .iso or TS folder structure), then it's not supported.

You can check this page to compare the Android MiniClient with HD300 and a PC Client to review the features.

https://github.com/OpenSageTV/sagetv-miniclient/wiki

I should play a DVD rip if it's ripped to MKV file (or some other supported file like mp4, etc).

edjames 08-01-2017 08:59 AM

Thanks for the reply. Seems odd. Isn't the sageserver parsing the dvd format and sending an mpg2 stream? Why would that be unsupported? Or is it the audio that's the issue?

EnterNoEscape 08-01-2017 11:26 AM

Quote:

Originally Posted by edjames (Post 609033)
Thanks for the reply. Seems odd. Isn't the sageserver parsing the dvd format and sending an mpg2 stream? Why would that be unsupported? Or is it the audio that's the issue?

That's about what happens for Bluray, but for DVD, SageTV also works with the menus and the Android miniclient doesn't have support for that.


All times are GMT -6. The time now is 10:05 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.