change mp3 bitrate for recording
  • Hi,

    I've managed to change the default mp3 bitrate of 128k to 192k by editing /usr/lib/airtime/pypo/bin/scripts/ls_script.liq and changing:

    out_mp3 = output.icecast(%mp3,


    to:

    out_mp3 = output.icecast(%mp3(bitrate=192),


    But this doesn't affect the recording bitrate of live shows. Is there a way to do this?

    thanks

    James
  • 3 Comments sorted by
  • Hi, We dont officially support this yet. If you want to change this in the code look in "airtime/python_apps/show-recorder/recorder.py"

    and modify
    command = "ecasound -i alsa -o %s -t:%s" % (filepath, length)

    to
    command = "ecasound -i alsa -o %s,128000 -t:%s" % (filepath, length)


    for 128kbps.

    I have not tested this so no guarantees Smile Goodluck!
    Airtime Pro Hosting: http://airtime.pro
  • Works in airtime 1.8.2-RC3

    thanks!
  • You may refer this step by step guide on how to chang MP3 bitrate on Mac or Windows.

     

    This guide can helps to:

    • Change bitrate of MP3, WAV, FLAC, Apple Lossless, M4A, WMA, OGG, AIFF, AC3, AAC, DTS and etc.
    • Change video bitrate of MP4, AVI, WMV, MOV, MKV, FLV, MPG, VOB, 3GP, RMVB and etc.
    • Change bitrate among all standards like 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 kbit/s.
    • Reduce
      bitrate to decrease the file size like convert mp3 to lower bitrate
      (from 196kbps to 128kbps) to reduce the MP3 file size.
    • Increase the bitrate to increase the video or audio quality.
    • Change bitrate as well as keep the same output format.  
    • Change bitrate as well as convert to other video or audio format.