You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crawler outputs damaged videos with parallel ffmpeg calls #90
The Crawler/Kinetics/download.py script fails when using num_jobs > 1. The videos are downloaded correctly but the clipping with ffmpeg produces a damaged video that doesn't play fully. My solution was to set prefer='threads' in the call to Parallel. The job is still calling subprocess_check_output for downloads and ffmpeg calls so will likely be ran in parallel. I'm posting in case anybody else encounters this frustrating issue. To devs, please reply if you want me to make a pull request with this fix.
Reacted by Yuki Tatsunami, Javier Selva, Victor Escorcia and Boseung01
Activity
javierselva commentedon Mar 2, 2023
Hi! I am having a similar issue. The videos download but in most cases I cannot open them nor can OpenCV.
Thanks for the proposed solution! I have a question, though. To be clear, you mean making a change in
ActivityNet/Crawler/Kinetics/download.py
Line 191 in 82304fa
Is that correct? Thanks in advance!