parameters: (target_size, length_secs)
return_statement: return int(target_size / (125.0 * length_secs))
docstring: Given a target byte size free for video data, this returns the bitrate in kBit/S.
      For mencoder vbitrate 1 kBit = 1000 Bits -- not 1024 bits.
          target_size = bitrate * 1000 * length_secs / 8
          target_size = bitrate * 125 * length_secs
          bitrate     = target_size/(125*length_secs)
docstring_summary: Given a target byte size free for video data, this returns the bitrate in kBit/S.
      For mencoder vbitrate 1 kBit = 1000 Bits -- not 1024 bits.
          target_size = bitrate * 1000 * length_secs / 8
          target_size = bitrate * 125 * length_secs
          bitrate     = target_size/(125*length_secs)
docstring_tokens: Given a target byte size free for video data this returns the bitrate in kBit / S . For mencoder vbitrate 1 kBit = 1000 Bits -- not 1024 bits . target_size = bitrate * 1000 * length_secs / 8 target_size = bitrate * 125 * length_secs bitrate = target_size / ( 125 * length_secs )
function: def calc_video_kbitrate(target_size, length_secs):
      """Given a target byte size free for video data, this returns the bitrate in kBit/S.
      For mencoder vbitrate 1 kBit = 1000 Bits -- not 1024 bits.
          target_size = bitrate * 1000 * length_secs / 8
          target_size = bitrate * 125 * length_secs
          bitrate     = target_size/(125*length_secs)
      """
      return int(target_size / (125.0 * length_secs))
function_tokens: def calc_video_kbitrate ( target_size , length_secs ) : return int ( target_size / ( 125.0 * length_secs ) )