title: OSError: [Errno 13] Permission denied with FFMPEG
body: <p>I have just started using Python and am looking at using python to read mp3 files. I tried to use ffmpeg to read the mp3 file, however, i kept getting error of permission denied.</p>
  
  <p>Appreciate if you could advise me on how to resolve this error!</p>
  
  <p>Thank you!</p>
  
  <pre><code>$ cd '/Users/jingyi/Downloads/' &amp;&amp; '/usr/bin/pythonw'  '/Users/jingyi/Downloads/sound detection.py'  &amp;&amp; echo Exit status: $? &amp;&amp; exit 1
  Traceback (most recent call last):
    File "/Users/jingyi/Downloads/sound detection.py", line 14, in &lt;module&gt;
      pipe = sp.Popen(command, stdout = sp.PIPE)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__
      errread, errwrite)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1326, in _execute_child
      raise child_exception
  
  OSError: [Errno 13] Permission denied
  </code></pre>
  
  <hr>
  
  <pre><code>    FFMPEG_BIN = '/Users/jingyi/Downloads/ffmpeg'
      #INPUT_Sound = '/Users/jingyi/Downloads/Snore.mp3'
  
      import subprocess as sp
  
      command = [ FFMPEG_BIN,
              '-i', '/Users/jingyi/Downloads/Snore.mp3',
              '-f', 's16le',
              '-acodec', 'pcm_s16le',
              '-ar', '44100', # ouput will have 44100 Hz
              '-ac', '2', # stereo (set to '1' for mono)
              '-']
      pipe = sp.Popen(command, stdout = sp.PIPE)
  </code></pre>