Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/ifui/you-get into ifui-d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
soimort committed Mar 3, 2024
2 parents ad5fdbd + dfac58a commit 393597e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/you_get/processor/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def ffmpeg_concat_flv_to_mp4(files, output='output.mp4'):
if FFMPEG == 'avconv':
params += ['-c', 'copy']
else:
params += ['-c', 'copy', '-absf', 'aac_adtstoasc']
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc']
params.extend(['--', output])

if subprocess.call(params, stdin=STDIN) == 0:
Expand Down Expand Up @@ -229,7 +229,7 @@ def ffmpeg_concat_mp4_to_mp4(files, output='output.mp4'):
if FFMPEG == 'avconv':
params += ['-c', 'copy']
else:
params += ['-c', 'copy', '-absf', 'aac_adtstoasc']
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc']
params.extend(['--', output])

subprocess.check_call(params, stdin=STDIN)
Expand Down

0 comments on commit 393597e

Please sign in to comment.