mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 19:17:17 +08:00
fix ffmpeg
This commit is contained in:
parent
d6ad71cb7a
commit
e0fee7b2ee
@ -243,8 +243,6 @@ class FFmpegFD(ExternalFD):
|
|||||||
# http://trac.ffmpeg.org/ticket/6125#comment:10
|
# http://trac.ffmpeg.org/ticket/6125#comment:10
|
||||||
args += ['-seekable', '1' if seekable else '0']
|
args += ['-seekable', '1' if seekable else '0']
|
||||||
|
|
||||||
args += self._configuration_args()
|
|
||||||
|
|
||||||
# start_time = info_dict.get('start_time') or 0
|
# start_time = info_dict.get('start_time') or 0
|
||||||
# if start_time:
|
# if start_time:
|
||||||
# args += ['-ss', compat_str(start_time)]
|
# args += ['-ss', compat_str(start_time)]
|
||||||
@ -312,6 +310,8 @@ class FFmpegFD(ExternalFD):
|
|||||||
|
|
||||||
args += ['-i', url, '-c', 'copy']
|
args += ['-i', url, '-c', 'copy']
|
||||||
|
|
||||||
|
args += self._configuration_args()
|
||||||
|
|
||||||
if self.params.get('test', False):
|
if self.params.get('test', False):
|
||||||
args += ['-fs', compat_str(self._TEST_FILE_SIZE)]
|
args += ['-fs', compat_str(self._TEST_FILE_SIZE)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user