Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option to disable silence detection #262

Open
konfigurate opened this issue Aug 8, 2024 · 1 comment
Open

No option to disable silence detection #262

konfigurate opened this issue Aug 8, 2024 · 1 comment

Comments

@konfigurate
Copy link

konfigurate commented Aug 8, 2024

I am using m4b-tool to convert loads of folders with mp3 files to m4b files.

While using the -v flag, I can see it is searching for silence in the converted file, which I would like to disable.

I tried using --max-chapter-length=360000, to make it stop, but it will search for silence nontheless:

m4b-tool merge \
        --ffmpeg-threads=8 \
        --jobs=8 \
        --audio-bitrate=128k \
        --no-chapter-reindexing \
        --max-chapter-length=360000 \
        "$1" \
        --output-file="$1.m4b" \
        -v

Is there something I missed reading the documentation?

@sandreas
Copy link
Owner

sandreas commented Aug 9, 2024

Is there something I missed reading the documentation?

Unfortunately, there seems to be no option to skip this. This is indeed wasting a lot of time if you don't want to adjust the chapters. Thank you for pointing this out.

My suggestion would be the following:

  • --no-chapter-reindexing will skip silence detection automatically (it makes no sense)
  • --no-silence-detection as a new parameter will skip silence detection but perform all other chapter operations as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants