Skip to content

Commit

Permalink
WebM support
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmorin committed May 5, 2013
1 parent 1d14ba8 commit 7f0933c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/paperclip_processors/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ def make
@convert_options[:input][:ss] = @time
@convert_options[:output][:vframes] = 1
@convert_options[:output][:f] = 'image2'
when 'webm' # WebM
@convert_options[:output][:acodec] = 'libvorbis'
@convert_options[:output][:vcodec] = 'libvpx'
@convert_options[:output][:f] = 'webm'
when 'ogv' # Ogg Theora
@convert_options[:output][:acodec] = 'libvorbis'
@convert_options[:output][:vcodec] = 'libtheora'
Expand Down

0 comments on commit 7f0933c

Please sign in to comment.