falue / tvPlayer

A media player for digital props for film and TV
0 stars 0 forks source link

"Too many packets in the demuxer packet queues" #23

Open falue opened 1 month ago

falue commented 1 month ago
[lavf] Too many packets in the demuxer packet queues:
[lavf]  video/0: 3723 packets, 157288000 bytes
[lavf]  audio/1: 0 packets, 0 bytes

The message "Too many packets in the demuxer packet queues" typically indicates that MPV is buffering too much video data in memory, which can happen due to slow or delayed video decoding, large files, or a mismatch between the video’s bitrate and the system’s processing capabilities. The video buffer grows because MPV can't process the video quickly enough. You can try reducing the buffer size or adjusting the cache-related parameters in MPV to avoid this issue, such as: --demuxer-max-bytes=10485760 --demuxer-max-back-bytes=10485760

falue commented 1 month ago

this after few times of restarting and debugging (like 50 times) the main script