[mythtv-users] Mythfrontend for Android and Livetv
Timothy Krantz
tkrantz at stahurabrenner.com
Tue Aug 21 17:19:23 UTC 2012
_____
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Dean
Sent: Tuesday, August 21, 2012 9:26 AM
To: Discussion about MythTV
Subject: Re: [mythtv-users] Mythfrontend for Android and Livetv
On 21 August 2012 14:06, Dean <duffydack73 at gmail.com> wrote:
On 21 August 2012 13:51, Daniel Frey <dmfrey at gmail.com> wrote:
On Tue, Aug 21, 2012 at 8:37 AM, Dean <duffydack73 at gmail.com> wrote:
On 20 August 2012 20:45, Daniel Frey <dmfrey at gmail.com> wrote:
On Mon, Aug 20, 2012 at 3:13 PM, Dean <duffydack73 at gmail.com> wrote:
Hi. I have tried BS player as well. I don't think it's the player as it's
getting a "taking too long to read" error in backend log. As for latest
fixes, I'm only using the latest version in arch repo, mythtv 1:0.25.2-1 and
tbh I don't really fancy compiling a newer version as it took me a while to
get it all working after the switch to systemd :)
Playing videos works so I know the players are working at least. Just that
'taking too long' error and it trying to access a zero byte file instead of
the actual stream is making me wonder if I can get around this.
On 20 August 2012 19:58, Daniel Frey <dmfrey at gmail.com> wrote:
Dean,
Try out the BS Player. We have had most success with that player.
https://play.google.com/store/apps/details?id=com.bsplayer.bspandroid.free
<https://play.google.com/store/apps/details?id=com.bsplayer.bspandroid.free&
feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5ic3BsYXllci5ic3BhbmRyb2lkLmZyZW
UiXQ..>
&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5ic3BsYXllci5ic3BhbmRyb2lkLmZyZ
WUiXQ..
I am hoping the built in player gets better.
Also, make sure you are running the latest fixes. There was an issue a
while back where HLS wasn't working, but is fixed now. Make sure it is up
to date.
BTW, are you running the apk we provide, or are you running right from the
code?
I am hoping to put a new download out soon as we have made some great
strides on other functionality inside the app.
Thanks,
Dan
On Mon, Aug 20, 2012 at 2:41 PM, Dean <duffydack73 at gmail.com> wrote:
Hi, wondering if you could help clear something up for me. I've got mythtv
0.25 running on my arch system, all working great and other frontends
connecting fine. Got the droid app and it connects to the backend ok,
receives channel list ok but when I launch the channel, either in internal
viewer or MX player it fails. Now looking at the logs on the backend it
seems it's trying to read the 0 byte file that gets made on initial channel
selection. Here's the log
Aug 20 19:34:57 studio mythbackend[2418]: 2012-08-20 19:34:56.942668 I
adding: 192.168.0.100 as a client (events: 0)
Aug 20 19:35:51 studio mythbackend[2418]: 2012-08-20 19:35:51.723322 I
adding: 192.168.0.100 as a client (events: 0)
Aug 20 19:35:51 studio mythbackend[2418]: 2012-08-20 19:35:51.743242 I
MainServer::HandleAnnounce FileTransfer
Aug 20 19:35:51 studio mythbackend[2418]: 2012-08-20 19:35:51.743250 I
adding: 192.168.0.100 as a remote file transfer
Aug 20 19:35:52 studio mythbackend[2418]: 2012-08-20 19:35:52.157909 N
AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
Aug 20 19:35:53 studio mythbackend[2418]: 2012-08-20 19:35:53.748139 E
FileRingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): OpenFile():
File too small (0B).
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.939834 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.944965 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.950206 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.955355 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.960495 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.965692 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.970713 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.975843 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.981035 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
Aug 20 19:36:03 studio mythbackend[2418]: 2012-08-20 19:36:02.986178 W
RingBuf(/home/dean/.mythtv/livetv/1001_20120820193551.mpg): Taking too long
to be allowed to read..
1001_20120820193551.mpg is the 0 bytes file, and 1001_20120820193552.mpg is
the actual stream but it's not trying for it. Do you know something about
this that can help me?
Thank you
DW
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
--
My <http://www.google.com/profiles/dmfrey> Google Profile
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
Check that the stream is being created: http://your_backend_ip:6544/
Click API -> Examples -> HTTP Live Streaming
Make sure there is an entry getting created and it is processing a live
transcode.
--
My Google <http://www.google.com/profiles/dmfrey> Profile
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
Right, I went to the url and installed jw player, and then accessed a
channel with the android app and looking in the livetv folder there is the
usual zero byte file and then the stream file appears not long after. It
doesnt appear in the live streaming list until I goto select livetv from the
drop down and list files, then select the mpg and Add Stream, which then
(after I refresh the page a few times) shows me the stream I can click on
and play, and also there are a LOT of small ts files being made in the
recordings folder. I guess they are to stream to the android? They are
named like 1072_20120821132706.mpg.480x272_800kV_64kA.ao_32kA.000027. well
anyway it's still not working :(
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
Dean,
The files you are seeing are correct. The live transcode creates multiple
small chunk files of the recordings. Then they are added to a .m3u8
playlist, which is streamed to MythTV for Android, or the JWPlayer, etc.
When was the last time that you updated the backend. There was an issue a
few months back where HLS was starting, but no stream was coming out. It is
fixed now in the source. If you haven't updated in a while, then I believe
this is the issue you are seeing.
Dan
--
My Google <http://www.google.com/profiles/dmfrey> Profile
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
Version : 1:0.25.2-1, just what is available in the arch repo. I
think I'll just hang out for an update, I don't need the streaming function
right away anyway.
Last updated 18th July according to the database. Is that with fixes you
reckon or not? If that is with fixes then I've no idea what is wrong.
How does one get to live TV via the android app? Is this functionality that
is in the packaged version that does not yet exist in the source repository?
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120821/2f5e60c7/attachment.html>
More information about the mythtv-users
mailing list