<br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 1:19 PM, Timothy Krantz <span dir="ltr">&lt;<a href="mailto:tkrantz@stahurabrenner.com" target="_blank">tkrantz@stahurabrenner.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>



<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"></font> </div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px" dir="ltr">
  <div dir="ltr" lang="en-us" align="left">
  <hr>
  <font face="Tahoma"><b>From:</b> <a href="mailto:mythtv-users-bounces@mythtv.org" target="_blank">mythtv-users-bounces@mythtv.org</a> 
  [mailto:<a href="mailto:mythtv-users-bounces@mythtv.org" target="_blank">mythtv-users-bounces@mythtv.org</a>] <b>On Behalf Of 
  </b>Dean<br><b>Sent:</b> Tuesday, August 21, 2012 9:26 AM<br><b>To:</b> 
  Discussion about MythTV<br><b>Subject:</b> Re: [mythtv-users] Mythfrontend for 
  Android and Livetv<br></font><br></div><div><div class="h5">
  <div></div><br><br>
  <div class="gmail_quote">On 21 August 2012 14:06, Dean <span dir="ltr">&lt;<a href="mailto:duffydack73@gmail.com" target="_blank">duffydack73@gmail.com</a>&gt;</span> wrote:<br>
  <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
    <div>
    <div><br><br>
    <div class="gmail_quote">On 21 August 2012 13:51, Daniel Frey <span dir="ltr">&lt;<a href="mailto:dmfrey@gmail.com" target="_blank">dmfrey@gmail.com</a>&gt;</span> wrote:<br>
    <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
      <div>
      <div class="gmail_quote">On Tue, Aug 21, 2012 at 8:37 AM, Dean <span dir="ltr">&lt;<a href="mailto:duffydack73@gmail.com" target="_blank">duffydack73@gmail.com</a>&gt;</span> wrote:<br>
      <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
        <div>
        <div>
        <div class="gmail_quote">
        <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
          <div>
          <div>
          <div>
          <div class="gmail_quote">On 20 August 2012 20:45, Daniel Frey <span dir="ltr">&lt;<a href="mailto:dmfrey@gmail.com" target="_blank">dmfrey@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
            <div>
            <div><br><br>
            <div class="gmail_quote">On Mon, Aug 20, 2012 at 3:13 PM, Dean <span dir="ltr">&lt;<a href="mailto:duffydack73@gmail.com" target="_blank">duffydack73@gmail.com</a>&gt;</span> wrote:<br>
            <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi.  I have tried BS player as well. 
               I don&#39;t think it&#39;s the player as it&#39;s getting a &quot;taking too 
              long to read&quot; error in backend log.  As for latest fixes, I&#39;m 
              only using the latest version in arch repo, mythtv 1:0.25.2-1 
              and tbh I don&#39;t really fancy compiling a newer version as it took 
              me a while to get it all working after the switch to systemd :)
              <div>Playing videos works so I know the players are working at 
              least.  Just that &#39;taking too long&#39; 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.
              <div>
              <div><br><br>
              <div class="gmail_quote">On 20 August 2012 19:58, Daniel Frey <span dir="ltr">&lt;<a href="mailto:dmfrey@gmail.com" target="_blank">dmfrey@gmail.com</a>&gt;</span> wrote:<br>
              <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Dean,
                <div><br></div>
                <div>Try out the BS Player.  We have had most success with 
                that player.<br><br><a href="https://play.google.com/store/apps/details?id=com.bsplayer.bspandroid.free&amp;feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5ic3BsYXllci5ic3BhbmRyb2lkLmZyZWUiXQ.." target="_blank">https://play.google.com/store/apps/details?id=com.bsplayer.bspandroid.free&amp;feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5ic3BsYXllci5ic3BhbmRyb2lkLmZyZWUiXQ..</a></div>

                <div><br></div>
                <div>I am hoping the built in player gets better.</div>
                <div><br></div>
                <div>Also, make sure you are running the latest fixes. 
                 There was an issue a while back where HLS wasn&#39;t working, 
                but is fixed now.  Make sure it is up to date.</div>
                <div><br></div>
                <div>BTW, are you running the apk we provide, or are you running 
                right from the code?</div>
                <div><br></div>
                <div>I am hoping to put a new download out soon as we have made 
                some great strides on other functionality inside the app.</div>
                <div><br></div>
                <div>Thanks,</div>
                <div>Dan</div>
                <div><br>
                <div class="gmail_quote">
                <div>
                <div>On Mon, Aug 20, 2012 at 2:41 PM, Dean <span dir="ltr">&lt;<a href="mailto:duffydack73@gmail.com" target="_blank">duffydack73@gmail.com</a>&gt;</span> 
                wrote:<br></div></div>
                <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
                  <div>
                  <div>Hi, wondering if you could help clear something up for 
                  me.  I&#39;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&#39;s trying to read the 0 
                  byte file that gets made on initial channel selection. 
                   Here&#39;s the log
                  <div><br></div>
                  <div>
                  <div>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)</div>
                  <div>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)</div>
                  <div>Aug 20 19:35:51 studio mythbackend[2418]: 2012-08-20 
                  19:35:51.743242 I  MainServer::HandleAnnounce 
                  FileTransfer</div>
                  <div>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</div>
                  <div>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</div>
                  <div>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).</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div>
                  <div>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..</div></div>
                  <div><br></div>
                  <div>1001_20120820193551.mpg is the 0 bytes file, 
                  and 1001_20120820193552.mpg is the actual stream but it&#39;s 
                  not trying for it.  Do you know something about this that 
                  can help me?  </div>
                  <div><br></div>
                  <div>Thank you</div>
                  <div><br></div>
                  <div>DW</div><br></div></div>_______________________________________________<br>mythtv-users 
                  mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all">
                <div><br></div>-- <br><a href="http://www.google.com/profiles/dmfrey" target="_blank">My 
                Google 
                Profile</a><br><br></font></span></div><br>_______________________________________________<br>mythtv-users 
                mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div></div></div><br>_______________________________________________<br>mythtv-users 
              mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div></div>Check 
            that the stream is being created: <a href="http://your_backend_ip:6544/" target="_blank">http://your_backend_ip:6544/</a>
            <div><br></div>
            <div>Click API -&gt; Examples -&gt; HTTP Live Streaming</div>
            <div><br></div>
            <div>Make sure there is an entry getting created and it is 
            processing a live transcode. <span><font color="#888888"><br>
            <div>
            <div><br></div>-- <br><a href="http://www.google.com/profiles/dmfrey" target="_blank">My Google 
            Profile</a><br><br></div></font></span></div><br>_______________________________________________<br>mythtv-users 
            mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div></div></div></blockquote></div><br></div></div>
        <div>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&#39;s still not working :(</div>
        <div><br></div><br>_______________________________________________<br>mythtv-users 
        mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>Dean,
      <div><br></div>
      <div>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.</div>
      <div><br></div>
      <div>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&#39;t 
      updated in a while, then I believe this is the issue you are 
      seeing.<br><br></div>
      <div>Dan</div><span><font color="#888888">
      <div><br></div>-- <br><a href="http://www.google.com/profiles/dmfrey" target="_blank">My Google 
      Profile</a><br><br></font></span></div><br>_______________________________________________<br>mythtv-users 
      mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br><a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div></div>
    <div>Version        : 1:0.25.2-1, just what is available 
    in the arch repo.  I think I&#39;ll just hang out for an update, I don&#39;t 
    need the streaming function right away anyway.</div></blockquote></div><br>
  <div>Last updated <font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial">18th July according to the database.  Is that with fixes you 
  reckon or not?  If that is with fixes then I&#39;ve no idea what is 
  wrong.<span><font color="#0000ff"> </font></span></font></span></font></div>
  <div><font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial"><span></span></font></span></font> </div>
  <div><font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial"><span></span></font></span></font> </div>
  </div></div><div><font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial"><span><font color="#0000ff">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?</font></span></font></span></font></div>
  <div><font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial"><span></span></font></span></font> </div>
  <div><font color="#222222"><span style="LINE-HEIGHT:15px;WHITE-SPACE:nowrap;FONT-SIZE:12px"><font face="Arial"><span><font color="#0000ff">Tim</font> </span></font></span></font></div></blockquote></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>Tim,<div><br></div><div>It is my understanding that Live TV is not currently a feature of HLS.  I believe I saw some discussions about it coming in a future mythtv release, but at this time it is not available.</div>
<div><br></div><div>Dan</div><div><br>-- <br><a href="http://www.google.com/profiles/dmfrey" target="_blank">My Google Profile</a><br><br>
</div>