title: FFMPEG convert FLV to MP4 and reduce filesize
body: <p>i have a system that is recording live stream via Wowza. I get from Wowza a .flv file with the record. The problem is, 5 minutes file is near to 50mb big. But when i look at some TV-Series that you can download from the net, they are 20 minutes, in mp4 and just  like 150mb big. Whatever... Look, the stream input is like:</p>
  
  <pre><code>Input #0, flv, from 'rtmp://127.0.0.1/stream/test.stream':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0.0: Video: h264 (Constrained Baseline), yuv420p, 720x404 [PAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc
  Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
  </code></pre>
  
  <p>FFmpeg  shows me something like this at the "session":</p>
  
  <pre><code>frame= 2721 fps= 27 q=-1.0 Lsize=   17188kB time=111.21 bitrate=1266.1kbits/s
  </code></pre>
  
  <p>Have you any idea how to use FFmpeg to convert the .FLV file in MP4 in same near to Quality but smaller filesize?</p>
  
  <p>btw. i'm operating in linux ^^</p>
  
  <p>Thanks</p>