Replies: 1 comment 7 replies
-
thank you for the report, I will do some testing |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using tiktok-live-recorder for few weeks, it's a very powerful live recording tool, what makes it great is it's options and customizability.
The video dimension "resolution-height-width" of the tiktok live depends on many factors, the live streamers phone/model and if the streamer joined a 2 streamers challenge the dimension of the recording changes again, sometimes it changes when the streamer joins a 4 streamers live "4 squares split screen".
I was able to confirm this change on many live using this command ffmpeg "ffprobe -v error -show_entries frame=pkt_pts_time,width,height -select_streams v -of csv=p=0 video.mp4"
The problem?
When the height and width change for the live, sometimes things goes smoothly and video remains perfect, but sometimes the recording becomes as the image below for the remaining period of the video recording:
Allow me to suggest a solution, of course weather it's applicable or not is entirely up to Michele.
The approach I suggest is to add an option per user/room -not global-, where it can restart live recording upon resolution change detected "the current live is closed and saved "same as if we manually pressed CTRL-C" and a new recording starts".
python main.py -user modelname -mode automatic -output D:\tiktok-raw-records-D\modelname -restart_resolution_change_check_every_sec 10
Every 10 seconds it will detect resolution change.
I hope it makes sense!
Beta Was this translation helpful? Give feedback.
All reactions