From e61d532e6edf3e19a9bd0a57bf8df75fc8569f6e Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Mon, 6 Apr 2020 22:44:43 +0800 Subject: [PATCH] update readme: add some usages update readme: add some usages --- README.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d0aa08c..129b8eb 100644 --- a/README.md +++ b/README.md @@ -26,23 +26,29 @@ android端基于FFmpeg库的使用
- #### 本地直播推流 - #### 实时直播推流 - #### 音视频解码播放 -- #### OpenGL+GPUImage滤镜 - #### FFmpeg的AVFilter滤镜 - #### 使用mp3lame库进行mp3转码 - #### 视频拖动实时预览 - #### moov往前移动 - #### ffprobe检测多媒体格式 - - #### IjkPlayer的RTSP超低延时直播 -- #### IjkPlayer的RTSP多路投屏直播 - -视频拖动进度条小图预览: - -![动态图片](https://github.com/xufuji456/FFmpegAndroid/blob/master/gif/preview.gif) - -检测多媒体格式: -![静态图片](https://github.com/xufuji456/FFmpegAndroid/blob/master/picture/probe_format.png) +###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: +!(https://github.com/xufuji456/FFmpegAndroid/blob/master/gif/preview.gif) ***