Nick Rout wrote:
I will concentrate on the realplayer stream, but the technique would be
the same for the windows media stream
1. the link for the live realplayer stream is
http://www.nasa.gov/ram/35037main_portal.ram
wget that file and when you look inside you will see this:
[EMAIL PROTECTED] ~ $ cat 35037main_portal.ram
rtsp://rmbcast.nasa-us2e.speedera.net/alias_ashburn1_btn_2/broadcast/rmbcast.nasa-us2e/rmbcast_nasa-us2e_dec312003_0922_52880.rm
rtsp://rmbcast.nasa-us1e.speedera.net/alias_ashburn1_btn/encoder/rmbcast.nasa-us1e/rmbcast_nasa-us1e_jan022004_1034_93365.rm
rtsp://rmbcast.nasa-us2e.speedera.net/alias_ashburn1_btn_2/broadcast/rmbcast.nasa-us2e/rmbcast_nasa-us2e_dec312003_0922_52880.rm
rtsp://rmbcast.nasa-us1e.speedera.net/alias_ashburn1_btn/encoder/rmbcast.nasa-us1e/rmbcast_nasa-us1e_jan022004_1034_93365.rm
2. mplayer shoulds play any of those streams, ie:
mplayer \
rtsp://rmbcast.nasa-us1e.speedera.net/alias_ashburn1_btn/encoder/rmbcast.nasa-us1e/rmbcast_nasa-us1e_jan022004_1034_93365.rm
should work, if you have mplayer properly compiled and configured. Test
it!
4. put a zero length file (call it, say, nasa.avi) in the directory
where you normally put your mythvideo files.
5. goto the mythvideo setup screen and set a custom play line for nasa.avi like:
mplayer (other mplayer options you use) rtsp://rmbcast.nasa-us1e.speedera.net/alias_ashburn1_btn/encoder/rmbcast.nasa-us1e/rmbcast_nasa-us1e_jan022004_1034_93365.rm
You could do it a bit more generally...make a shell script called
playram.sh:
----snip----
#!/bin/bash
fn=$@
url=`/bin/cat $fn`
mplayer {whatever mplayer args} -playlist $i
----snip----
Next, go to mythvideo setup and set the play line for .ram files to
playram.sh.
Now, for each realaudio stream you want to use, create a file containing
the .ram URL....for instance, for NASA:
File NASA.ram:
----snip----
http://www.nasa.gov/ram/35037main_portal.ram
----snip----
Note that your mplayer must be compiled with Live and network support
for this to work...
--
Matt White [EMAIL PROTECTED]
Arts and Science Computer Labs University of Saskatchewan
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users