mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 01:39:26 +02:00
idx multimedia format/container type
This commit is contained in:
parent
1c69ccc6cd
commit
8ea1f4a751
5 changed files with 11 additions and 5 deletions
|
@ -47,8 +47,8 @@ CONDITIONAL_UPLOAD = True
|
|||
|
||||
|
||||
def main():
|
||||
fp = sys.argv[1]
|
||||
if CONDITIONAL_UPLOAD:
|
||||
fp = sys.argv[1]
|
||||
zb = sys.stdin.buffer.read()
|
||||
zs = zb.decode("utf-8", "replace")
|
||||
md = json.loads(zs)
|
||||
|
|
|
@ -97,7 +97,7 @@ def main():
|
|||
zs = (
|
||||
"ffmpeg -y -hide_banner -nostdin -v warning"
|
||||
+ " -err_detect +crccheck+bitstream+buffer+careful+compliant+aggressive+explode"
|
||||
" -xerror -i"
|
||||
+ " -xerror -i"
|
||||
)
|
||||
|
||||
cmd = zs.encode("ascii").split(b" ") + [fsenc(fp)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue