1
0

Added tools to add chapters to MKV and MP4.

This commit is contained in:
2017-12-05 02:27:48 +01:00
parent 62ba56353b
commit eb5c5030a5
2 changed files with 14 additions and 0 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# needs: mkvtoolnix (for mkvmerge)
# chapters.txt:
# CHAPTER1=00:01:02.00
# CHAPTER1NAME=chapter 1
# ...
# CHAPTER23=01:02:03.00
# CHAPTER23NAME=chapter 23
mkvmerge --chapters chapters.txt -o ${1}_chapters.mkv $1
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# needs: MP4Box
MP4Box -chap chapters.txt -out ${1}_chapters.mp4 $1