On 02/05/2013 01:12 AM, Romain Beauxis wrote: > Hi Rob! > > 2013/2/2 [email protected] <[email protected]>: >> am having some problems with input.external, >> >> input.mplayer had no -playlist so i made a new def called mplayerpls >> >> i simply copied input.mplayer and added the playlist flag >> now when i listen to the ogg mountpoint it is noisy - sounds like a >> combination of raw data and the original stream source getting piped to >> the output >> >> i am guessing i am missing some encoding step and the raw pcm is ending >> up inside a ogg container?? dunno.. >> >> any pointers? code below: >> >> (i am trying to get a bunch of ugly streams in to liquidsoap realaudio >> and the like - is the mplayer approach the best way to go?) >> >> rob >> rob@tzara:~$ liquidsoap --version >> Liquidsoap 1.0.0+scm (default@8c2ac2194e8c:20120125:093126) >> rob@tzara:~$ uname -a >> Linux tzara 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64 >> GNU/Linux >> >> >> #!/usr/local/bin/liquidsoap >> >> set("log.level",5) >> set("log.file.append",true) >> set("log.file.path","/var/log/liquidsoap/newrk.log") >> set("log.file.perms",384) >> >> def input.mplayerpls(~id="input.mplayerpls", >> ~restart=true,~restart_on_error=false, >> ~buffer=0.2,~max=10.,s) = >> input.external(id=id,restart=restart, >> restart_on_error=restart_on_error, >> buffer=buffer,max=max, >> "mplayer -really-quiet \ >> -ao pcm:file=/dev/stdout \ >> -vc null -vo null -playlist #{quote(s)} \ >> 2>/dev/null") >> end >> >> ma = >> input.mplayerpls("http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-128k") > What happens if you manually do something like: > mplayer -really-quiet -ao pcm:file=/tmp/bla.wav -vc null -vo null > -playlist uri > > Is the resulting /tmp/bla.wav file ok?
sorry - its all good now :/ working like a dream, not sure what changed - all i can think is that i had some bad monitoring situation locally - sorry about that. i am about to build latest git source to try out opus and gstreamer stuff - i downloaded ubuntu12.10 on my local machine so thats fine - will be a bit trickier on debian server to get the gstreamer1.x working maybe - will there be a debian package in your own repos for the new upcoming release? thanks rob > > Romain ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
