mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-14 17:22:53 -07:00
Always transcode ALL streams
I just ran into an issue where only certain audio streams (which happened to be French) of a file got transcoded. -map 0 forces ffmpeg to always transcode all streams.
This commit is contained in:
parent
21673659a0
commit
512b4d789b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def Transcode_directory(dirName):
|
|||
outputVideoExtension = '-transcoded' + outputVideoExtension # adds '-transcoded.ext'
|
||||
newfilePath = os.path.normpath(name + outputVideoExtension)
|
||||
|
||||
command = [ffmpeg, '-i', filePath]
|
||||
command = [ffmpeg, '-i', filePath, '-map', '0']
|
||||
if outputVideoCodec:
|
||||
command.append('-c:v')
|
||||
command.append(outputVideoCodec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue