lib/carrierwave/video/ffmpeg_options.rb in carrierwave-video-0.3.0 vs lib/carrierwave/video/ffmpeg_options.rb in carrierwave-video-0.4.0
- old
+ new
@@ -70,10 +70,10 @@
@defaults ||= { resolution: '640x360', watermark: {} }.tap do |h|
case format
when 'mp4'
h[:video_codec] = 'libx264'
h[:audio_codec] = 'libfaac'
- h[:custom] = '-qscale 0 -vpre slow -vpre baseline -g 30'
+ h[:custom] = '-qscale 0 -preset slow -g 30'
when 'ogv'
h[:video_codec] = 'libtheora'
h[:audio_codec] = 'libvorbis'
h[:custom] = '-b 1500k -ab 160000 -g 30'
when 'webm'