Skip to content

Fix latent bugs and misleading errors in create_videos - #3468

Draft
deruyter92 wants to merge 3 commits into
dev/tst-3.1-releasefrom
jaap/fix-create-video
Draft

Fix latent bugs and misleading errors in create_videos#3468
deruyter92 wants to merge 3 commits into
dev/tst-3.1-releasefrom
jaap/fix-create-video

Conversation

@deruyter92

Copy link
Copy Markdown
Collaborator

Recent testing of the dev branch before 3.1 release undisclosed a few minor bugs or misleading error messages. These are fixed in the current PR:

  • The error log did not show correctly which videos were failed to create (the actual create video call uses collect_videos(videos) and not the logged videos, which in some cases may have a different order or count).
  • collect_videos emits a warning for unsupported video file formats, but we use the function internally for .h5 files as well. This PR introduces a silencing flag to not warn in these cases.
  • a latent bug caused analyze_videos_converth5_to_csv to only work for .mp4 videos this is now changed to all supported video types.

`create_labeled_video` returns one result per collected video, in the order `collect_video_paths` resolves them - not one per path passed in. This commit aligns the error log for failed videos now
`collect_video_paths` is not only used for videos: some helpers call it with
extensions=".h5" to enumerate analysis outputs. This commits adds and wires a flag to suppress the misleading warning that ".h5" is not a supported video format.
@deruyter92 deruyter92 added this to the v3.1.0 milestone Aug 28, 2026
@deruyter92 deruyter92 added the 3.1 label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant