|
|
@ -13,8 +13,10 @@ class HlsFD(FileDownloader):
|
|
|
|
self.report_destination(filename)
|
|
|
|
self.report_destination(filename)
|
|
|
|
tmpfilename = self.temp_name(filename)
|
|
|
|
tmpfilename = self.temp_name(filename)
|
|
|
|
|
|
|
|
|
|
|
|
args = ['-y', '-i', url, '-f', 'mp4', '-c', 'copy',
|
|
|
|
args = [
|
|
|
|
'-bsf:a', 'aac_adtstoasc', tmpfilename]
|
|
|
|
'-y', '-i', url, '-f', 'mp4', '-c', 'copy',
|
|
|
|
|
|
|
|
'-bsf:a', 'aac_adtstoasc',
|
|
|
|
|
|
|
|
encodeFilename(tmpfilename, for_subprocess=True)]
|
|
|
|
|
|
|
|
|
|
|
|
for program in ['avconv', 'ffmpeg']:
|
|
|
|
for program in ['avconv', 'ffmpeg']:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|