mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
fix ffmpeg: Unrecognized option 'absf'.
This commit is contained in:
parent
16b75f0497
commit
c7e5a29747
@ -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:
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user