Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
microshow committed Aug 3, 2019
2 parents 2d8f460 + 629284d commit 628cd0c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions preview/docs/cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ ffmpeg -y -i /storage/emulated/0/1/input.mp4 -f image2 -r 1 -q:v 10 -preset supe

```

* 截取指定时间的一张图)

```java

ffmpeg -y -i /storage/emulated/0/1/input.mp4 -f image2 -ss 00:00:03 -vframes 1 -preset superfast /storage/emulated/0/1/result.jpg

```

* 添加背景音乐(支持调节原音和配乐的音量)

```java
Expand All @@ -54,6 +62,14 @@ ffmpeg -y -i /storage/emulated/0/1/input.mp4 -i /storage/emulated/0/1/1.png -fil

```

* Gif转视频

```java

ffmpeg -y -i /storage/emulated/0/1/input.gif -pix_fmt yuv420p -preset superfast /storage/emulated/0/1/result.mp4

```

# 音频处理

* 音频拼接
Expand Down

0 comments on commit 628cd0c

Please sign in to comment.