diff options
author | remitamine <remitamine@gmail.com> | 2016-03-13 21:11:19 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-03-13 21:28:16 +0100 |
commit | 694c47b2619b9d3698e0bc7bba45bb937f97bd3c (patch) | |
tree | e8f105c543ec9bffe33ff9d133deec7ac2790c4c /youtube_dl | |
parent | 77dea16ac8bb38d735ac6f002eaba7570a67d361 (diff) |
[external/downloader] don't pass -t and -ss to ffmpeg
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/external.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index 845a63e93..2ddd76882 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -7,7 +7,6 @@ import re from .common import FileDownloader from ..postprocessor.ffmpeg import FFmpegPostProcessor, EXT_TO_OUT_FORMATS -from ..compat import compat_str from ..utils import ( cli_option, cli_valueless_option, @@ -182,12 +181,12 @@ class FFmpegFD(ExternalFD): args = [ffpp.executable, '-y'] - start_time = info_dict.get('start_time') or 0 - if start_time: - args += ['-ss', compat_str(start_time)] - end_time = info_dict.get('end_time') - if end_time: - args += ['-t', compat_str(end_time - start_time)] + # start_time = info_dict.get('start_time') or 0 + # if start_time: + # args += ['-ss', compat_str(start_time)] + # end_time = info_dict.get('end_time') + # if end_time: + # args += ['-t', compat_str(end_time - start_time)] if info_dict['http_headers'] and re.match(r'^https?://', url): # Trailing \r\n after each HTTP header is important to prevent warning from ffmpeg/avconv: |