update readme

update readme
pull/112/head
xufulong 5 years ago
parent e61d532e6e
commit 858d77d35a
  1. 26
      README.md

@ -33,21 +33,21 @@ android端基于FFmpeg库的使用<br>
- #### ffprobe检测多媒体格式 - #### ffprobe检测多媒体格式
- #### IjkPlayer的RTSP超低延时直播 - #### IjkPlayer的RTSP超低延时直播
###Usage: ### Usage:
###(1) Transform video format: ### (1) Transform video format:
Select video file which you want to transform, and setting the output path. Select video file which you want to transform, and setting the output path.<br>
The simple command like this: The simple command like this:<br>
ffmpeg -i %s -vcodec copy -acodec copy %s ffmpeg -i %s -vcodec copy -acodec copy %s<br>
You could appoint the encoder, like this: You could appoint the encoder, like this:<br>
ffmpeg -i %s -vcodec libx264 -acodec libmp3lame %s ffmpeg -i %s -vcodec libx264 -acodec libmp3lame %s<br>
You could transform the video resolution, like this: You could transform the video resolution, like this:<br>
ffmpeg -i %s -s 1080x720 %s ffmpeg -i %s -s 1080x720 %s<br>
###(2) Probing media format: ### (2) Probing media format:
Select video or audio file from your file explorer, and click the button. Select video or audio file from your file explorer, and click the button.<br>
When it finishes probing, the result of metadata will display on screen. When it finishes probing, the result of metadata will display on screen.<br>
Preview thumbnail when seeking: ### Preview thumbnail when seeking:
!(https://github.com/xufuji456/FFmpegAndroid/blob/master/gif/preview.gif) !(https://github.com/xufuji456/FFmpegAndroid/blob/master/gif/preview.gif)
*** ***

Loading…
Cancel
Save