cozy icon indicating copy to clipboard operation
cozy copied to clipboard

Incorrect chapter information

Open ewen-r opened this issue 1 year ago • 5 comments

Incorrect chapter information is being displayed. please see screenshot from cozy along side output from ffprobe

Image

ewen-r avatar Jan 29 '25 09:01 ewen-r

Hi! Could you please clarify what the issue is here? It's not obvious to me from your screenshots.

rdbende avatar Feb 07 '25 12:02 rdbende

many thanks. The LHS is showing chapter durations in Cozy. The RHS is the chapter information from ffprobe command

The ffprobe command lists chapter durations correctly. Cozy does not. e.g "The ABC Murders" is 2hrs 23 mins, 1 second in Cozy but is actually 5148 seconds (ie approx 1 hr 26 minutes).

ewen-r avatar Feb 07 '25 13:02 ewen-r

Okay, I think this one's related to #957. Basically, Mutagen, the library we use to parse audio files, gives bad chapter times for m4b files. The issue has been known for ages, but the fix hasn't been merged :/

rdbende avatar Feb 12 '25 12:02 rdbende

Many thanks.

ewen-r avatar Feb 12 '25 13:02 ewen-r

Hi! Could you try running ffprobe on this file with the -show_entries stream=time_base option? I have a suspicion, that it might be using a timebase of 1000/600, which mutagen doesn't handle at all.

rdbende avatar Mar 14 '25 21:03 rdbende