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
|
Calendar
QuicksearchSupportRecent EntriesExploiting the Ubiquisys/SFR femtocell webserver (wsal/shttpd/mongoose/yassl embedded webserver)
Wednesday, August 3 2011 So what happened recently... Wednesday, April 6 2011 Debian 6.0 ‘squeeze’ Sunday, February 6 2011 exim remote vulnerability Thursday, December 9 2010 Will my Phone Show An Unencrypted Connection? Wednesday, September 8 2010 smpCTF 2010 quals writeups Sunday, August 8 2010 protocol 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 ArchivesCategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging bugs c cli code config configuration data mining debconf debian dell dns documentation email errm? events exploit fail fail2ban filesharing films flame fun gcc google graphs grml hacking hacks hardware heise information installation internet irc knowledge libacpi links linux monitoring network networking news newsbeuter nonsense omg openoffice opera passwords php phrack piratebay power privacy programming qa random blurb rant release releases rss scripts security service setup shell sms software spam ssh stfl stuff terminal tests text mode tip tips tools troubleshooting user video vim.editing web websites wikipedia wordpress wtf www youtube zsh
|
|||||||||||||||||||||||||||||||||||||||||||||||||