-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.sh
More file actions
36 lines (21 loc) · 769 Bytes
/
edit.sh
File metadata and controls
36 lines (21 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env sh
#file1="$0"
#file2="$1"
#file3="$2"
#output="$2"
#cat "$file1" > list.txt
#cat "$file2" > list.txt
#cat "$file3" > list.txt
#cat "bun_0.mkv" > list.txt
#ffmpeg -i bun_0.mkv output.mp4
ffmpeg -i bun_0.mkv -ss 00:00:09 -t 00:10:27 -c:v copy -c:a copy a.mkv
ffmpeg -i bun_1.mkv -ss 00:00:09 -t 00:03:40 -c:v copy -c:a copy b.mkv
ffmpeg -i bun_1.mkv -ss 00:04:07 -t 00:00:37 -c:v copy -c:a copy c.mkv
ffmpeg -i rawn.mkv -ss 00:00:14 -t 00:00:12 -filter:a "valume=0.6" -c:v copy -c:a copy d.mkv
ffmpeg -i bun_2.mp4 -c:v copy -c:a copy e.mkv
echo file a.mkv > mylist.txt
echo file d.mkv >> mylist.txt
echo file b.mkv >> mylist.txt
echo file c.mkv >> mylist.txt
echo file e.mkv >> mylist.txt
ffmpeg -f concat -i mylist.txt -c copy output.mp4