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/mp4 videos greater than 60s in length uploadable to TikTok.
Installation
pip install ttlv
Web Application
You can also use the web app deployed on heroku if you don't want to install it. Link to repo: longify-tiktok
Link to web app: LongifyTikTok
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/mp4 video file or you can convert the video to webm/mp4 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.mp4", output_path="./sample-ttlv.mp4")
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.
Source Distribution
Built Distribution
File details
Details for the file ttlv-0.6.0.tar.gz
.
File metadata
- Download URL: ttlv-0.6.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2b2a621ad78fda1a8795bac953554cfd203300ec2a6027a3cc2b0a491494eb |
|
MD5 | 479dadc98a652a29e3bd35d6b79f305b |
|
BLAKE2b-256 | 1cdfed6a5c9c3d37d333f0cc3c88a66ba09bafdfa76fd2076364ea4a3e71efab |
File details
Details for the file ttlv-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: ttlv-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338e3f22a41559bf45e4df2407451502b12b246612242e0289f849e987ddc894 |
|
MD5 | ccb821d9da17687a1ea0ff528bdb3684 |
|
BLAKE2b-256 | 130828096d527b58d3767e1bb6f664d1f3a7aecf017f6997a3a521bec8249973 |