A useful cli tool to make webm videos uploadable greater than 60s in length.
Project description
Welcome to tiktok-long-video
A useful package/tool to make webm videos greater than 60s in length uploadable to TikTok.
Proof
This video https://www.tiktok.com/@harrynepal26/video/6917917976008183042 is actually 2 Minutes 45 Seconds long. You can download this video using govue-tiktok-downloader to confirm that video is more than 60 seconds long.
Usage
To upload longer videos than 60 seconds, first you must have a webm video file or you can convert the video to webm using online or offline tools and you have to save using below commands and upload via Tiktok web not mobile app.
You can use as cli tool. For help,
ttlv -h
Input filepath is must and output filepath is optional. For saving tiktok long video,
ttlv -i "/home/user/Desktop/sample.webm" -o "/home/user/Desktop/sample-ttlv.webm"
OR
You can import and use in your programs. output_path is optional.
from ttlv import Video
video = Video(input_path="./sample.webm", output_path="./sample-ttlv.webm")
video.save()
Author
👤 Pawan Paudel
- Github: @pawanpaudel93
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
Copyright © 2021 Pawan Paudel.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.