ffmpeg-android-java icon indicating copy to clipboard operation
ffmpeg-android-java copied to clipboard

Not able to compress the video.

Open surabhiverma1 opened this issue 7 years ago • 0 comments

I tried to compress the 101 mb video using the bleow code.But its not compressing it.The compressed video is of 102 mb.

private void versionFFmpeg() { FFmpeg.getInstance(this).execute(new String[]{ "-y","-i" ,"/storage/emulated/0/big_buck_bunny.mp4","-crf", "20", "-preset", "faster", "-c", "copy","/storage/emulated/0/big_buck_bunnycompressed.mp4"}, new ExecuteBinaryResponseHandler() { @Override public void onSuccess(String message) { Timber.d(message); }

    @Override
    public void onProgress(String message) {
        Timber.d(message);
             }
});

}

Still its not compressing the video . Is there any error in command.

surabhiverma1 avatar Oct 10 '18 05:10 surabhiverma1