teacat / chaturbate-dvr

😎 Chaturbate DVR - auto records the stream when it goes online!
MIT License
146 stars 20 forks source link

segment not found in buffer, skipped #65

Closed shofotolavski closed 2 months ago

shofotolavski commented 2 months ago

“2024-08-11 10:40:40] [WARN] segment #3226 not found in buffer, skipped”

This message will appear after a few seconds at random.

YamiOdymel commented 2 months ago

It's a warning due to bad network environment.

The video it fetched may lost some framerate but it's not a program issue so you can ignore it.

shofotolavski commented 2 months ago

It's a warning due to bad network environment.

The video it fetched may lost some framerate but it's not a program issue so you can ignore it.

Can I solve this problem by setting a larger cache? How can I do this?

YamiOdymel commented 2 months ago

"Buffer" might not be the best term when I named it.

As each "segment" has a time limit. Once it expires, it cannot be retrieved again.

Your issue is that the program is unable to obtain the segment before it expires, so it has to give up trying.

There is no "actual cache" that can be set to be large 🥲

shofotolavski commented 2 months ago

"Buffer" might not be the best term when I named it.

As each "segment" has a time limit. Once it expires, it cannot be retrieved again.

Your issue is that the program is unable to obtain the segment before it expires, so it has to give up trying.

There is no "actual cache" that can be set to be large 🥲

All the software I have used that uses the .ts format have this problem. If there is a network buffer, maybe it can be solved, or if other formats are used?

YamiOdymel commented 2 months ago

The "buffer" only exists on the server side, which you cannot control.

Because they are a streaming website, not YouTube, they don't store videos permanently, so the segments are always deleted after a time limit set by the website (I remember it was 4 seconds on Chaturbate 🤔)

Sadly, changing the format doesn't help in this situation.