INNER CODE UNIT · Java

getBoxblur

microshow/RxFFmpeg · rxffmpeg/src/main/java/io/microshow/rxffmpeg/RxFFmpegCommandSupport.java:20

    public static String[] getBoxblur(String inputPath, String outputPath, String boxblur, boolean isLog) {
        RxFFmpegCommandList cmdlist = new RxFFmpegCommandList();
        cmdlist.append("-i");
        cmdlist.append(inputPath);
        cmdlist.append("-vf");
        cmdlist.append("boxblur=" + (TextUtils.isEmpty(boxblur) ? "5:1" : boxblur));
        cmdlist.append("-preset");
        cmdlist.append("superfast");
        cmdlist.append(outputPath);
        return cmdlist.build(isLog);
    }


}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…