Add -bsf:a aac_adtstoasc when merging

As in #813.
This commit is contained in:
cnbeining 2016-04-07 16:43:17 -04:00
parent e752181fcb
commit 8d6e6d945a

2
src/you_get/processor/ffmpeg.py Normal file → Executable file
View File

@ -169,7 +169,7 @@ def ffmpeg_concat_mp4_to_mp4(files, output='output.mp4'):
params = [FFMPEG] + LOGLEVEL + ['-f', 'concat', '-safe', '-1', '-y', '-i']
params.append(output + '.txt')
params += ['-c', 'copy', output]
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc', output]
subprocess.check_call(params)
os.remove(output + '.txt')