feat(media_downloader): ability to select chapters for dash media

This commit is contained in:
rhunk
2023-09-01 20:04:31 +02:00
parent 0b626df1eb
commit ec05e4f5d4
4 changed files with 81 additions and 18 deletions

View File

@@ -93,6 +93,7 @@ class FFMpegProcessor(
this += "-c:a" to (ffmpegOptions.customAudioCodec.get().takeIf { it.isNotEmpty() } ?: "copy")
this += "-crf" to ffmpegOptions.constantRateFactor.get().let { "\"$it\"" }
this += "-b:v" to ffmpegOptions.videoBitrate.get().toString() + "K"
this += "-b:a" to ffmpegOptions.audioBitrate.get().toString() + "K"
}
when (args.action) {