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

select.lua: asynchronous execution of ffmpeg subprocesses #15936

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dyphire
Copy link
Contributor

@dyphire dyphire commented Feb 22, 2025

Avoid thread cloging

Copy link

github-actions bot commented Feb 22, 2025

Download the artifacts for this pull request:

Windows
macOS

@dyphire dyphire force-pushed the select branch 2 times, most recently from c024695 to d154fc1 Compare February 22, 2025 10:23
@dyphire dyphire force-pushed the select branch 2 times, most recently from 86a9123 to 7256e6d Compare February 22, 2025 10:35
@dyphire
Copy link
Contributor Author

dyphire commented Feb 22, 2025

I noticed that the original subtitle content parsing didn't address possible ass special content, resulting in a lot of content duplication
image
So I refactored the parsing of the subtitle content and now it will avoid repeated display of the same content at the same time. This reduced the number of subtitles displayed from 6000+ to 1366
image

@avih
Copy link
Member

avih commented Feb 22, 2025

The async change should probably be in its own commit (unless you think it's tied closely with the other changes).

@dyphire
Copy link
Contributor Author

dyphire commented Feb 22, 2025

The async change should probably be in its own commit (unless you think it's tied closely with the other changes).

I was refactoring while working on other problem issues and forgot to split the commit. Will redo it later.

@dyphire dyphire force-pushed the select branch 3 times, most recently from d61d1ab to 1d842d5 Compare February 22, 2025 13:46
@dyphire dyphire force-pushed the select branch 5 times, most recently from af1fe9b to ce1cd29 Compare February 23, 2025 03:54
Avoid repeated display of the same content at the same subtitle time

Keep blank lines for both lrc and srt formats
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.

4 participants