prxpostern / urltotg001 Goto Github PK
View Code? Open in Web Editor NEWA Simple Telegram Bot to Upload Files From Direct Links and Google Drive Links and Youtube Links, Convert Document media to Video, and Rename Audio/Video/Document Files.
A Simple Telegram Bot to Upload Files From Direct Links and Google Drive Links and Youtube Links, Convert Document media to Video, and Rename Audio/Video/Document Files.
@prxpostern
Can you add permanent thumbnail support here..
And unzip support..
If both support can't be added then please add permanent thumbnail support
current it generate thumbnail of video at 00:01 .. so most of video gets Black screen ... so can we change its time to like 5min or set 1/3 of video
it says you can't use the bot
deploy your own bot
Machine: Ubuntu 20.04, AMD, VPS
2023-01-11 09:43:47,512 - helpers.vconverter - INFO - status: True
2023-01-11 09:43:53,513 - helpers.ffprobe - DEBUG - ['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', '/home/ubuntu/URLtoTG001/downloads/kristin_29.mp4']
2023-01-11 09:43:53,521 - pyrogram.dispatcher - ERROR - [Errno 2] No such file or directory: 'ffprobe'
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/home/ubuntu/URLtoTG001/plugins/funcs.py", line 106, in to_video1
await to_video2(client , u)
File "/home/ubuntu/URLtoTG001/helpers/vconverter.py", line 118, in to_video2
thumbnail, duration, width, height = await thumb_creator(file_path)
File "/home/ubuntu/URLtoTG001/helpers/thumbnail_video.py", line 20, in thumb_creator
probe = await stream_creator(filepath)
File "/home/ubuntu/URLtoTG001/helpers/ffprobe.py", line 31, in stream_creator
process = await asyncio.create_subprocess_exec(
File "/usr/lib/python3.8/asyncio/subprocess.py", line 236, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
File "/usr/lib/python3.8/asyncio/base_events.py", line 1630, in subprocess_exec
transport = await self._make_subprocess_transport(
File "/usr/lib/python3.8/asyncio/unix_events.py", line 197, in _make_subprocess_transport
transp = _UnixSubprocessTransport(self, protocol, args, shell,
File "/usr/lib/python3.8/asyncio/base_subprocess.py", line 36, in __init__
self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
File "/usr/lib/python3.8/asyncio/unix_events.py", line 789, in _start
self._proc = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
app code violates heroku policies :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.