Skip to content

Commit

Permalink
[ffmpeg] concat
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang-gh committed Sep 26, 2024
1 parent afa6a8d commit 2ee5b3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/software/ffmpeg.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ file '/path/to/file3.mp4'
进行拼接

```shell
ffmpeg -f concat -i mylist.txt -c copy output.mp4
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
```

默认的 `-safe 1` 参数对输入文件路径的限制比较多

> The paths listed within your text file are interpreted by ffmpeg as being relative to the location of your text file. (In particular, the paths listed are not relative to the current working directory.) [source](https://superuser.com/a/943258/950027)
<https://trac.ffmpeg.org/wiki/Concatenate>

## 格式转换
Expand Down

0 comments on commit 2ee5b3f

Please sign in to comment.