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
I tried to run deeplabcut.extract_frames(config_path, videos_list=[video_path]) and got the following message "Frame extraction failed. Video files must be corrupted."
It turns out that this was due to the fact that I had not added video_path to the list of videos in the config.yaml and line 272 ( videos = [v for v in cfg["video_sets"] if v in videos_list]) from frame_extraction.py was filtering it out.
I suggest that you please:
Make it raise a proper error (not just a print message)
Change the content of the "error" to the actual issue (Video not present in config.yaml, please add it first using deeplabcut.add_new_videos)
After adding it to the config all worked well. Thanks a lot
Thanks for the report; this should actually be fixed in 3.0.2 (#3449), it now raises: ValueError: None of the selected videos matched the video paths stored in the project configuration.
If possible, you could upgrade and check on the latest version?
If it's still unclear what to do next, let me know and we could open a feature request instead, since indeed it does not point to the helper currently.
Activity
C-Achard commentedon Oct 9, 2026
Hi @dmg99,
Thanks for the report; this should actually be fixed in 3.0.2 (#3449), it now raises:
ValueError: None of the selected videos matched the video paths stored in the project configuration.If possible, you could upgrade and check on the latest version?
If it's still unclear what to do next, let me know and we could open a feature request instead, since indeed it does not point to the helper currently.
Best,
Cyril
dmg99 commentedon Oct 9, 2026
Super sorry I did not found the previous issue. Great is fixed, I close then
C-Achard commentedon Oct 9, 2026
No problem! Thanks again