Comparing version 0.0.15 to 0.0.16
{ | ||
"name": "js-ffmpeg", | ||
"description": "JS FFMpeg", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"author": "Ziggeo", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/jsonize/js-ffmpeg", |
@@ -360,3 +360,3 @@ Scoped.require([ | ||
if (!video_bit_rate && videoInfo.bit_rate) | ||
video_bit_rate = Math.min(videoInfo.bit_rate * targetWidth * targetHeight / sourceWidth / sourceHeight, videoInfo.bit_rate); | ||
video_bit_rate = videoInfo.bit_rate * Math.min(Math.max(targetWidth * targetHeight / sourceWidth / sourceHeight, 0.25), 4); | ||
if (!video_bit_rate) | ||
@@ -363,0 +363,0 @@ video_bit_rate = Math.round(1000 * (targetWidth + targetHeight) / 2); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
309530
30
1251
25