Need help to build liquidsoap
  • Hi

    I need to transcode to aac when streaming

    So i have followed the wiki to build liquidsoap, but i don't know where to copy the new builded folder

    thanks
    Post edited by lechevo at 2012-08-26 09:26:58
  • 49 Comments sorted by
  • You simply need to copy the liquidsoap binary file src/liquidsoap from some place on your drive. Then use the following commands:

    rm /usr/bin/airtime-liquidsoap
    ln -s /path/to/custom/liquidsoap /usr/bin/airtime-liquidsoap
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    do a rm is not perhaps a good idea ;-)

    mv /usr/bin/artime/liquidsoap usr/bin/airtime/liquidsoap-old

    is more secure ;-)
  • Thanks

    One last thing
    then I need to modify my ~/airtime/pypo/scripts/ls_config.liq to make the change
    mountpoints
    mount_point_mp3 = "airtime.mp3"
    mount_point_vorbis = "airtime.ogg"
    ###mount_point_aacplus = "airtime.aacp"


    but i can't find this file
    Post edited by lechevo at 2012-08-26 17:52:36
  • Albert FR said:

    do a rm is not perhaps a good idea ;-)

    mv /usr/bin/artime/liquidsoap usr/bin/airtime/liquidsoap-old

    is more secure ;-)



    It is simply a symlink, so it is ok :)
    Airtime Pro Hosting: http://airtime.pro
  • Reply to @lechevo:


    Those instructions are a little out of date. 

    Now that you've compiled Liquidsoap with AAC plus support, I think it is simple enough to just open /usr/lib/airtime/pypo/bin/ls_scripts/ls_lib.liq and replace "%mp3" with "%aac+" on all lines between 95 and 115.

    This will play AAC+ whenever you choose MP3 via the Airtime web UI which is a temporary hack until we bring in better support for alternative streaming formats.


    Airtime Pro Hosting: http://airtime.pro
  • hi
    i have made the changes, then i restarted airtime and liquidsoap 
    and i can't hear any sound when i stream
    here is what i can see in the /var/log/airtime/pypo/pypo.log

    2012-08-28 11:20:40,895 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again
    2012-08-28 11:20:41,897 DEBUG - [pypocli.py : liquidsoap_running_test() : line 125] - Checking to see if Liquidsoap is running
    2012-08-28 11:20:41,897 ERROR - [pypocli.py : liquidsoap_running_test() : line 135] - [Errno 111] Connection refused
    2012-08-28 11:20:41,897 WARNING - [pypocli.py : <module>() : line 168] - Liquidsoap not started yet. Sleeping one second and trying again

    and in the /var/log/airtime/pypo/notify.log
    2012-08-28 04:00:44,022 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 83] - #################################################
    2012-08-28 04:00:44,022 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 84] - # Calling server to update liquidsoap status    #
    2012-08-28 04:00:44,022 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 85] - #################################################
    2012-08-28 04:00:44,022 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 86] - msg = could not write data to host: Connection reset by peer in write()
    2012-08-28 04:00:44,107 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 88] - Response: null
    2012-08-28 04:00:49,189 DEBUG - [pyponotify.py : notify_liquidsoap_status() : line 83] - #################################################

    Post edited by lechevo at 2012-08-28 05:24:15
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    have you try service airtime-playout start before ?
  • yes 
     sudo invoke-rc.d airtime-playout status
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-042stab055.16
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 3145728
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.1.3
    OS                             = Debian GNU/Linux 6.0.5 (squeeze) x86_64
    CPU                            = Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
    WEB_SERVER                     = Apache
    PLAYOUT_ENGINE_PROCESS_ID      = 4641
    PLAYOUT_ENGINE_RUNNING_SECONDS = 15
    PLAYOUT_ENGINE_MEM_PERC        = 0.3%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = -1
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = 18724
    MEDIA_MONITOR_RUNNING_SECONDS  = 7616
    MEDIA_MONITOR_MEM_PERC         = 0.4%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    RABBITMQ_PROCESS_ID            = 946
    RABBITMQ_RUNNING_SECONDS       = 158421
    RABBITMQ_MEM_PERC              = 0.9%
    RABBITMQ_CPU_PERC              = 0.0%

    and

    sudo monit status
    The Monit daemon 5.1.1 uptime: 1d 20h 6m

    Process 'rabbitmq-server'
      status                            running
      monitoring status                 monitored
      pid                               946
      parent pid                        1
      uptime                            1d 20h 6m
      children                          3
      memory kilobytes                  28932
      memory kilobytes total            30516
      memory percent                    0.9%
      memory percent total              0.9%
      cpu percent                       0.0%
      cpu percent total                 0.0%
      data collected                    Tue Aug 28 13:23:35 2012

    Process 'airtime-playout'
      status                            PID changed
      monitoring status                 monitored
      pid                               6105
      parent pid                        1
      uptime                            0m
      children                          0
      memory kilobytes                  12352
      memory kilobytes total            12352
      memory percent                    0.3%
      memory percent total              0.3%
      cpu percent                       0.0%
      cpu percent total                 0.0%
      data collected                    Tue Aug 28 13:23:35 2012

    Process 'airtime-media-monitor'
      status                            running
      monitoring status                 monitored
      pid                               18724
      parent pid                        1
      uptime                            2h 13m
      children                          0
      memory kilobytes                  13180
      memory kilobytes total            13180
      memory percent                    0.4%
      memory percent total              0.4%
      cpu percent                       0.2%
      cpu percent total                 0.2%
      data collected                    Tue Aug 28 13:23:35 2012

    Process 'airtime-liquidsoap'
      status                            Does not exist
      monitoring status                 monitored
      data collected                    Tue Aug 28 13:23:36 2012

    System 'acmslt'
      status                            running
      monitoring status                 monitored
      load average                      [0.56] [0.82] [0.49]
      cpu                               0.0%us 0.0%sy 0.0%wa
      memory usage                      0 kB [0.0%]
      data collected                    Tue Aug 28 13:23:36 2012

    Post edited by lechevo at 2012-08-28 07:24:17
  • please ...
  • Run

    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    and it will tell you what is wrong with the modification. You can also post the output here.
    Airtime Pro Hosting: http://airtime.pro
  • Are you sure i need to do 
    "%mp3" with "%aac+"
    or 
    "%mp3" with "%aacp"

    Post edited by lechevo at 2012-08-29 12:44:53
  • Maybe here is the problem 
    dpkg-reconfigure airtime
    ...
    Liquidsoap symlink points to the wrong place, fixing it!

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    ln -s /usr/bin/liquisoap /usr/bin/airtime-liquidsoap
  • Hey, I got this:

    root@airtime1:/usr/lib/airtime/pypo/bin/liquidsoap_scripts# sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    sudo: unable to resolve host airtime1
    Error in encoding format at
      /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq, line 126, char 74-77:
      unknown parameter name or invalid parameter value.
  • Simply look at line 126 in  /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq and post here :)
    Airtime Pro Hosting: http://airtime.pro
  • Hi,
    I have modified ls_lib.liq such that i will get tile of stream as artist|title. But it is not getting reflected. I am getting it as artist - title. Please help me. Below is the method i changed. After changing i have restarted airtime also.

    def append_title(m) =
     log("Using stream_format #{!stream_metadata_type}")
      if !stream_metadata_type == 1 then
        [("title", "#{!show_name} - #{m['artist']} - #{m['title']}")]
      elsif !stream_metadata_type == 2 then
        [("title", "#{!station_name} - #{!show_name}")]
      elsif !stream_metadata_type == 0 then
        log("In Case Of 0")
        [("title", "#{m['artist']}|#{m['title']}")]
      else
        log("Using New stream_format #{!stream_metadata_type}")
        [("title", "#{m['artist']}|#{m['title']}")]
      end
    end

  • Anyone out there have reliable success with he-aac on 2.3 + LS 1.1.0 yet? When I tried this with the previous versions, liqsoap broke the connection or restarted between each and every track. Super annoying. :(
    Post edited by Roger Wilco at 2013-02-27 11:51:27
  • which AAC encode were you using? AFAIK there are 6 different versions for Linux.
    Airtime Pro Hosting: http://airtime.pro
  • Hi,

    I have modified ls_lib.liq such that i will get tile of stream as artist|title. But it is not getting reflected. I am getting it as artist - title. Please help me. Below is the method i changed. After changing i have restarted airtime also.

    def append_title(m) =
     log("Using stream_format #{!stream_metadata_type}")
      if !stream_metadata_type == 1 then
        [("title", "#{!show_name} - #{m['artist']} - #{m['title']}")]
      elsif !stream_metadata_type == 2 then
        [("title", "#{!station_name} - #{!show_name}")]
      elsif !stream_metadata_type == 0 then
        log("In Case Of 0")
        [("title", "#{m['artist']}|#{m['title']}")]
      else
        log("Using New stream_format #{!stream_metadata_type}")
        [("title", "#{m['artist']}|#{m['title']}")]
      end
    end



    Try "sudo service airtime-liquidsoap restart"
    Airtime Pro Hosting: http://airtime.pro
  • which AAC encode were you using? AFAIK there are 6 different versions for Linux.



    libaacplus2 - although if there's a better one out there, I'd love to hear it.
  • Now that you mention it, there used be a bug where Liquidsoap crashed after every track with AAC. I believe this has been fixed though. Why don't you try again, and let us know how it goes. We will be looking into implementing AAC HE support soon, and could learn from your experience on the best approach as well as encoder.

    Steps to get latest version of Liquidsoap are available here:

    Airtime Pro Hosting: http://airtime.pro

  • Now that you mention it, there used be a bug where Liquidsoap crashed after every track with AAC. I believe this has been fixed though. Why don't you try again, and let us know how it goes. We will be looking into implementing AAC HE support soon, and could learn from your experience on the best approach as well as encoder.


    Steps to get latest version of Liquidsoap are available here:



    Has this been tested to work with LS1.1.0?

    *** bootstrapping ocaml-cry
    /bin/sh: 1: ./bootstrap: not found
    make: *** [ocaml-cry/configure] Error 127

  • There appears to be a problem with the Liquidsoap repository at the moment.
    Airtime Pro Hosting: http://airtime.pro
  • Ah! That explains that! Repo issue aside, to get going with 1.1.0 and 2.3 then, is this the best install sequence?

    sudo nano /etc/apt/sources.list
    deb http://apt.sourcefabric.org/ precise main

    sudo apt-get update
    [make/install libaacplus]

    [make/install ls]
    append:
    sed -i "s/#ocaml-aacplus/ocaml-aacplus/g" PACKAGES

    sudo apt-get install sourcefabric-keyring

    sudo apt-get install postgresql

    sudo apt-get install airtime



    Voila‽
  • You will also need to install the aacplusenc library. You can get it from medibuntu:


    It's not a free package and therefore not in the Ubuntu/Debian repositories.
    Airtime Pro Hosting: http://airtime.pro
  • Actually appears that you need to get the library from here:


    Download:

    Edit:

    Verified as working - download version 2.0.2 untar it and then run

    ./autogen.sh
    ./configure
    make
    sudo make install
    Post edited by Martin Konecny at 2013-03-06 16:11:19
    Airtime Pro Hosting: http://airtime.pro
  • This happened, too...

    W: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main amd64 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-amd64_Packages)
    W: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main i386 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems

  • Actually appears that you need to get the library from here:



    Download:

    Edit:

    Verified as working - download version 2.0.2 untar it and then run

    ./autogen.sh
    ./configure
    make
    sudo make install
    Got that part down!

    The core commands over here are/is actually some sort of script, isn't it?
  • This happened, too...

    W: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main amd64 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-amd64_Packages)
    W: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main i386 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems



    Not sure how that happened, but there is something wrong with your /etc/apt/sources.list file. You need to check which architecture your OS is targetting (amd64 or i386), and then remove the incorrect line.
    Airtime Pro Hosting: http://airtime.pro
  • Actually appears that you need to get the library from here:



    Download:

    Edit:

    Verified as working - download version 2.0.2 untar it and then run

    ./autogen.sh
    ./configure
    make
    sudo make install
    Got that part down!

    The core commands over here are/is actually some sort of script, isn't it?


    Yes it is a script. You could simply paste it into a file, and then run "bash script.sh" to execute it.
    Airtime Pro Hosting: http://airtime.pro
  • Toronto... we have lift off... :)

    Well, sort of. %mp3 connects and works fine but LS simply refuses to start if I change things over to %aacp. What's the proper full syntax? Tried following this and some minor variations and couldn't get it to respond.
    Post edited by Roger Wilco at 2013-03-07 13:01:49
  • Try 

    %aacplus(bitrate=64)
    Airtime Pro Hosting: http://airtime.pro
  • ignore(output_stereo(%aacplus(bitrate = 24), !source))

    No dice :(
  • Try running

    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    and post the output.
    Airtime Pro Hosting: http://airtime.pro
  • File "/usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq", line 132, char 76 before ")": Parse error!

    EDIT: Still sorting out the syntax errors...

    At /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq, line 146, char 40-61:
      this value has type
        format(audio=2+_,...)
      but it should be a subtype of
        format(audio=1,...)

    Post edited by Roger Wilco at 2013-03-07 18:51:31
  • current ls_lib.liq
    -----
           if type == "mp3" then
                if bitrate == 24 then
                    if stereo then
                        ignore(output_stereo(%aacplus(bitrate = 24), !source))
                    else
                        ignore(output_mono(%aacplus(bitrate = 24, channels = 1), mean(!source)))
                    end
                elsif bitrate == 32 then
                    if stereo then
                        ignore(output_stereo(%aacplus(bitrate = 32), !source))
                    else
                        ignore(output_mono(%aacplus(bitrate = 32, channels = 1), mean(!source)))
                    end
                elsif bitrate == 48 then
                    if stereo then
                        ignore(output_stereo(%aacplus(bitrate = 48), !source))
                    else
                        ignore(output_mono(%aacplus(bitrate = 48, channels = 1), mean(!source)))
                    end
                elsif bitrate == 64 then
                    if stereo then
                        ignore(output_stereo(%aacplus(bitrate = 64), !source))
                    else
                        ignore(output_mono(%aacplus(bitrate = 64, channels = 1), mean(!source)))
                    end






    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    2013/03/07 23:55:22 >>> LOG START
    2013/03/07 23:55:22 [protocols.external:3] Found "/usr/bin/wget".
    2013/03/07 23:55:22 [main:3] Liquidsoap 1.1.0+scm (git://github.com/savonet/liquidsoap.git@114d1fa908fc9e02547f0de540c11d127d5964cd:20130307:021925)
    2013/03/07 23:55:22 [main:3] Using: graphics=[distributed with Ocaml] pcre=6.2.3 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 ogg=0.4.4 vorbis=0.6.1 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1 aacplus=0.2.1 alsa=0.2.1 ao=0.2.0 taglib=0.3.0 camomile=0.8.3 faad=0.3.2 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 camlimages=4.0.0
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [main:2] DISCLAIMER: This version of Liquidsoap has been
    2013/03/07 23:55:22 [main:2] compiled from a snapshot of the development code.
    2013/03/07 23:55:22 [main:2] As such, it should not be used in production
    2013/03/07 23:55:22 [main:2] unless you know what you are doing!
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [main:2] We are, however, very interested in any feedback
    2013/03/07 23:55:22 [main:2] about our development code and committed to fix
    2013/03/07 23:55:22 [main:2] issues as soon as possible.
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [main:2] If you are interested in collaborating to
    2013/03/07 23:55:22 [main:2] the development of Liquidsoap, feel free to
    2013/03/07 23:55:22 [main:2] drop us a mail at <savonet-devl@lists.sf.net>
    2013/03/07 23:55:22 [main:2] or to join the #savonet IRC channel on Freenode.
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [main:2] Please send any bug report or feature request
    2013/03/07 23:55:22 [main:2] at <https://github.com/savonet/liquidsoap/issues>.
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [main:2] We hope you enjoy this snapshot build of Liquidsoap!
    2013/03/07 23:55:22 [main:2]
    2013/03/07 23:55:22 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    2013/03/07 23:55:22 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    2013/03/07 23:55:22 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    2013/03/07 23:55:22 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    2013/03/07 23:55:22 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
    2013/03/07 23:55:22 [threads:3] Created thread "generic queue #1".
    2013/03/07 23:55:22 [threads:3] Created thread "generic queue #2".
    2013/03/07 23:55:22 [threads:3] Created thread "non-blocking queue #1".
    2013/03/07 23:55:22 [threads:3] Created thread "http polling" (1 total).
    2013/03/07 23:55:22 [lo:3] Connecting mount lo for source@xx.xx.xx.xx...
    2013/03/07 23:55:22 [lo:3] Connection setup was successful.
    2013/03/07 23:55:22 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --connect --stream-id=1 --time=1362700522.55 &
    2013/03/07 23:55:22 [threads:3] Created thread "wallclock_main" (2 total).
    2013/03/07 23:55:22 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
    2013/03/07 23:55:22 [dummy:3] Source failed (no more tracks) stopping output...
    2013/03/07 23:55:22 [dummy(dot)1:3] Source failed (no more tracks) stopping output...
    2013/03/07 23:55:22 [dummy(dot)2:3] Source failed (no more tracks) stopping output...
    2013/03/07 23:55:22 [map_metadata_6685:3] Inserting missing metadata.
    2013/03/07 23:55:22 [default_switch:3] Switch to map_metadata_6685.

    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################

    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################

  • That last output you posted looks fine. You should be able to output aac now.
    Airtime Pro Hosting: http://airtime.pro
  • Yeah? The On Air light comes on briefly at the start of a track then immediately goes out. Icecast receives a handshake from LS but nothing is actually streamed or transferred. :(
  • Anything in liquidsoap logs?
    On Mar 8, 2013 3:45 AM, "Roger Wilco" <<br />airtime-support@lists.sourcefabric.org> wrote:

    > Yeah? The On Air light comes on briefly at the start of a track then
    > immediately goes out. Icecast receives a handshake from LS but nothing is
    > actually streamed or transferred. :(
    >
    >
    Airtime Pro Hosting: http://airtime.pro
  • It's all Greek to me :)

    2013/03/11 02:12:26 [cue_cut_6649:3] Cueing out...
    2013/03/11 02:12:26 [queue:3] Finished with "/var/tmp/airtime/pypo/cache/scheduler/1451.m4a".
    2013/03/11 02:12:26 [amplify_6654:3] End of the current overriding.
    2013/03/11 02:12:26 [cross_6658:3] No next track ready yet.
    2013/03/11 02:12:26 [decoder:3] Method "MP4" accepted "/var/tmp/airtime/pypo/cache/scheduler/1153.m4a".
    2013/03/11 02:12:26 [default_switch:3] Switch to map_metadata_6685 with forgetful transition.
    2013/03/11 02:12:26 [lang:3] transition called...
    2013/03/11 02:12:26 [dummy(dot)2:3] Source failed (no more tracks) stopping output...
    2013/03/11 02:12:26 [dummy(dot)1:3] Source failed (no more tracks) stopping output...
    2013/03/11 02:12:26 [queue:3] Prepared "/var/tmp/airtime/pypo/cache/scheduler/1153.m4a" (RID 4).
    2013/03/11 02:12:26 [cue_cut_6649:3] Cueing in...
    2013/03/11 02:12:26 [amplify_6654:3] Overriding amplification: 1.000000.
    2013/03/11 02:12:26 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --data='0' --media-id=699 &
    2013/03/11 02:12:26 [lang:3] Using stream_format 0
    2013/03/11 02:12:26 [switch_6678:3] Switch to map_metadata_6665.
    2013/03/11 02:12:26 [default_switch:3] Switch to switch_6678 with transition.
    2013/03/11 02:12:26 [lang:3] transition called...
    2013/03/11 02:16:03 [decoder:3] Method "MP4" accepted "/var/tmp/airtime/pypo/cache/scheduler/78.m4a".
    2013/03/11 02:16:03 [queue:3] Finished with "/var/tmp/airtime/pypo/cache/scheduler/1153.m4a".
    2013/03/11 02:16:03 [cue_cut_6649:3] End of track before cue-out point.
    2013/03/11 02:16:03 [amplify_6654:3] End of the current overriding.
    2013/03/11 02:16:03 [queue:3] Prepared "/var/tmp/airtime/pypo/cache/scheduler/78.m4a" (RID 5).
    2013/03/11 02:16:03 [cue_cut_6649:3] Cueing in...
    2013/03/11 02:16:03 [amplify_6654:3] Overriding amplification: 1.000000.
    2013/03/11 02:16:03 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --data='0' --media-id=700 &
    2013/03/11 02:16:03 [lang:3] Using stream_format 0

  • Anyone else out there rocking libaacplus2 + AT2.3.0 + LS1.1.0 ?? @-)
  • Those outputs look fine to me. 

    Yeah? The On Air light comes on briefly at the start of a track then immediately goes out. Icecast receives a handshake from LS but nothing is actually streamed or transferred.

    Can you elaborate? What do you mean handshake? Does the mount point show only metadata?
    Airtime Pro Hosting: http://airtime.pro
  • Those outputs look fine to me. 


    Yeah? The On Air light comes on briefly at the start of a track then immediately goes out. Icecast receives a handshake from LS but nothing is actually streamed or transferred.

    Can you elaborate? What do you mean handshake? Does the mount point show only metadata?


    I haven't tried faac yet, but aacp2 definitely does not work. At the start of a track, the On Air light in the HTTP interface changes to ON, then 1-3 seconds later, the light goes out. Icecast does get a connection attempt from Liquidsoap (connected time shows >0 seconds) but total_bytes_read/send stays firmly at 0. System>Status>airtime-liquidsoap
    Uptime remains "0d 0h 0m 0s" as well.
  • If Liquidsoap isnt running it should at least show in the logs that it
    cannot startup or has shutdown. Can you verify this again. Also check to
    make sure there arent two liquidsoap processes running.
    On Mar 12, 2013 6:32 PM, "Roger Wilco" <<br />airtime-support@lists.sourcefabric.org> wrote:

    > Those outputs look fine to me.
    >
    > Yeah? The On Air light comes on briefly at the start of a track then
    > immediately goes out. Icecast receives a handshake from LS but nothing is
    > actually streamed or transferred.
    >
    >
    > Can you elaborate? What do you mean handshake? Does the mount point show
    > only metadata?
    >
    > I haven't tried faac yet, but aacp2 definitely does not work. At the start
    > of a track, the On Air light in the HTTP interface changes to ON, then 1-3
    > seconds later, the light goes out. Icecast does get a connection attempt
    > from Liquidsoap (connected time shows >0 seconds) but total_bytes_read/send
    > stays firmly at 0. System>Status>airtime-liquidsoap Uptime remains "0d 0h
    > 0m 0s" as well.
    >
    >
    Airtime Pro Hosting: http://airtime.pro
  • If Liquidsoap isnt running it should at least show in the logs that it
    cannot startup or has shutdown. Can you verify this again. Also check to
    make sure there arent two liquidsoap processes running.
    On Mar 12, 2013 6:32 PM, "Roger Wilco" <
    airtime-support@lists.sourcefabric.org> wrote:

    > Those outputs look fine to me.
    >
    > Yeah? The On Air light comes on briefly at the start of a track then
    > immediately goes out. Icecast receives a handshake from LS but nothing is
    > actually streamed or transferred.
    >
    >
    > Can you elaborate? What do you mean handshake? Does the mount point show
    > only metadata?
    >
    > I haven't tried faac yet, but aacp2 definitely does not work. At the start
    > of a track, the On Air light in the HTTP interface changes to ON, then 1-3
    > seconds later, the light goes out. Icecast does get a connection attempt
    > from Liquidsoap (connected time shows >0 seconds) but total_bytes_read/send
    > stays firmly at 0. System>Status>airtime-liquidsoap Uptime remains "0d 0h
    > 0m 0s" as well.
    >
    >



    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                         
    12661 pypo       5 -15  593m  40m 4352 S   11  4.1 712:55.50 airtime-liquids

    ho:~$ file /usr/bin/airtime-liquidsoap
    /usr/bin/airtime-liquidsoap: symbolic link to `/usr/local/bin/liquidsoap'
    Post edited by Roger Wilco at 2013-03-14 06:21:11
  • Anyone get faac working? How does it compare to lame?
  • this works ..with aac+ .. I think the only issue was turning off the a flag on the aacplus library build .. installed a version of KH icecast to suit . and added nasty hack on the tail of ls_scipt.liq which allowed to bypass the frontend.. everything seems to work fine..defaulted to 64k ...

    output.icecast(%aacplus,
      host = "127.0.0.1", port = 80,
      password = "xxxx", mount = "din3.aacp",
      fallible=true,
      description = "xx",
      genre = "din_core",
      url="http://www.xxxx.com",
      name="DRadio",
      s)

    command = "/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &"
    log(command)
    system(command)

    ========================
    liquidsoap 1.1.10 full..

     OCAML_LFLAGS   : -linkpkg -package unix -package threads -package str -package bigarray  -package str -package unix -package threads dtools.cmxa  -package unix -package threads -package pcre -package unix -package bigarray -package camlp4 duppy.cmxa  -package unix -package threads -package pcre -package unix -package bigarray -package camlp4 duppy.cmxa  -package unix cry.cmxa  -package unix -package unix -package bigarray mm.cmxa  -package xmlm xmlplaylist.cmxa  -package pcre  lastfm.cmxa  ogg.cmxa  -package unix  vorbis.cmxa  -package unix  opus.cmxa  -package unix mad.cmxa     flac.cmxa     flac.cmxa  lame.cmxa  aacplus.cmxa  voaacenc.cmxa  -package unix -package bigarray  theora.cmxa  ao.cmxa  samplerate.cmxa  -package unix taglib.cmxa  faad.cmxa  lo.cmxa
     CFLAGS         :  -I$(top_srcdir) -fPIC -I/usr/lib/ocaml
     LDFLAGS        :
     CAMLP4O        : camlp4o /home/vps/build/liquidsoap-1.1.0-full/liquidsoap-1.1.0/../ocaml-duppy-0.5.0/src/pa_duppy.cmo

     ---------------------------------------------------------------- Installation

     prefix         : /usr/local
     exec_prefix    : ${prefix}
     binary         : ${exec_prefix}/bin
     configuration  : ${prefix}/etc/liquidsoap
     logging        : ${prefix}/var/log/liquidsoap
     PIDs           : ${prefix}/var/run/liquidsoap
     logrotate conf : ${prefix}/etc/logrotate.d
     man page       : ${datarootdir}/man/man1
     doc            : ${datarootdir}/doc

     -------------------------------------------------------------------- Features

     * Supported input formats
       - Vorbis            : yes
       - Theora            : yes
       - Speex             : no (requires speex)
       - Dirac             : no (requires schroedinger)
       - Flac (native)     : yes
       - Flac (ogg)        : yes
       - MP3               : yes
       - AAC               : yes
       - text-to-speech    : requires text2wave (festival) and sox at runtime
       - XML playlists     : yes
       - Lastfm            : yes

     * Supported output formats
       - Vorbis            : yes
       - MP3               : yes
       - MP3 (fixed-point) : no (requires shine)
       - AAC               : yes
       - AAC+              : yes
       - SPEEX             : no (requires speex)
       - Opus              : yes
       - Theora            : yes
       - Dirac             : no (requires schroedinger)

     * Tags
       - Taglib (ID3 tags) : yes
       - Vorbis            : yes
       - charset detection : yes

     * Input / output
       - Icecast/Shoutcast : yes
       - AO                : yes
       - OSS               : yes
       - ALSA              : no (requires alsa)
       - Portaudio         : no (requires portaudio)
       - Pulseaudio        : no (requires pulseaudio)
       - JACK              : no (requires bjack)
       - GStreamer         : no (requires gstreamer)

     * Audio manipulation
       - Samplerate        : yes
       - SoundTouch        : no (requires soundtouch)
       - LADSPA            : no (requires ladspa)

     * Video manipulation
       - Gavl              : no (requires gavl)
       - FFmpeg            : no (requires ffmpeg)
       - frei0r            : no (requires frei0r)
       - camlimages        : no (requires camlimages)

     * MIDI manipulation
       - DSSI              : no (requires dssi)

     * Visualization
       - Graphics          : yes
       - SDL               : no (requires sdl)
       - GD                : no (requires gd)

     * Additional libraries
       - dynlink           : yes
       - inotify           : no (requires inotify)
       - lo                : yes
       - magic             : no (requires magic)
       - yojson            : no (requires yojson)

     * Graphical interfaces
       - Python GUI        : no

     -----------------------------------------------------------------------------

     
  • Philip — try fdkaac with the new release candidate