forked from MarseyWorld/MarseyWorld
fix some videos not working on safari
parent
e93ee9133d
commit
8742683a61
|
@ -183,6 +183,10 @@ def process_video(file, v, post=None):
|
|||
reencode = True
|
||||
if int(stream.get('bit_rate', 3000000)) >= 3000000:
|
||||
reencode = True
|
||||
if stream.get('profile') != 'High':
|
||||
reencode = True
|
||||
if stream.get('level') > 52:
|
||||
reencode = True
|
||||
elif stream["codec_type"] == "audio":
|
||||
if stream.get('profile') != 'LC':
|
||||
reencode = True
|
||||
|
|
Loading…
Reference in New Issue