[mythtv] Web streaming video player module

Daniel Kristjansson danielk at cuymedia.net
Mon Jan 21 21:21:08 UTC 2008


On Mon, 2008-01-21 at 14:38 -0500, brian boyle wrote:
> Good afternoon folks.
> 
>   I am the director of IT and broadcasting operations at a broadcaster
> in Canada. I have proposed to my exec team that we make a module for
> Mythtv allowing it to stream movies from our web site directly to
> Mythtv. They thought it would be a good idea and I wanted to see if
> you also thought this would be a good idea. I figure the more sources
> of entertainment the better, and free content is good. I would have my
> software engineer write the code but I want to make sure it would be
> of use to everyone. 
> 
> For reference I have been using Myth since version.14 and have been
> totally hooked since the very first day I started. Now I have two
> front ends and I just built my third.
> 
> 
> Please let me know what you think. 

That would be great. MythTV supports a few IPTV formats in the
IPTV Recorder. So modifying that to fit your streaming needs
would be the best way to go. The core iptv stuff is in the
libs/libmythtv/iptv directory, and the example of using it
is in libs/libmythtv/iptvrecorder.{cpp,h} and
libs/libmythtv/iptvchannel.{cpp,h}. There are directions
in the iptv directory readme's on how to set up basic VLC
streaming for both RTSP and UDP streaming. (RTP should work
as well.)

There might be a few UI issues to iron out with how to select
programs for streaming, since the MythTV recording paradigm is
so much based on one program per channel per time slot. Each
streaming source should probably be treated as "Video Source"
which shows the same program repeatedly on each channel. Your
broadcaster would be one such "Video Source".

-- Daniel




More information about the mythtv-dev mailing list