lib/hydra/derivatives/processors/video/config.rb in hydra-derivatives-3.8.0 vs lib/hydra/derivatives/processors/video/config.rb in hydra-derivatives-4.0.0
- old
+ new
@@ -19,10 +19,10 @@
@audio_attributes ||= default_audio_attributes
end
def mpeg4
audio_encoder = Hydra::Derivatives::AudioEncoder.new
- @mpeg4 ||= CodecConfig.new("-vcodec libx264 -acodec #{audio_encoder.audio_encoder}")
+ @mpeg4 ||= CodecConfig.new("-vcodec libx264 -profile:v high -pix_fmt yuv420p -acodec #{audio_encoder.audio_encoder}")
end
def webm
@webm ||= CodecConfig.new('-vcodec libvpx -acodec libvorbis')
end