Michele0303 / tiktok-live-recorder

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

Automatic Mode Creating Empty Files #134

Open Xerekros opened 1 month ago

Xerekros commented 1 month ago

Automatic mode is creating dozens of 0kb .mp4 files seemingly when checking for the live status of accounts. flags: -user, -mode automatic, -output, -ffmpeg Issue occurs both on instance where enums.py has been edited to check at shorter intervals and on stock instance.

sotero1113 commented 1 month ago

Does this user typically have bad connection or switch between multi-stream? I notice some users lives can be laggy and it would disconnect them for a few seconds which can cause this to happen. You can add a check based on the duration so that records below a certain duration arent created

Xerekros commented 1 month ago

It does not seem to correlate with when the user in question is live, though the minimum duration does sound like a good feature.

The timings and number of files created are seemingly arbitrary, and it happens on nearly every user since the latest version.

Xerekros commented 1 month ago

I was able to grab a screenshot of the error as it made an empty file (I couldn't copy the text) error