Open Geczy opened 1 year ago
Obviously the best result would be to overlay the chat on top of the video so it looks the same as if you were watching a live stream from the TikTok app.
if you want to include profile images, emotes, badges and other graphics, it will be much more complicated but I have an idea on how this can be achieved.
Another option would be to add the text-only chat as subtitles on the video.
Or to keep it simple, we could log chat with the "log to file" feature where every chat message has a [CHAT] tag and a timestamp.
here's a similar project that does this for twitch https://github.com/lay295/TwitchDownloader
i think it'd be good to record lives with the chat, do you have any thoughts on how best to do that?
looks like there's a project here: https://github.com/zerodytrash/TikTok-Chat-Reader
and a python rewrite here: https://github.com/isaackogan/TikTokLive
seems like it already supports downloading live streams too https://github.com/isaackogan/TikTokLive/blob/master/examples/download.py