title: FFmpeg: Read profile level information from mp4
body: <p>I have a mp4 file and need the profile level of it. FFmpeg says, it has baseline profile, which is what I need, but I need also the <a href="http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels">level</a>.</p>
  
  <p>Here is what I get from FFmpeg:</p>
  
  <pre><code>ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers
    built on Jul 20 2011 13:32:19 with gcc 4.4.3
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264
    libavutil    51.  9. 1 / 51.  9. 1
    libavcodec   53.  7. 0 / 53.  7. 0
    libavformat  53.  4. 0 / 53.  4. 0
    libavdevice  53.  1. 1 / 53.  1. 1
    libavfilter   2. 23. 0 /  2. 23. 0
    libswscale    2.  0. 0 /  2.  0. 0
    libpostproc  51.  2. 0 / 51.  2. 0
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test-show.mp4':
    Metadata:
      major_brand     : f4v 
      minor_version   : 0
      compatible_brands: isommp42m4v 
      creation_time   : 2012-03-21 16:00:00
    Duration: 00:56:07.40, start: 0.000000, bitrate: 2004 kb/s
      Stream #0.0(eng): Video: h264 (Baseline), yuv420p, 854x480 [PAR 1:1 DAR 427:240], 1904 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
      Metadata:
        creation_time   : 2012-03-21 16:00:00
      Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 96 kb/s
      Metadata:
        creation_time   : 2012-03-21 16:00:00
  At least one output file must be specified
  </code></pre>
  
  <p>Is there any option other than <code>-i</code> I can use to get the level information?</p>