Skip to content

Fix the issue where the number of mask frames produced is inconsisten…#106

Open
liu75675231 wants to merge 1 commit intostoryicon:mainfrom
liu75675231:patch-1
Open

Fix the issue where the number of mask frames produced is inconsisten…#106
liu75675231 wants to merge 1 commit intostoryicon:mainfrom
liu75675231:patch-1

Conversation

@liu75675231
Copy link
Copy Markdown

@liu75675231 liu75675231 commented Aug 28, 2025

I want to solve the problems caused by the following situations: If I want to remove subtitles from a video, if some frames do not have subtitles, the output mask will not have corresponding frames, resulting in a mismatch between the number of original video frames and mask frames, leading to an error message Solution:
For frames without subtitles found, outputting an empty mask can ensure that the final output of mask frames is consistent with the number of frames in the original video, thereby ensuring that subsequent operations do not encounter problems

…t with the number of frames in the original video

I want to solve the problems caused by the following situations:
If I want to remove subtitles from a video, if some frames do not have subtitles, the output mask will not have corresponding frames, resulting in a mismatch between the number of original video frames and mask frames, leading to an error message
Solution:
For frames without subtitles found, outputting an empty mask can ensure that the final output of mask frames is consistent with the number of frames in the original video, thereby ensuring that subsequent operations do not encounter problems
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.

1 participant