视频压缩的时候有个判断
if (longer 9 != shorter 16) {
throw new OutputFormatUnavailableException("This video is not 16:9, and is not able to transcode. (" + width + "x" + height + ")");
}
if (shorter <= targetShorter) {
Log.d(TAG, "This video's height is less or equal to " + targetShorter + ", pass-through. (" + width + "x" + height + ")");
return null;
}
这个地方为什么要加上这个判断? 不是16:9的视频在压缩的时候会产生什么样的问题?
视频压缩的时候有个判断 if (longer 9 != shorter 16) { throw new OutputFormatUnavailableException("This video is not 16:9, and is not able to transcode. (" + width + "x" + height + ")"); } if (shorter <= targetShorter) { Log.d(TAG, "This video's height is less or equal to " + targetShorter + ", pass-through. (" + width + "x" + height + ")"); return null; } 这个地方为什么要加上这个判断? 不是16:9的视频在压缩的时候会产生什么样的问题?