mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-14 17:22:53 -07:00
move subtitle statement. fix #213
This commit is contained in:
parent
80038d4a84
commit
a2d2b40f89
1 changed files with 3 additions and 3 deletions
|
@ -103,15 +103,15 @@ def Transcode_directory(dirName):
|
|||
if len(outputAudioBitrate) > 0:
|
||||
command.append('-b:a')
|
||||
command.append(outputAudioBitrate)
|
||||
if len(outputSubtitleCodec) > 0:
|
||||
command.append('-c:s')
|
||||
command.append(outputSubtitleCodec)
|
||||
if outputFastStart > 0:
|
||||
command.append('-movflags')
|
||||
command.append('+faststart')
|
||||
if outputQualityPercent > 0:
|
||||
command.append('-q:a')
|
||||
command.append(outputQualityPercent)
|
||||
if len(outputSubtitleCodec) > 0:
|
||||
command.append('-c:s')
|
||||
command.append(outputSubtitleCodec)
|
||||
else:
|
||||
command.append('-sn') # Don't copy the subtitles over
|
||||
command.append(newfilePath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue