可以使用
- "str"取代"00:00:00"
- "end"表示到影片結束
./合片自動機.sh list.txt
list.txt 格式長這樣:
"輸出檔名1.mp4"
"要合併的影片1.MTS"
"要合併的影片2.MTS"
---
"輸出檔名2.mp4"
"要合併的影片3.MTS"
"要合併的影片4.MTS"
---
必需以---
結尾
./分割器.sh list.txt
"第一部輸入影片.MTS"
"第一部分檔名.mp4"
"00:00:00"
"00:00:30"
"第二部分檔名.mp4"
"00:00:35"
"00:00:59"
---
"第二部輸入影片.MTS"
"第三部分檔名.mp4"
"00:01:20"
"00:03:30"
"第四部分檔名.mp4"
"00:03:35"
"00:04:59"
"第五部分檔名.mp4"
"00:05:35"
"00:06:59"
---
必需以---
結尾
./misc.sh list.txt
"輸出檔名.mp4"
"第一部輸入影片.MTS"
"開始時間"
"結束時間"
"第二部輸入影片.MTS"
"開始時間"
"結束時間"
---
"Day2-TR510-How to Debug Using GDB.mp4"
"00003.MTS"
"00:05:15"
"end"
"00004.MTS"
"str"
"end"
"00005.MTS"
"str"
"end"
"00006.MTS"
"str"
"00:00:58"
---
必需以---
結尾