An edited M4B can sound correct yet lose its cover or author in an audiobook player. This happens because audio, chapters, container tags, and attached artwork are separate pieces of the source file. Check each piece explicitly.
Inspect the streams
Run ffprobe with streams, format, and chapters enabled. Note whether the cover is an attached-picture video stream and whether the source has chapter markers. Also record the title, artist, author, and album tags that your player displays.
ffprobe -v error -print_format json -show_streams -show_format -show_chapters book.m4b
Map what you want to keep
Clean Read's FFmpeg command maps audio plus optional video and subtitle streams, then copies global metadata and chapter definitions:
-map 0:a -map 0:v? -map 0:s? -map_metadata 0 -map_chapters 0The ? makes artwork and subtitles optional. It copies video and subtitle streams when possible, sets the first mapped video stream to attached_pic, and uses -movflags faststart. The audio is encoded because it has been muted.
Watch for metadata quirks
During development, a real M4B test showed that use_metadata_tags+faststart preserved some custom tags but dropped attached artwork in the tested output. The project kept faststart, explicitly mapped the attached picture, and added an author alias when the source had artist-like metadata but no author field. Replacing all metadata with -map_metadata -1 also stripped chapter titles in that test.
Verify in more than one way
Compare ffprobe output for the source and edited file: chapter count and start times, artwork stream and disposition, and important tags. Then open the book in the actual player you will use. Players may display the same M4B metadata differently, so a probe check alone is not enough.