diff --git a/lib/paperclip_processors/ffmpeg.rb b/lib/paperclip_processors/ffmpeg.rb index 907d7e9..aa1d937 100644 --- a/lib/paperclip_processors/ffmpeg.rb +++ b/lib/paperclip_processors/ffmpeg.rb @@ -129,6 +129,10 @@ def make @convert_options[:input][:ss] = @time @convert_options[:output][:vframes] = 1 @convert_options[:output][:f] = 'image2' + when 'ogv' # Ogg Theora + @convert_options[:output][:acodec] = 'libvorbis' + @convert_options[:output][:vcodec] = 'libtheora' + @convert_options[:output][:f] = 'ogg' end Ffmpeg.log("Adding Source") if @whiny