From ece8baac22fd25a7b3ac33382b75d78e939f0372 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 24 Jan 2019 16:48:39 +0800 Subject: [PATCH] Update qbittorrent_worker.py --- plugins/qbittorrent/workers/qbittorrent_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index 405764153..5117aab2d 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -112,7 +112,7 @@ class downloadBT(Thread): m3u8_file = m3u8_dir + '/' + md5file[0:6] + '.m3u8' tofile = FILE_TO + '/m3u8/' + md5file[0:6] + '/%03d.ts' - cmd = 'ffmpeg -i ' + file + ' -c copy -map 0 -f segment -segment_list ' + \ + cmd = 'ffmpeg -i ' + file + ' -c copy -map 0 -f segment -segment_list -bsf:v h264_mp4toannexb ' + \ m3u8_file + ' -segment_time 5 ' + tofile print cmd data = self.execShell(cmd)