This commit is contained in:
lwl0608 2024-05-06 11:48:29 +08:00
parent c98708b971
commit 7e6111f6e0
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -1,8 +1,8 @@
from lib.all import *
import ffmpy
input_file = "v1.mp4"
output_file = "v1_h265.mp4"
input_file = "h264_origin.mp4"
output_file = "h265_origin.mp4"
ff = ffmpy.FFmpeg(
inputs={input_file: None},

View File

@ -16,7 +16,7 @@ class S:
# 获取订单
def get_orders(self):
sql = "select * from vas_order where ct<{} and order_status=1 and product_id='membership'".format(int(time.time()) - 86400 * 7)
sql = "select * from vas_order where ct<{} and order_status=1 and product_id in ('membership', 'h5_zone_moment', 'h5_zone_admission', 'h5_zone_superfanship')".format(int(time.time()) - 86400 * 7)
logger.Info("get_orders sql: {}".format(sql))
docs = self.mysql_db_vas.query(sql)
return docs