mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-25 17:28:37 +01:00
.. | ||
.env.example | ||
main.py | ||
README.md |
poke-videobundler
Takes 2 input streams, downloads them, and spits out a combined file.
Installation
- Make sure
ffmpeg
,wget
, and Python 3 are all installed. - Download the program files to your computer -
main.py
and.env.example
. - Run
python3 -m pip install flask python-dotenv waitress
.
Configuration
- Run
mv .env.example .env
, even if you don't want to configure anything. - Edit and fill in the values if needed.
Usage
python3 main.py
.- If everything went well, you shouldn't see any output at launch.
- You will now be able to call the server at the configured port.
Endpoints
/
: Will return{success:true}
if alive./get_merged_video?id=VIDEO_ID&audio_itag=AUDIO_ITAG&video_itag=VIDEO_ITAG
: Returns a merged video. ID is the youtube video ID, and itags are self explanatory.