bjsi / bjsi/youtube-dl-split-chapters

split file duration is wrong

Open
#6 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
56
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I've tested the script, it works fine, with one issue. Every single file has a total runtime of 2 hours and 24 minutes for me. The source YouTube video is indeed 2 hours and 24 minutes long.

Perhaps a metadata issue, or a config issue on my end maybe? I'll include my youtube-dl config to be sure:

```
-x
--audio-format=flac
--audio-quality=0
--restrict-filenames
-o ~/Downloads/%(title)s.%(ext)s
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the split using the reported youtube-dl configuration and inspect how the script reads video and chapter metadata. Trace why each output file receives the full source duration; the issue is done when each split file reports its own chapter duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.