yeref 0.25.55__py3-none-any.whl → 0.25.56__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
yeref/yeref.py
CHANGED
@@ -16787,17 +16787,17 @@ async def item_to_dynamic_sticker(bot, chat_id, input_file, PACK_TYPE, PACK_KIND
|
|
16787
16787
|
await asyncio.sleep(round(random.uniform(0, 1), 2))
|
16788
16788
|
|
16789
16789
|
try:
|
16790
|
-
if is_circle:
|
16791
|
-
|
16792
|
-
|
16793
|
-
|
16794
|
-
|
16795
|
-
|
16796
|
-
|
16797
|
-
|
16798
|
-
else:
|
16799
|
-
|
16800
|
-
|
16790
|
+
# if is_circle:
|
16791
|
+
ffmpeg_command = [
|
16792
|
+
'ffmpeg', '-i', input_file, '-filter_complex_threads', '2',
|
16793
|
+
'-r', str(fps),
|
16794
|
+
'-c:v', 'libx264', '-preset', 'slow', '-crf', '18',
|
16795
|
+
'-pix_fmt', 'yuv420p',
|
16796
|
+
'-s', pixels_str, '-t', '3', '-an', '-y', file_mp4
|
16797
|
+
]
|
16798
|
+
# else:
|
16799
|
+
# ffmpeg_command = ['ffmpeg', '-i', input_file, '-filter_complex_threads', '2', '-r', str(fps), '-b:v',
|
16800
|
+
# '40k', '-crf', '30', '-s', pixels_str, '-t', '3', '-an', '-y', file_mp4]
|
16801
16801
|
print(f"{ffmpeg_command=}")
|
16802
16802
|
p = await asyncio.create_subprocess_exec(*ffmpeg_command)
|
16803
16803
|
await p.communicate()
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=Pc6C6WIIV1MZ_tv7wAkIUJttn0yUC-ewqjTdrX8VDeA,1117680
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=xjqLRZjUsMDjHIE7EOrevumE5T44qxvLdlOBu5cMTBc,1027136
|
5
|
+
yeref-0.25.56.dist-info/METADATA,sha256=UA-hUFy1TVDT1CcauOnmFZcuHVq-krFUoFUsxmbC3NY,119
|
6
|
+
yeref-0.25.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.25.56.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.25.56.dist-info/RECORD,,
|
yeref-0.25.55.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=Pc6C6WIIV1MZ_tv7wAkIUJttn0yUC-ewqjTdrX8VDeA,1117680
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=wsEpzO8ui1n1NdAI1ZlKQv-QhthVY-Ia9kL8ukVTRGI,1027156
|
5
|
-
yeref-0.25.55.dist-info/METADATA,sha256=kpN5OImLkpHayXtxbHOmyVYub0YK6lcumBcm2RdjQM8,119
|
6
|
-
yeref-0.25.55.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.25.55.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.25.55.dist-info/RECORD,,
|
File without changes
|
File without changes
|