[mythtv] How to integrate streaming content

Kevin Kuphal kevin.kuphal at myrealbox.com
Wed Jan 7 15:57:32 EST 2004


Here are some quick thoughts (and I'm a new to mythtv user so I'm certainly
no expert)

For streaming video, extend MythVideo so that you can insert stream
information (URL, title, description, whatever) as a "video" into the
database that can be played using whatever player is available (or if
necessary, defined along with the stream).  This would allow the content to
be browsed and listed along with regular videos and enjoy any enhancements
to that process that come along.  Just instead of playing a file, you play a
stream.

For streaming audio, extend MythMusic in a similar way.  Most streaming
content I've seen has an ability to launch from a small text file (ram, etc)
that contain the actual URLs of the streams.  If you were to write a
MythMusic decoder that could read and decode those files and their resulting
streams, you could easily integrate that into MythMusic.  The thing with
MythMusic is that it does not use external players so integration would
require implementing the streamer in a decoder.  Libavformat/libavcodec do
support some streaming formats and my recent patch to MythMusic for WMA
files uses those libraries and may be a good starting point.

Kevin

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org 
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Eric
> Sent: Wednesday, January 07, 2004 1:44 PM
> To: mythtv-dev at mythtv.org
> Subject: [mythtv] How to integrate streaming content
> 
> 
> 
> In my post "mythradio becomes mythstream" (31 dec 07:32) I 
> asked for advice 
> about mythtv design requirements, hoping mythstream 
> functionality can be 
> included in mythtv. I received no reply yet.
> 
> My first post, about mythradio, was replied upon by Isaac - 
> without including 
> my mailadres in his reply, indicating he didn't want an 
> answer. He stated 
> that making the code official would require integration with 
> mythmusic. 
> I can do that, by removing the video functionality and 
> "glueing" things 
> together.
> 
> But to go beyond that first thought, I need more feedback. Like: 
> just putting the stream gui behind the mythmusic button 
> doesn't seem a proper 
> solution to me. Am I correct? How far should the integration 
> go? What about 
> adding the streaming video part into mythvideo? And in that 
> case: is a 
> "handover" of stream URL's between audio and video parts 
> acceptable, and on 
> what level? Of course I don't expect explicit answers to all 
> these questions, 
> by stating them I just wanted to clarify my request for feedback.
> 
> Thanks in advance
> Eric.
> 
> 
> 
> 
> 
> 
> 
> 
> 




More information about the mythtv-dev mailing list