yeref 0.25.53__py3-none-any.whl → 0.25.55__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,7 +16787,16 @@ 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
- ffmpeg_command = ['ffmpeg', '-i', input_file, '-filter_complex_threads', '2', '-r', str(fps), '-b:v',
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',
16791
16800
  '40k', '-crf', '30', '-s', pixels_str, '-t', '3', '-an', '-y', file_mp4]
16792
16801
  print(f"{ffmpeg_command=}")
16793
16802
  p = await asyncio.create_subprocess_exec(*ffmpeg_command)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.25.53
3
+ Version: 0.25.55
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -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=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,,
@@ -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=QDQxThrwzzsjF50gIOc0tjO9Q3WJVSo266YVqsFTiMI,1026717
5
- yeref-0.25.53.dist-info/METADATA,sha256=5edEqzIxNWw_vbrfg8WXHbevMkVAzyjQm6xTZuNgH5E,119
6
- yeref-0.25.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- yeref-0.25.53.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
- yeref-0.25.53.dist-info/RECORD,,