Skip to content

Commit

Permalink
Append Ogg Theora format ('ogv')
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmorin committed May 5, 2013
1 parent a7a539f commit 1d14ba8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/paperclip_processors/ffmpeg.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1d14ba8

Please sign in to comment.