hi -
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")
output.icecast(%vorbis,host="studio.kiben.net",port=8000,
mount="newrk.ogg",
password="xxxxxxx",
fallible=true,
ma)
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users