Skip to content

Commit

Permalink
[mgtv] add bsf:a aac_adtstoasc to ffmpeg args, fix #1458.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenPCG committed Nov 17, 2016
1 parent 4561be5 commit a7635e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/processor/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def ffmpeg_concat_flv_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')
Expand Down

0 comments on commit a7635e9

Please sign in to comment.