Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Any desktop apps that take advantage of HLS yet?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


memmott at gmail

Aug 30, 2012, 7:45 AM

Post #1 of 8 (512 views)
Permalink
Any desktop apps that take advantage of HLS yet?

I finally upgraded my home to 0.25 on Ubuntu 12.04 last night. I have been
messing around with some of the new features, and the mobile apps that take
advantage of HTTP Live Streaming, like Torc for iOS. It's a pretty awesome
feature.

I was curious if any desktop apps were using the HLS features in 0.25 yet.
Some searching on XBMC, Plex etc so far hasn't turned up much of a result.
I'm at work and it would be really nice to watch transcoded shows from
home. I had been using Plex plus MythicalLibrarian but would love to find a
way to switch over to HLS and Myth's new metadata features.


thomas at mashos

Aug 30, 2012, 7:50 AM

Post #2 of 8 (504 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

I plan on adding HLS support to my MythTV Unity scope, but I'm not
entire sure how I want to configure that yet.

Thanks,

Thomas Mashos


On Thu, Aug 30, 2012 at 7:45 AM, Matt Emmott <memmott [at] gmail> wrote:
> I finally upgraded my home to 0.25 on Ubuntu 12.04 last night. I have been
> messing around with some of the new features, and the mobile apps that take
> advantage of HTTP Live Streaming, like Torc for iOS. It's a pretty awesome
> feature.
>
> I was curious if any desktop apps were using the HLS features in 0.25 yet.
> Some searching on XBMC, Plex etc so far hasn't turned up much of a result.
> I'm at work and it would be really nice to watch transcoded shows from home.
> I had been using Plex plus MythicalLibrarian but would love to find a way to
> switch over to HLS and Myth's new metadata features.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


memmott at gmail

Aug 30, 2012, 8:21 AM

Post #3 of 8 (497 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

On Thu, Aug 30, 2012 at 10:50 AM, Thomas Mashos <thomas [at] mashos> wrote:

> I plan on adding HLS support to my MythTV Unity scope, but I'm not
> entire sure how I want to configure that yet.
>
> Thanks,
>
> Thomas Mashos
>
>
> That's a pretty sweet idea - I'll have to set up an Ubuntu desktop at home
to try it out. Any plans on something similar for Mac or Windows?


thomas at mashos

Aug 30, 2012, 8:29 AM

Post #4 of 8 (499 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

On Thu, Aug 30, 2012 at 8:21 AM, Matt Emmott <memmott [at] gmail> wrote:
>
>
> On Thu, Aug 30, 2012 at 10:50 AM, Thomas Mashos <thomas [at] mashos> wrote:
>>
>> I plan on adding HLS support to my MythTV Unity scope, but I'm not
>> entire sure how I want to configure that yet.
>>
>> Thanks,
>>
>> Thomas Mashos
>>
>>
> That's a pretty sweet idea - I'll have to set up an Ubuntu desktop at home
> to try it out. Any plans on something similar for Mac or Windows?
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I won't be doing anything for Mac/Windows as I don't use either.

Thanks,

Thomas Mashos
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


dmfrey at gmail

Aug 30, 2012, 8:40 AM

Post #5 of 8 (498 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

Thomas,

We have externalized the Myth Services api as a stand alone Jar file as a
part of MythTV for Android if you are interested.

https://github.com/MythTV-Android/MythTV-Service-API

It is still under development, but HLS is functional.

Dan

On Thu, Aug 30, 2012 at 11:29 AM, Thomas Mashos <thomas [at] mashos> wrote:

> On Thu, Aug 30, 2012 at 8:21 AM, Matt Emmott <memmott [at] gmail> wrote:
> >
> >
> > On Thu, Aug 30, 2012 at 10:50 AM, Thomas Mashos <thomas [at] mashos>
> wrote:
> >>
> >> I plan on adding HLS support to my MythTV Unity scope, but I'm not
> >> entire sure how I want to configure that yet.
> >>
> >> Thanks,
> >>
> >> Thomas Mashos
> >>
> >>
> > That's a pretty sweet idea - I'll have to set up an Ubuntu desktop at
> home
> > to try it out. Any plans on something similar for Mac or Windows?
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users [at] mythtv
> > http://www.mythtv.org/mailman/listinfo/mythtv-users
> >
>
> I won't be doing anything for Mac/Windows as I don't use either.
>
> Thanks,
>
> Thomas Mashos
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>



--
My Google Profile <http://www.google.com/profiles/dmfrey>


thomas at mashos

Aug 30, 2012, 8:58 AM

Post #6 of 8 (499 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

On Thu, Aug 30, 2012 at 8:40 AM, Daniel Frey <dmfrey [at] gmail> wrote:
> Thomas,
>
> We have externalized the Myth Services api as a stand alone Jar file as a
> part of MythTV for Android if you are interested.
>
> https://github.com/MythTV-Android/MythTV-Service-API
>
> It is still under development, but HLS is functional.
>
> Dan
>
> On Thu, Aug 30, 2012 at 11:29 AM, Thomas Mashos <thomas [at] mashos> wrote:
>>
>> On Thu, Aug 30, 2012 at 8:21 AM, Matt Emmott <memmott [at] gmail> wrote:
>> >
>> >
>> > On Thu, Aug 30, 2012 at 10:50 AM, Thomas Mashos <thomas [at] mashos>
>> > wrote:
>> >>
>> >> I plan on adding HLS support to my MythTV Unity scope, but I'm not
>> >> entire sure how I want to configure that yet.
>> >>
>> >> Thanks,
>> >>
>> >> Thomas Mashos
>> >>
>> >>
>> > That's a pretty sweet idea - I'll have to set up an Ubuntu desktop at
>> > home
>> > to try it out. Any plans on something similar for Mac or Windows?
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users [at] mythtv
>> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> >
>>
>> I won't be doing anything for Mac/Windows as I don't use either.
>>
>> Thanks,
>>
>> Thomas Mashos
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
>
>
> --
> My Google Profile
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I've already got basic functionality (listing and playback) working in
the scope, but for HLS I'll need a way to configure the different
options that HLS offers. I appreciate the work you've done on the
MythTV Android app, it's turning out great, but I don't want to have a
dependency on Java if it's not necessary (specifically since all other
parts of it are Python). I'll probably expand the Python library I
created for this if wagnerrp hasn't completed a library to use the API
already.

Thanks,

Thomas Mashos
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


dmfrey at gmail

Aug 30, 2012, 10:47 AM

Post #7 of 8 (493 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

On Thu, Aug 30, 2012 at 11:58 AM, Thomas Mashos <thomas [at] mashos> wrote:

> On Thu, Aug 30, 2012 at 8:40 AM, Daniel Frey <dmfrey [at] gmail> wrote:
> > Thomas,
> >
> > We have externalized the Myth Services api as a stand alone Jar file as a
> > part of MythTV for Android if you are interested.
> >
> > https://github.com/MythTV-Android/MythTV-Service-API
> >
> > It is still under development, but HLS is functional.
> >
> > Dan
> >
> > On Thu, Aug 30, 2012 at 11:29 AM, Thomas Mashos <thomas [at] mashos>
> wrote:
> >>
> >> On Thu, Aug 30, 2012 at 8:21 AM, Matt Emmott <memmott [at] gmail> wrote:
> >> >
> >> >
> >> > On Thu, Aug 30, 2012 at 10:50 AM, Thomas Mashos <thomas [at] mashos>
> >> > wrote:
> >> >>
> >> >> I plan on adding HLS support to my MythTV Unity scope, but I'm not
> >> >> entire sure how I want to configure that yet.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Thomas Mashos
> >> >>
> >> >>
> >> > That's a pretty sweet idea - I'll have to set up an Ubuntu desktop at
> >> > home
> >> > to try it out. Any plans on something similar for Mac or Windows?
> >> >
> >> > _______________________________________________
> >> > mythtv-users mailing list
> >> > mythtv-users [at] mythtv
> >> > http://www.mythtv.org/mailman/listinfo/mythtv-users
> >> >
> >>
> >> I won't be doing anything for Mac/Windows as I don't use either.
> >>
> >> Thanks,
> >>
> >> Thomas Mashos
> >> _______________________________________________
> >> mythtv-users mailing list
> >> mythtv-users [at] mythtv
> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
> >
> >
> >
> >
> > --
> > My Google Profile
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users [at] mythtv
> > http://www.mythtv.org/mailman/listinfo/mythtv-users
> >
>
> I've already got basic functionality (listing and playback) working in
> the scope, but for HLS I'll need a way to configure the different
> options that HLS offers. I appreciate the work you've done on the
> MythTV Android app, it's turning out great, but I don't want to have a
> dependency on Java if it's not necessary (specifically since all other
> parts of it are Python). I'll probably expand the Python library I
> created for this if wagnerrp hasn't completed a library to use the API
> already.
>
> Thanks,
>
> Thomas Mashos
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Thomas,

No problem. I didn't know what you were writing it in.

I look forward to seeing that scope. I will definitely test it out for you.

Dan


--
My Google Profile <http://www.google.com/profiles/dmfrey>


cpinkham at bc2va

Aug 30, 2012, 11:27 AM

Post #8 of 8 (505 views)
Permalink
Re: Any desktop apps that take advantage of HLS yet? [In reply to]

* On Thu Aug 30, 2012 at 08:58:38AM -0700, Thomas Mashos wrote:
> I've already got basic functionality (listing and playback) working in
> the scope, but for HLS I'll need a way to configure the different
> options that HLS offers. I appreciate the work you've done on the

You may be better off waiting until after 0.26 is out and then following
the new developments in master that will go into 0.27. I already have
the basics of on-demand HLS encoding working in a branch on my dev system.
I can already point my iPhone at a URL like the following and the playlist and
.ts segments will automatically be generated on-demand as they are requested
by my phone:

http://BACKENDIP:6544/HLS/some_filename_in_some_StorageGroup.mpg.hlsd.m3u8

That triggers the meta playlist some_filename_in_some_StorageGroup.mpg.hlsd.m3u8
to be generated on the fly. For now, that playlist contains a single link to
the following playlist:

some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.m3u8

Eventually there will be a configuration screen to allow toggling of HLS
profiles or possibly creating new profiles. The player fetches that playlist
and gets segment names like this:

some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.00000001s.m3u8
some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.00000002s.m3u8
some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.00000003s.m3u8
some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.00000004s.m3u8
some_filename_in_some_StorageGroup.mpg.hlsd.480w.500kv.96ka.00000005s.m3u8
...

And those are generated on-demand as the player plays through the stream.

There's no starting/stopping/etc. of streams, all of the above is on-demand.

Once I have this working fully, I'll update my local MythWeb patch to support
playing these via JW Player in MythWeb, but it will also make integration in
any other app as simple as passing a playlist name to the player and the
playlist itself is generated on demand on the backend.

There is also nothing that would prevent a player from going directly to
a playlist with a specified resolution, bitrates, etc.. So if you want the
client to determine the encoding profile, then you just need to pass a
playlist name similar to the following to the player:

http://BACKENDIP:6544/HLS/some_filename_in_some_StorageGroup.mpg.hlsd.640w.500kv.64ka.m3u8

There's no more need for ?BITRATE=640000&ABITRATE=64000&WIDTH=640, etc. anymore,
it's all encoded in the playlist or segment filename requested.

--
Chris
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.