<commit_before>child_process = require 'child_process'
util = require 'util'
events = require 'events'

Mpeg1Muxer = (options) ->
  self = @
  
  @url = options.url

  @stream = child_process.spawn "ffmpeg", [
    "-rtsp_transport"
    "tcp"
    "-i"
    @url
    '-f'
    'mpeg1video'
    '-b:v'
    '800k'
    '-r'
    '30'
    '-'
  ], {detached: false}

  @inputStreamStarted = true
  @stream.stdout.on 'data', (data) ->
    self.emit 'mpeg1data', data

  @stream.stderr.on 'data', (data) ->
    self.emit 'ffmpegError', data

  @

util.inherits Mpeg1Muxer, events.EventEmitter

module.exports = Mpeg1Muxer<commit_msg>Remove unnecessary FFmpeg options<commit_after>child_process = require 'child_process'
util = require 'util'
events = require 'events'

Mpeg1Muxer = (options) ->
  self = @
  
  @url = options.url

  @stream = child_process.spawn "ffmpeg", [
    "-rtsp_transport"
    "tcp"
    "-i"
    @url
    '-f'
    'mpeg1video'
    '-'
  ], {detached: false}

  @inputStreamStarted = true
  @stream.stdout.on 'data', (data) ->
    self.emit 'mpeg1data', data

  @stream.stderr.on 'data', (data) ->
    self.emit 'ffmpegError', data

  @

util.inherits Mpeg1Muxer, events.EventEmitter

module.exports = Mpeg1Muxer
{'fraction_non_alphanumeric': 0.1511437908496732, 'fraction_numerical': 0.012254901960784314, 'mean_word_length': 3.003267973856209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4515286', 'n_tokens_mistral': 481, 'n_tokens_neox': 468, 'n_words': 94}