/pytgcalls

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

PyTgCalls

How to install?

Here's how to install the PyTgCalls lib, the commands are given below:

cd pytgcalls/ && \
npm install && \
npm run prepare && \
cd pytgcalls/js && \
npm install && \
cd ../../ && \
pip install -r requirements.txt

Conversion command

ffmpeg -i {INPUT_FILE} -f s16le -ac 1 -acodec pcm_s16le -ar {BITRATE} {OUTPUT_FILE}

Credits

Big thanks to @evgeny-nadymov for allowing us to use their code from telegram-react

This library is based on tgcallsjs developed @AndrewLaneX and pyservercall by @Laky-64