To mute one word in a long audiobook, you first need to know where that word starts and ends. Sentence timestamps are too coarse: muting an entire sentence would hide nearby dialogue. This guide explains the word-level transcription step in Skip Stuff and how to build a similar manual pipeline.
1. Probe the source audio
Use ffprobe to inspect duration, codec, chapters, and streams before decoding. That tells you whether there is an audio stream and gives you a duration for progress reporting.
ffprobe -v error -print_format json -show_streams -show_format -show_chapters book.m4b
2. Decode manageable segments
The current desktop workflow decodes ten-minute chunks to mono 16 kHz PCM WAV with FFmpeg. This bounds temporary storage and makes a long book restartable by chunk. A simplified command for the first chunk is:
ffmpeg -nostdin -v error -ss 0 -i book.m4b -t 600 -vn -ac 1 -ar 16000 -c:a pcm_s16le chunk.wavFor later chunks, change -ss to 600, 1200, and so on. Keep the original file untouched. Be careful with boundary words; each chunk's timestamps must be shifted by its source offset.
3. Generate word timestamps
The original Clean Read CLI was designed to accept WhisperX JSON. The current desktop first-run path uses faster-whisper with word_timestamps=True, English, voice activity detection, and a CPU int8 model. Its output is converted to segments[].words entries with word, start, and end. Each word time gets the chunk offset added before the transcript is saved.
{"segments":[{"words":[{"word":"example","start":12.34,"end":12.71}]}]}The parser also accepts WhisperX's top-level word_segments layout. If both layouts are present, it deduplicates identical start, end, and normalized-word triples.
4. Verify and review
Automatic timestamps can be wrong around music, overlapping voices, names, or accents. Listen to a small sample around each proposed mute. If you build your own workflow, save the transcript after each chunk so a failure does not discard hours of work.
Skip Stuff pins its speech dependencies and model revision, verifies model files with SHA-256 hashes, and keeps transcription local. The audiobook is not uploaded.