title: I am unable to get video thumbnail using streamio-ffmpeg
body: <p>Can any one explain this to me?</p>
  
  <pre><code> def gen_video_thumb(width, height)
            directory = File.dirname(current_path)
            tmpfile = File.join(directory, "tmpfile")
            FileUtils.move(current_path, tmpfile)
            file = ::FFMPEG::Movie.new(tmpfile)
            file.transcode(current_path, "-ss 00:00:01 -an -r 1 -vframes 1 -s #{width}x#{height}")
            FileUtils.rm(tmpfile)
          end
  </code></pre>
  
  <p>Specially this </p>
  
  <p><code>file.transcode(current_path, "-ss 00:00:01 -an -r 1 -vframes 1 -s #{width}x#{height}")</code> line </p>
  
  <p>for detail code you can check this link.
  <a href="http://t4416.codeinpro.us/q/508138894f1eba38a43205ee" rel="nofollow">http://t4416.codeinpro.us/q/508138894f1eba38a43205ee</a></p>