Skip to content

Commit

Permalink
Enable experimental codecs (-strict -2) for better VP9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
rprieto committed Jan 1, 2019
1 parent f27ebc2 commit 25535ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ exports.video = function (source, target, options, callback) {
// output to mp4 or webm which are well read on the web
if (options.format === 'webm') {
args.push('-f', 'webm', '-vcodec', 'libvpx-vp9')
args.push('-f', 'webm', '-vcodec', 'libvpx-vp9', '-strict', '-2')
} else {
args.push('-f', 'mp4', '-vcodec', 'libx264')
}
Expand Down

0 comments on commit 25535ce

Please sign in to comment.