我已啟用「Extract Subtitles」,這會產生 SRT 檔案;同時也啟用了「Add Subtitles」,我認為這會把字幕重新封裝進最終的 MKV 檔案(供 Plex 使用)。
但 SRT 檔案仍留在磁碟上——有什麼原因讓我不能或根本不該刪除它嗎?
我已啟用「Extract Subtitles」,這會產生 SRT 檔案;同時也啟用了「Add Subtitles」,我認為這會把字幕重新封裝進最終的 MKV 檔案(供 Plex 使用)。
但 SRT 檔案仍留在磁碟上——有什麼原因讓我不能或根本不該刪除它嗎?
你可以刪除它。MCEBuddy 之所以保留它,是因為有些人希望兩者都保留。如果你想自動刪除,可以在你的設定檔中撰寫一個 PostCustomCommand 來刪除 SRT 檔案。
詳細資訊請參考:
如果您不介意的話,能否進一步說明 postcustomcommand 刪除 SRT 檔案可能會是什麼樣子?
这里有一个应该可行的方法,它调用 cmd.exe 并向其传递删除命令,以删除位于目标目录中与转换后文件同名的 SRT 文件:
PostCustomCommandPath=C:\Windows\System32\cmd.exe
PostCustomCommandParameters="/c del "%destinationpath%\%convertedfilename%.srt""
PostCustomCommandHangPeriod=60
PostCustomCommandCritical=false
PostCustomCommandUISession=false
PostCustomCommandShowWindow=false
PostCustomCommandExitCodeCheck=false