File "/var/tmp/airtime/pypo/cache/scheduler/1.mp3" has an incompatible number of channels
  • Hello,

    I'm a new airtime user, I deployed airtime in a vps and it's really AWESOME, the web interface is incredible well done, and the installation process, well, I love it, the system where I installed is a:

    Ubuntu 12.04.2 machine with 2GB of ram
    Airtime 2.4.0

    I already was able to create shows and go on-air for a couple of times, however I've noticed that airtime doesn't broadcast all my mp3 files, for example if I upload and try to shedule the following mp3:

    http://files.javier.io/repository/The Chemical Brothers - Believe.mp3

    It'll fail with:

    2013/06/30 23:25:50 [decoder.mad:3] File "/var/tmp/airtime/pypo/cache/scheduler/1.mp3" has an incompatible number of channels.
    2013/06/30 23:25:50 [decoder:3] Unable to decode "/var/tmp/airtime/pypo/cache/scheduler/1.mp3" as {audio=2;video=0;midi=0}!

    The OnAir button also go gray (instead of red). If I put before and after this other mp3, airtime will broadcaste this one, then fail and broadcast silence during the time that last the above song and then again will broadcast the following mp3

    http://files.javier.io/repository/Cinematic Music - Tempest.mp3

    Any hint to know what's happening is welcome, thanks for your time!
    Post edited by Javier Lopez at 2013-07-01 01:13:41
  • 5 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    try to re-download the file
    how did you send it ?
    web interface ? ftp ? scp ?
    Post edited by Albert FR at 2013-07-01 07:46:34
  • Hello Albert,

    Thanks for your reply, re downloading and uploading the file fixes the issue, however I'm a little bit worried that any other song could fail, the original song (the one attached in the above comment) played in my computer, and also played with the 'sample' button in airtime. I uploaded it using the web interface.

    Maybe I should add a policy for new songs to make sure they contain no errors, do you know such a tool? (maybe ffmpeg?)

    Best
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    is this mp3 file stereo or mono? I think there's an open bug right now regarding mono files not playing out properly.
  • Hi Nami,

    Thanks for your comment, it's stereo:

    Input #0, mp3, from 'The Chemical Brothers - Believe.mp3':
      Metadata:
        encoded_by      : Lavf52.16.0
      Duration: 00:04:22.24, start: 0.000000, bitrate: 128 kb/s
        Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    At least one output file must be specified
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    that's seems to be a bug of 2.4 version

    look this thread : http://forum.sourcefabric.org/discussion/15609/previously-working-files-not-playing-2-4