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 Entries
CategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging bugs c cli code conferences config configuration data mining debconf debian dell dns documentation email errm? events exploit fail fail2ban filesharing films flame fun gcc google graphs grml gsm hacking hacks hardware heise images information installation internet irc knowledge libacpi links linux mobile phones network news newsbeuter omg open source opera passwords php 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 unix user video vim.editing web web 2.0 websites wordpress wtf www youtube zsh
|