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

Is there any suggestions to acccelerate the process of splitting and captioning? #34

Open
Kyfafyd opened this issue Mar 23, 2024 · 3 comments

Comments

@Kyfafyd
Copy link

Kyfafyd commented Mar 23, 2024

RT.
As there are a large number of videos for processing, if there is an acceleration, such as multi-processing?

@tsaishien-chen
Copy link
Contributor

Hi @Kyfafyd,
Thanks for your interest in our method!
To accelerate the captioning, you can increase the batch-size.
To accelerate the splitting, you can separate your videos into different groups and launch multiple parallel processes by background commands or Python built-in multiprocessing package
Hope this helps!

@Kyfafyd
Copy link
Author

Kyfafyd commented Mar 26, 2024

Hi, @tsaishien-chen
Thanks for your reply! May I learn the exact approach you have used for splitting videos? And what is the estimated time for obtaining 2M sub-videos?

Could you please provide your code examples?

@tsaishien-chen
Copy link
Contributor

Hi @Kyfafyd,
Sorry but we don't keep the original source code.
The computation time depends on the number and spec of your machines. I suggest you to check the CPU usage when splitting the videos and make sure you launch proper number of parallel processes to use all of your CPU.

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

No branches or pull requests

2 participants