Michele0303 / tiktok-live-recorder

🎥✨ A TikTok live streaming recorder tool written in Python. Capture and relive your favorite TikTok moments effortlessly. 🎥✨
MIT License
370 stars 102 forks source link

Recording Restarts Frequently #62

Open Eikreis opened 1 year ago

Eikreis commented 1 year ago

On version 3.9, command example: py main.py -user username -mode automatic -ffmpeg

Recorder drops and restarts the recording multiple times during the stream, generated 10 files from TK_username_2023.07.04_16-12-37 thru TK_username_2023.07.04_16-19-41

So 10 files over the span of about 7 minutes, that's a ton. I can't imagine what I'm going to get on long streams...

spinningsand commented 1 year ago

Try my fork which can handle lagging and produce fewer video files: https://github.com/roju/tiktok-live-recorder

Works good so far. There was 1 streamer I couldn't record and it gave me this error:

ERROR - rtmp_pull_url not in response: {'data': {'prompts': ''}, 'extra': {'now': 1692122709147}, 'status_code': 4003110}

spinningsand commented 1 year ago

Try my fork which can handle lagging and produce fewer video files: https://github.com/roju/tiktok-live-recorder

I had one where it froze in the middle of recording, but I don't think it was because of lag. I think the live paused for a few seconds.

Marksmanship256 commented 1 year ago

Hey there, first off, huge thanks to the creator of this project. And shoutout to @roju for an awesome fork of it. I'm using the @roju version and recently I thought about setting up a dedicated folder for videos right at the root of the project. So, what I do is call the script using this command: python ttlr.py -user username -ffmpeg -combine -out_dir video. But here's where the issue pops up - during the concatenation step, it creates a txt file named concat.txt inside the video folder and that's when the script just crashes.

Michele0303 commented 1 year ago

Hey there, first off, huge thanks to the creator of this project. And shoutout to @roju for an awesome fork of it. I'm using the @roju version and recently I thought about setting up a dedicated folder for videos right at the root of the project. So, what I do is call the script using this command: python ttlr.py -user username -ffmpeg -combine -out_dir video. But here's where the issue pops up - during the concatenation step, it creates a txt file named concat.txt inside the video folder and that's when the script just crashes.

Please, for issues related to roju's fork, open an issues from him

Marksmanship256 commented 1 year ago

Apologies for posting here, but I couldn't find the "create issue" option in the @roju fork. So, I'm reaching out in this manner. Also, I'm hopeful that @Michele0303 might introduce a similar solution for dealing with frequent disconnects.

Thanks for this project.

roju commented 1 year ago

@Marksmanship256 @Michele0303 Hi there, I didn’t realize issues weren’t enabled on my fork. Just enabled it. I’ll be monitoring and responding to the issues on my fork from now on.