zhangyong 10 months ago
parent
commit
e890fc603d
2 changed files with 25 additions and 0 deletions
  1. 1 0
      common/ffmpeg.py
  2. 24 0
      requirements.txt

+ 1 - 0
common/ffmpeg.py

@@ -31,6 +31,7 @@ class FFmpeg():
             "ffmpeg",
             "-i", video_url,
             "-c:v", "libx264",
+            "-b:v", "1000k",
             "-c:a", "aac",
             "-t", str(total_duration),
             '-vf', f"scale=720x1280",

+ 24 - 0
requirements.txt

@@ -0,0 +1,24 @@
+loguru==0.6.0
+lxml==4.9.1
+oss2==2.15.0
+psutil==5.9.2
+PyMySQL==1.0.2
+requests==2.27.1
+urllib3==1.26.9
+workalendar==17.0.0
+opencv-python~=4.8.0.74
+crontab~=1.0.1
+mitmproxy~=9.0.1
+bs4~=0.0.1
+beautifulsoup4~=4.11.1
+scikit-learn~=1.3.0
+decorator
+tqdm
+numpy
+proglog
+certifi
+idna
+chardet
+pillow
+imageio
+configparser