Added tools to add chapters to MKV and MP4.
This commit is contained in:
10
mkvchapters.sh
Executable file
10
mkvchapters.sh
Executable 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
|
4
mp4chapters.sh
Executable file
4
mp4chapters.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# needs: MP4Box
|
||||||
|
|
||||||
|
MP4Box -chap chapters.txt -out ${1}_chapters.mp4 $1
|
Reference in New Issue
Block a user