Rails Streamio FFMPEG taking a screenshot of the movie and upload with carrierwave <p>I have got a Form where I can upload a movie. Its uploaded with carrierwave.</p> <p>In this process I want to Make a screenshot of the movie while uploading. </p> <p>How can I do this with Streamio FFMPEG.</p> <p>My code Looks like this at the moment.</p> <pre><code>#Laedt ein Video hoch def uploadMovie @channels = Channel.all @vid = Movie.new(movies_params) @channel = Channel.find(params[:channel_id]) @vid.channel = @channel if @vid.save flash[:notice] = t("flash.saved") render :add else render :add end end </code></pre> <p>Do I have to do this in controller method or in the carrierwave uplaoder?</p> <p>Update: I tried it this way:</p> <pre><code>if @vid.save flash[:notice] = t("flash.saved") movieFile = FFMPEG::Movie.new(@vid.video.to_s) screenshot = movieFile.screenshot("uploads/screenshot", :seek_time =&gt; 10) render :add else </code></pre> <p>But then I got tis error: </p> <pre><code>s3.amazonaws.com/uploads/movie/video/6/2016-04-24_16.26.10.mp4' does not exist </code></pre>