[mythtv-users] Command line to stream audio/video from net

Josh TwoOneSix at thatclothingco.com
Wed Jan 9 13:40:43 UTC 2008


On Jan 9, 2008 1:44 AM, Phill Edwards <philledwards at gmail.com> wrote:

> > The menu part is easy since I know how to launch a command from a menu
> item.
> >  BUT....does anyone know how to start a stream from the command line?
>
> Mplayer can play streams so you could just create menu items that
> invoke mplayer.
>
> Alternatively you could do the following:
> 1) Create a playlist file (extension .m3u I think) which contains the
> URL of the stream.
> 2) Create a mythvideo entry that has a custom command line to call
> invoke mplayer with the playlist file. In that command line you can
> also tell it how much to buffer before it starts plaaying etc. I have
> an example at home if you'd like me to post it later.
>
> Regards,
> Phill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


MythStream may seem like overkill, but you'll spend more time setting up
your Myth menu and building scripts to handle the streams then you will by
simply installing mythstream and setting up a couple of streams in the
configuration and given the fact it only takes a few minutes to build
scripts, that's saying a lot. When I was working on somehow adapting a few
of my stream ideas into Myth I avoided mythstream because, like you, I felt
it was overkill but once I played with it for a few minutes, I ended up just
using it from that point on. I ended up going so far as to write a couple of
parsers but it's just as simple to setup 1 or 2 static streams. Sure the
interface is a little quirky but even my girlfriend picked up on it quickly
once I showed her how it worked.

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080109/59be37d0/attachment.htm 


More information about the mythtv-users mailing list