1st you need to install NodeJS download and install the LTS or Current.
Then launch your terminal (cmd.exe on windows) and install tiktok-live with NPM :
npm install -g tiktok-live
The command tiktok-live will be available in your console (cmd.exe or powershell.exe or bash)
To update tiktok-live just type :
npm update -g
20200625/1.0.0
first release
download live streams via shared link.
tiktok-live options link
Change default download folder (current path is the default)
Increase verbosity level (all commands)
-v basic messages (in blue) -vv debug messages (in green) network -vvv dump json requests
Set the video output format (use FFMPEG)
tiktok-live --fmt mp4 url
tiktok-live --fmt mkv url
MP4 will add "-bsf:a aac_adtstoasc" for compatibility
default FFMPEG args are :
-hide_banner // no banner -loglevel error // silence -c copy // copy stream without reencoding -video_track_timescale 0 // some broadcasters need this (corrupted videos)
FFMPEG MUST BE IN YOUR PATH (on Windows) OR INSTALLED (on Linux)
Use ffmpeg to encode the video.
tiktok-live --fmt mkv --ffmpeg "-s 320x240 -r 30 -an" url
tiktok-live --fmt avi --ffmpeg "-vcodec libxvid -acodec libmp3lame" url
FFMPEG MUST BE IN YOUR PATH (on Windows) OR INSTALLED (on Linux)
save belong the video a json file with some infos about the stream.
Guess what ?
As an open source project use it at your own risk. Tiktok can break it down at any time.
Report any bug or missing feature at your will.
If you like this software, please consider a Bitcoin donation to bitcoin://14bpqrNgreKaFtLaK85ArtcUKyAxuKpwJM