title: Paperclip AV Transcoder not working on remote server
body: <p>I am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error:</p>
  
  <pre><code>Av::UnableToDetect (Unable to detect any supported library)
  </code></pre>
  
  <p>I have installed <code>ffmpeg</code> using <strong>LinuxBrew</strong>. It says everything is installed correctly (checking which brew and which <code>ffmpeg</code>, as well as checking if the gem is appropriately installed). </p>
  
  <p>When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn't work remotely. </p>
  
  <pre><code>has_attached_file :video, path: "/posts/:id/:style.:extension",
    :styles =&gt; {
      :medium =&gt; { :geometry =&gt; "493x877", :format =&gt; 'flv' },
      :thumb =&gt; { :geometry =&gt; "100x100#", :format =&gt; 'jpg', :time =&gt; 10 },
      # :mobile =&gt; {:geometry =&gt; "640X480", :format =&gt; 'mp4', :streaming =&gt; true}
    }, :processors =&gt; [:transcoder]
  </code></pre>
  
  <p>However, when I remove this from my model and have:</p>
  
  <pre><code>has_attached_file :video, path: "/posts/:id/:style.:extension"
  </code></pre>
  
  <p>The video is uploaded to <strong>S3</strong> (without the data or styling that I need).</p>
  
  <p>Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice. </p>