<commit_before>import {
  warpPlusMethod
} from '../util'

export const getVideoInfo = warpPlusMethod('io', 'getVideoInfo', options => {
  options.filePath = options.src
  return options
}, data => {
  return {
    orientation: data.orientation,
    type: data.type,
    duration: data.duration,
    size: data.size,
    height: data.height,
    width: data.width,
    fps: data.fps || 30,
    bitrate: data.bitrate
  }
})<commit_msg>fix(App): fix getVideoInfo size<commit_after>import {
  warpPlusMethod
} from '../util'

export const getVideoInfo = warpPlusMethod('io', 'getVideoInfo', options => {
  options.filePath = options.src
  return options
}, data => {
  return {
    orientation: data.orientation,
    type: data.type,
    duration: data.duration,
    size: data.size / 1024,
    height: data.height,
    width: data.width,
    fps: data.fps || 30,
    bitrate: data.bitrate
  }
})
{'fraction_non_alphanumeric': 0.1343784994400896, 'fraction_numerical': 0.008958566629339306, 'mean_word_length': 3.277511961722488, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7247340', 'n_tokens_mistral': 305, 'n_tokens_neox': 292, 'n_words': 70}