1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-15 09:39:37 +00:00

[downloader/hls] Add _debug_cmd

This commit is contained in:
Sergey M․ 2015-08-13 21:10:11 +06:00
parent 6828c809e4
commit 7393746da2

View file

@ -32,6 +32,8 @@ class HlsFD(FileDownloader):
for opt in (ffpp.executable, '-y', '-i', url, '-f', 'mp4', '-c', 'copy', '-bsf:a', 'aac_adtstoasc')]
args.append(encodeFilename(tmpfilename, True))
self._debug_cmd(args)
retval = subprocess.call(args)
if retval == 0:
fsize = os.path.getsize(encodeFilename(tmpfilename))