Skip to content

CB Stuttering Problem #54

Description

@KFERMercer

This is probably a problem due to CB backend update. This update will cause more stuttering than before.

I’ve tried many solutions on the local branch, but none have worked, including separating the video and audio recordings.

I believe other similar CB recording tools have encountered this problem as well. If anyone has a solution, please let me know.

See also: lossless1024/StreaMonitor#342 (comment)


2026-04-09 UPDATE:

Based on lossless1024/StreaMonitor#342 (comment) , I've implemented a new branch (https://github.com/KFERMercer/ctbcap/tree/n_m3u8dl-re) that uses https://github.com/nilaoda/N_m3u8DL-RE for recording. It will automatically enable when N_m3u8DL-RE is in your $PATH:

sh -c "$(curl -sL https://raw.githubusercontent.com/KFERMercer/ctbcap/refs/heads/n_m3u8dl-re/ctbcap)" @ -v

For Docker use, it needs to download https://raw.githubusercontent.com/KFERMercer/ctbcap/refs/heads/n_m3u8dl-re/ctbcap and https://github.com/nilaoda/N_m3u8DL-RE/releases/latest (musl build) manually, then mount them into the container:

chmod +x ctbcap N_m3u8DL-RE
  • Docker CLI:
    -v </path/to/ctbcap>:/usr/bin/ctbcap \
    -v </path/to/N_m3u8DL-RE>:/usr/bin/N_m3u8DL-RE
  • Docker Compose:
      volumes:
        - </path/to/ctbcap>:/usr/bin/ctbcap
        - </path/to/N_m3u8DL-RE>:/usr/bin/N_m3u8DL-RE

It works very well. But since this solution introduces additional dependency (https://github.com/nilaoda/N_m3u8DL-RE), I will always keep this as a temporary solution.


2026-04-11 UPDATE:

If you're having audio sync issue, try N_M3U8DL_NO_FFMPEG_PIPE=1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions