streaming from your fileserver using mpd and icecastTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
If you ever wanted to submit this entry, or entries like it to debian-administration they'd be more than welcome.
i was not sure if my blog article would meet the quality standards of debian-administration, will submit next time.
I am doing such a thing in a different way. My central multimedia server at my home LAN is a vdr streamdev server. Because I sometimes need to watch TV or listen to radio somewhere away from my home LAN, is there a need to first stream the MPEG2 streams (standard TV/radio) and second to compress these into a more bandwidth saving format. The application of choice for this is vlc, since you can easily convert different input and output streams in all possible formats. VLC is available without X11 as package in some distributions.
If the connection to the home LAN is unreliable, then I have experienced that using a single-cast udp to the current location provides better throughput than having a direct connection to the multimedia server. On the server: vlc --intf dummy "$srcURIforstream" ":sout=#transcode{vcodec=h264,vb=$kbits,scale=0.5,threads=2,acodec=mp3,ab=32,channels=1}:duplicate{dst=std{access=udp,mux=ts,dst=udp://$IPofcurlocation:$port" If the "method" is simply changed to "http" and the "dt" to the local listening URI, then vlc opens a HTTP stream server for that input stream to be output. "kbits" needs to be adjusted for the output rate, like "scale" too. All of this are the parameters for the bandwidth usage. "threads" is needed for mp4 encoding. On a simply 3.0Ghz PIV 110% CPU usage were shown by top, but exchanging the CPU to a Core2Duo helped reducing it to 60%. The client is simply: vlc udp://@:$port or vlc http://$homeLAN:$port There are security issues with streaming the raw encoded data over the Internet, but for live data SSH is a bit too slow and wasting too much bandwidth, if you want to compress a 8Mbit/s MPEG2 stream through the 30kbit/s upload of a DSL line, in good PAL quality. It's a cheap open source way to stream TV everywhere. Sincerely, Christoph
there's a crucial typo in your examples;
driver "null" this is wrong, and actually plays the sound out on the server machine through alsa it should be; device "null"
are you sure? in the docs i read this is driver "null" and it works fine here
Add Comment
|
CalendarQuicksearchSupportRecent Entriesprotocol design fail: MMS notification
Wednesday, July 28 2010 acrobat reader stealing my passwords Tuesday, June 29 2010 UnrealIRCd backdoored Saturday, June 12 2010 fail of the day: opera Wednesday, June 9 2010 fail2ban + dns = fail Wednesday, May 26 2010 evolution of spam or WTF is this! Friday, March 19 2010 if you type google into google... Wednesday, March 17 2010 Two weeks with the n900 Monday, February 8 2010 Chomsky garden gnome Wednesday, December 23 2009 wikileaks released 9/11 pager messages Thursday, November 26 2009 CategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging browser bugs cli code config configuration copyright data mining debconf debian dell dns documentation email errm? events fail fail2ban filesharing films flame fun gcc google graphs grml hacking hacks hardware heise images information internet irc knowledge libacpi links linux mail monitoring network networking news newsbeuter nonsense omg openoffice open source opera passwords phrack piratebay privacy programming qa random blurb rant release releases rss scripts security service setup shell software spam ssh stfl stuff terminal tests text mode tip tips tools troubleshooting unix user video vim.editing web web 2.0 websites wordpress wtf www youtube zsh
|