Skip to content

Instantly share code, notes, and snippets.

View ArsalImam's full-sized avatar
🎯
Focusing

ArsalImam ArsalImam

🎯
Focusing
View GitHub Profile
@ArsalImam
ArsalImam / VideoUtils.java
Created February 16, 2021 12:10 — forked from ArsalRaza/VideoUtils.java
Extract Audio from Video, Mute Video, Crop Video from start, Crop Video from end Android MediaMuxer - JAVA
import android.annotation.SuppressLint;
import android.media.MediaCodec;
import android.media.MediaExtractor;
import android.media.MediaFormat;
import android.media.MediaMetadataRetriever;
import android.media.MediaMuxer;
import android.util.Log;
import java.io.IOException;
import java.nio.ByteBuffer;