title: How to encode a video using PHP?
body: <p>I'm interested in installing <a href="http://ffmpeg.org/" rel="nofollow noreferrer"><code>ffmpeg</code></a> or somesuch on my server so I can upload files, automatically encode them to FLV and then serve up a embedded player to use on my pages.</p>
  
  <p>The problem is that I don't know where to start. I don't want to have to spend days coding a web based encoding service, as I'm more interested in using an out of the box solution.</p>
  
  <p>My research so far has led me to <a href="http://ffmpeg.org/" rel="nofollow noreferrer"><code>FFMPEG</code></a> and possibly <a href="http://gallery.menalto.com/" rel="nofollow noreferrer"><code>Gallery2</code></a>: it has a <code>ffmpeg</code> integrated and the gallery 2 framework provides user accounts and FTP upload facilities.</p>
  
  <p>Is anyone aware of other open source encoding solutions which you can install on Linux?</p>