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

Fix invalid segment times #36

Closed
wants to merge 1 commit into from
Closed

Conversation

pulsejet
Copy link
Contributor

@pulsejet pulsejet commented Nov 9, 2022

I'm not familiar with this code, but I needed this change to get anything to work. Basically the limit was larger than the size of the breakpoints slice, so it ended up with a zero at the end for segmentTimes. This cause the ffmpeg call to fail because the end time is zero.
If it matters, I'm testing with very short videos (~10s)

@pulsejet pulsejet closed this Nov 9, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant