Re: [slim] Any ideas why this stream won't play?
All below are quick hacks and am sure there is unnecessary code/rubbish there. With these files and the Xplay plugin the 3 stream played OK on LMS for 10 secs - they may break down on longer playing. For command line/batch file use cvlc and not vlc - this avoids some console/video actions. For windows you could try to use cvlc direect instead of an intermediate shell script/batch file xplay.sh . VLC doesn't like to die so the xplay.sh was necessary in linux to kill it once LMS has stopped the stream. Also for Windows you'll probably be using dst=#PIPE# The command line below will transcode the audio stream into flac - it does not resample or change other aspects of the audio even though the params seems to indicate it will. Code: # Xplay - unix version # # xplay flc * * # F:{PATH=%f}R:{PATH=%F} [xplay.sh] $PATH$ -I dummy -q --no-sout-video --sout '#transcode{acodec=flac,channels=2,ab=128,samplerate=44100}:standard{access=file,mux=dummy,dst=-}}' vlc://quit - For Linxu the xplay.sh looks like Code: #!/bin/sh scriptpid=$$ apppid=/tmp/.playxplay-app.$$.pid app=cvlc if [ -e ${11} ] ; then echo Local File: Launching $app $@ 2 $app $@ exit fi echo Streaming: Launching $app $@ 2 ( $app $@ echo $! $apppid wait rm -f $apppid kill $scriptpid 2 /dev/null ) /dev/null cat /dev/null if [ -s $apppid ] ; then kill `cat $apppid` 2 /dev/null fi bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=97542 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Any ideas why this stream won't play?
Just for the record the three streams are in HLS format - HTTP Live Streaming a method developed by Apple originally intended to allow live video stream to be sent over standard http port 80 (i.e. no firewalls, no special protocols). The stream is broken into chunks of short duration 5-10sec and player plays this endless playlist of small files. It is being formalised in IETF as a multi media streaming protocol. That said, using HLS for low grade audio is not appropriate. See Wiki entry for details on players and servers http://en.wikipedia.org/wiki/HTTP_Live_Streaming#Supported_players_and_servers bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=97542 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Possible to record radio stream?
Replay Media Catcher works a treat. http://applian.com/replay-media-catcher/ LMS on a dedicated music server (FitPC2) Transporter (ethernet) - main music listening, Onkyo receiver, Paradigm speakers Duet (wifi) - home theatre 5.1, Sony receiver, Energy speakers Boom 1 (wifi) - workspace Boom 2 (wifi) - various (deck, garage, etc.) Radio (wifi) - home office Touch x 2 - awaiting deployment UE Radio - awaiting deployment Control - 2 Controllers (main listening, home theatre, all others), Squeeze Remote (on Surface Pro 2), Music2Touch (BB Playbook) RonM's Profile: http://forums.slimdevices.com/member.php?userid=17029 View this thread: http://forums.slimdevices.com/showthread.php?t=101955 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Possible to record radio stream?
Take a look at Audacity. Many use it for editing but it also records streaming audio. It's free. Link below. http://audacity.sourceforge.net/about/features dasmueller's Profile: http://forums.slimdevices.com/member.php?userid=38035 View this thread: http://forums.slimdevices.com/showthread.php?t=101955 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Possible to record radio stream?
I've found dar.fm to be unreliable. They have also slowly removed features from the free version over the last few years. I now use streamripper which is a simple tool that can be run from cron. Mark Miksis's Profile: http://forums.slimdevices.com/member.php?userid=529 View this thread: http://forums.slimdevices.com/showthread.php?t=101955 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Possible to record radio stream?
You can use squeezelite as a player set up to send output to stdout and this audio output can be saved in a file. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=101955 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Any ideas why this stream won't play?
bpa wrote: All below are quick hacks and am sure there is unnecessary code/rubbish there. With these files and the Xplay plugin the 3 stream played OK on LMS for 10 secs - they may break down on longer playing. For command line/batch file use cvlc and not vlc - this avoids some console/video actions. For windows you could try to use cvlc direect instead of an intermediate shell script/batch file xplay.sh . VLC doesn't like to die so the xplay.sh was necessary in linux to kill it once LMS has stopped the stream. Also for Windows you'll probably be using dst=#PIPE# The command line below will transcode the audio stream into flac - it does not resample or change other aspects of the audio even though the params seems to indicate it will. Code: # Xplay - unix version # # xplay flc * * # F:{PATH=%f}R:{PATH=%F} [xplay.sh] $PATH$ -I dummy -q --no-sout-video --sout '#transcode{acodec=flac,channels=2,ab=128,samplerate=44100}:standard{access=file,mux=dummy,dst=-}}' vlc://quit - I am running Window XP and 7. I saw a couple of files custom-convert.conf and redxii-custom-convert.conf. I did not see xplay.sh file ( you said this is only unix),so we are ok so far ;) I created a VLC window link in the bin directory ( under xplay). Window calls it VLC media player.lnk and changed the following in both convert files from Code: xplay flc * * # F:{PATH=%f}R:{PATH=%F} [mplayer] -really-quiet -vc null -vo null -rtsp-stream-over-tcp -ao pcm:waveheader:file=#PIPE# $PATH$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes - to Code: xplay flc * * # F:{PATH=%f}R:{PATH=%F} [VLC media player.lnk] -I dummy -q --no-sout-video --sout '#transcode{acodec=flac,channels=2,ab=128,samplerate=44100}:standard{access=file,mux=dummy,dst=-}}' $PATH$ vlc://quit - note I had to change the position of $PATH$ from what you had ? I tried the basic command on command line and seems to work without the transcode. But I could not get it to play in squeezeserver and there were no error logged... So after few hours of fiddling, I thought I would ask for help... VLC itself is under c:\program files (x86)\videolan\vlc\ but the link works ok from bin. ( unless Squeezecenter shell has issues with the spaces in the name ?) also for windows, cvlc is really a batch file with one command VLC -I dummy which you are using... So that is all the same. Any hint to progress me would be appreciated. Also once we push through the first hurdle... ( if we do ;) what would be the changes I need to do to make a folder XplayV ( so Squeezecenter sees it as a new plugin XplayV, and that responds to XplayV:// commands). We can keep all the internal variables and html the same, I am only interested in declaring it as a new plug in that responds to a new command. This way I can load both of them. ( if it is easier for you than explaining it... just send me an XplayV folder ) ( all of this is low priority, so if you are busy I can totally get it... But seems like VLC is very powerful going forward and the way to go.) Also on the stream format, I totally get that this is a video format totally inappropriate, but seems like it is easy to build a radio streaming service with it, maybe that is why they use it ? Thanks again. mitrih's Profile: http://forums.slimdevices.com/member.php?userid=7800 View this thread: http://forums.slimdevices.com/showthread.php?t=97542 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Any ideas why this stream won't play?
Why didn't you change the dst=#PIPE# like I suggested ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=97542 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss