Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion burnAndMerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ while read -r line; do
xmlFile=${line%.mp4}.xml
assFile=${line%.mp4}.ass
if [ -f "$xmlFile" ]; then
$rootPath/DanmakuFactory -o "$assFile" -i "$xmlFile" --ignore-warnings
$rootPath/DanmakuFactory -o "$assFile" -i "$xmlFile" --msgboxfontsize 23 --ignore-warnings
echo "==================== generated $assFile ===================="
export ASS_PATH="$assFile"
python3 $rootPath/removeEmojis.py >> $rootPath/logs/removeEmojis.log 2>&1
Expand Down
2 changes: 1 addition & 1 deletion danmakuBurning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ assPath="${path}/${roomid}_${year}-${month}-${day}-${hour}.ass"
# use DanmakuFactory to convert the xml file
xmlPath="${filenameWithoutExt}.xml"
if [ -f "$xmlPath" ]; then
$rootPath/DanmakuFactory -o "$assPath" -i "$xmlPath" --ignore-warnings
$rootPath/DanmakuFactory -o "$assPath" -i "$xmlPath" --msgboxfontsize 23 --ignore-warnings
rm $xmlPath
echo “danmaku convert success!”
export ASS_PATH="$assPath"
Expand Down