# FFmpegAndroid **Repository Path**: xingchaoet/FFmpegAndroid ## Basic Information - **Project Name**: FFmpegAndroid - **Description**: android端基于FFmpeg实现音频剪切、拼接、转码、混音、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图、画面拼接、视频倒播;音视频合成与分离;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;OpenGL实时滤镜;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;基于IjkPlayer修改支持RTSP超低延时直播(局域网1080P延时130ms)、暂停、静音,多路投屏直播 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-01-07 - **Last Updated**: 2022-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FFmpegAndroid android端基于FFmpeg库的使用
添加编译ffmpeg、shine、mp3lame、x264源码的参考脚本
目前音视频相关处理:
- #### 音频剪切、拼接 - #### 音频混音 - #### 音频转码 - #### 音视频合成 - #### 音频抽取 - #### 音频解码播放 - #### 音频编码 - #### 视频抽取 - #### 视频剪切 - #### 视频转码 - #### 视频截图 - #### 视频降噪 - #### 视频抽帧 - #### 视频转GIF动图 - #### 视频添加水印 - #### 视频画面拼接 - #### 视频反序倒播 - #### 视频画中画 - #### 图片合成视频 - #### 视频解码播放 - #### 本地直播推流 - #### 实时直播推流 - #### 音视频解码播放 - #### FFmpeg的AVFilter滤镜 - #### 使用mp3lame库进行mp3转码 - #### 视频拖动实时预览 - #### moov往前移动 - #### ffprobe检测多媒体格式 - #### IjkPlayer的RTSP超低延时直播 ### Usage: ### (1) Transform video format: Select video file which you want to transform, and setting the output path.
The simple command like this:
ffmpeg -i %s -vcodec copy -acodec copy %s
You could appoint the encoder, like this:
ffmpeg -i %s -vcodec libx264 -acodec libmp3lame %s
You could transform the video resolution, like this:
ffmpeg -i %s -s 1080x720 %s
### (2) Probing media format: Select video or audio file from your file explorer, and click the button.
When it finishes probing, the result of metadata will display on screen.
### Preview thumbnail when seeking: ![preview](https://github.com/xufuji456/FFmpegAndroid/blob/master/gif/preview.gif) ***