[ 
http://dev.sourcefabric.org/browse/LS-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Beauxis resolved LS-350.
-------------------------------

    Resolution: Fixed

external encoder code has been completely rewritten and we now have a builtin 
stable aacplus encoder.. Reopen if needed though..

> Can not use aacplusenc in background
> ------------------------------------
>
>                 Key: LS-350
>                 URL: http://dev.sourcefabric.org/browse/LS-350
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>            Assignee: Romain Beauxis
>            Priority: Blocker
>
> Hy my problem is folowing.
> I installed liquidsoap 0.9.2 on a debian and a centos 5.3 server.
> Everything is ok when i start liquidsoap in terminal, but when i start in 
> background (./stream.liq &) liquidsoap won't connect to mu icecast and 
> shoutcast server
> {{{
> 2010/01/11 15:24:44 >>> LOG START
> 2010/01/11 15:24:44 [protocols.external:3] Didn't find "ufetch"
> 2010/01/11 15:24:44 [protocols.external:3] Found "/usr/bin/wget"
> 2010/01/11 15:24:44 [main:3] Liquidsoap 0.9.2
> 2010/01/11 15:24:44 [harbor:3] Adding mountpoint '/' to list...
> 2010/01/11 15:24:44 [decoder:3] Decoder MP3 chosen for 
> "/home/liquidsoap/test.mp3".
> 2010/01/11 15:24:44 [single:3] "/home/liquidsoap/test.mp3" is static, 
> resolving once for all...
> 2010/01/11 15:24:44 [threads:3] Created thread "non-blocking queue #1".
> 2010/01/11 15:24:44 [threads:3] Created thread "generic queue #1".
> 2010/01/11 15:24:44 [threads:3] Created thread "root" (1 total).
> 2010/01/11 15:24:44 [root:3] Waking up active nodes...
> 2010/01/11 15:24:44 [jingles(dot)lst:3] Loading playlist...
> 2010/01/11 15:24:44 [jingles(dot)lst:3] No mime type specified, trying 
> autodetection.
> 2010/01/11 15:24:44 [jingles(dot)lst:3] Playlist treated as format 
> audio/x-mpegurl
> 2010/01/11 15:24:44 [jingles(dot)lst:3] Successfully loaded a playlist of 7 
> tracks.
> 2010/01/11 15:24:44 [decoder:3] Decoder MP3 chosen for 
> "/home/liquidsoap/jingles/106.1-14.mp3".
> 2010/01/11 15:24:44 [playlist(dot)lst:3] Loading playlist...
> 2010/01/11 15:24:44 [playlist(dot)lst:3] No mime type specified, trying 
> autodetection.
> 2010/01/11 15:24:44 [playlist(dot)lst:3] Playlist treated as format 
> audio/x-mpegurl
> 2010/01/11 15:24:44 [playlist(dot)lst:3] Successfully loaded a playlist of 
> 163 tracks.
> 2010/01/11 15:24:44 [jingles(dot)lst:3] Prepared 
> "/home/liquidsoap/jingles/106.1-14.mp3" (RID 2).
> 2010/01/11 15:24:44 [high(dot)aac:2] Creating external encoder..
> 2010/01/11 15:24:44 [high(dot)aac:3] Connecting mount high.aac for 
> source@localhost...
> }}}
> Here is my conf
> {{{
> #!/usr/local/bin/liquidsoap
> # Log dir
> set("log.file.path","/tmp/basic-radio.log")
> set("log.stdout",false)
> #set("log.level",5)
> #Live Input
> set("harbor.bind_addr","0.0.0.0")
> set("harbor.port", 8700)
> set("harbor.password","xxx")
> set("harbor.icy", true)
> live = input.harbor("/")
> def highaacenc(_) = "aacplusenc - - 64" end
> #Sources
> myplaylist = playlist("/home/liquidsoap/playlist.lst")
> jingles = playlist("/home/liquidsoap/jingles.lst")
> radio = myplaylist
> #Rotate, Crossafde, Normalize
> radio = rotate(weights = [1,1],[delay(1.,jingles), radio])
> radio = eat_blank(threshold=-30.,length=3.,radio)
> radio = normalize(radio)
> radio = crossfade( start_next = 1.5, fade_out = 1., fade_in = 0., radio)
> radio = compress(attack=25., release=250., 
> threshold=-15.,ratio=3.,gain=5.,normalize(radio))
> security = single("/home/liquidsoap/test.mp3")
> radio = fallback(track_sensitive = false, [live, radio, security])
> radio = rewrite_metadata([("artist", "Arena") , ("title","Teszt Adas"),
>                       ("comment","http://arenaradio.net";)],radio)
> # AAC+ output (64kbs CBR)
> output.icecast.external( restart = true,
>                          restart_on_crash = true,
>                          process = highaacenc,
>                          host = "localhost",
>                          port = 8000,
>                          password = "xxx",
>                          mount = "high.aac",
>                          header = true,
>                          bitrate =64,                                         
>                   
>                          radio ) 
> }}}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à