bipinkrish / file-converter-bot Goto Github PK
View Code? Open in Web Editor NEWFile Converter Telegram Bot that can Convert Images, Videos, Audios, Fonts, Documents and Ebooks
File Converter Telegram Bot that can Convert Images, Videos, Audios, Fonts, Documents and Ebooks
Attaching to file-converter-bot_myservice_1
myservice_1 | local variable 'inputt' referenced before assignment
myservice_1 | Traceback (most recent call last):
myservice_1 | File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
myservice_1 | await self.loop.run_in_executor(
myservice_1 | File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
myservice_1 | result = self.fn(*self.args, **self.kwargs)
myservice_1 | File "/usr/src/app/main.py", line 1414, in text
myservice_1 | oldext = inputt.split(".")[-1]
myservice_1 | UnboundLocalError: local variable 'inputt' referenced before assignment
The bot stopped working a month ago before that it was working well. even your official bot (@FilesConvertRobot)stopped working.
when I run it on Linux server:
docker run file-converter
it shows this error:
Traceback (most recent call last):
File "/usr/src/app/main.py", line 1438, in <module>
app.run()
File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/utilities/run.py", line 84, in run
self.start()
File "/usr/local/lib/python3.10/dist-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/utilities/start.py", line 58, in start
is_authorized = await self.connect()
File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/auth/connect.py", line 47, in connect
await self.session.start()
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 142, in start
raise e
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 109, in start
await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 333, in send
raise BadMsgNotification(result.error_code)
pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized.
And thanks for hard work!!
[mjpeg @ 0x55f7d2ac5100] unable to decode APP fields: Invalid data found when processing input
Last message repeated 9 times
[mjpeg @ 0x55f7d2ac5100] No JPEG data found in image
[matroska,webm @ 0x55f7d2a9e540] decoding for stream 10 failed
[matroska,webm @ 0x55f7d2a9e540] Could not find codec parameters for stream 10 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/usr/src/app/downloads/www_HTPMovies_art_Dongalunnaru_Jagratha_2022_1080p_NF_WEB_DL_x264.mkv':
Metadata:
title : www.HTPMovies.art - Dongalunnaru Jagratha (2022) 1080p NF WEB-DL x264 [Telugu (DD+ 5.1 - 192Kbps & AAC 2.0)] MSub
encoder : libebml v1.4.2 + libmatroska v1.6.3
creation_time : 2022-10-06T19:18:24.000000Z
Duration: 01:36:20.38, start: 0.000000, bitrate: 1886 kb/s
Stream #0:0(tel): Video: h264 (Main), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
Metadata:
title : www.HTPMovies.art
BPS : 1627282
DURATION : 01:36:20.084000000
NUMBER_OF_FRAMES: 138722
NUMBER_OF_BYTES : 1175728955
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-06 19:18:24
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(tel): Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s (default)
Metadata:
title : www.HTPMovies.art - [DD+ 5.1 - 192Kbps]
BPS : 192000
DURATION : 01:36:20.384000000
NUMBER_OF_FRAMES: 180637
NUMBER_OF_BYTES : 138729216
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-06 19:18:24
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(tel): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp (default)
Metadata:
title : www.HTPMovies.art - [AAC 2.0 - 64Kbps]
BPS : 63999
DURATION : 01:36:20.182000000
NUMBER_OF_FRAMES: 135473
NUMBER_OF_BYTES : 46241450
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-10-06 19:18:24
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: subrip (default)
How to run with docker ?!
Could you please add .ts video format. It would be great!!
Hello.
brother please add 4GB File Support For Premium User's.
Thanks For Your Hard Work
Please ๐ฅบ Update python 3.11 package ๐ฆ according to codes
Add a feature to merge video with audio to make it dual audio or multi audio
add progress bro bro
Hello Sir,
My self Pratham, I want to study your bot but i am not able to install the bot in my machine
can you please provide a proper procedure to install the bot.
It is showing me the connection error
File "C:\Users\prath\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
Bro plz add trim options
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.