-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Related to the recent merge: #841 There are two things that I would like to discuss:
- Currently to validate and upload video files we need to specify the option
allow-any-path. Since we now explicitly organize video files withdandi organiseI dont think this options is a good idea as the user may be able to upload other unwanted files along with videos. Additionally, for this option to work theDANDI_DEVELenv variable needs to exist so any user would need to do:DANDI_DEVEL=1 dandi validate --allow-any-path. This is rather un-user-friendly for common users. (edit by @yarikoptic - dedicated Add VIDEO_FILE_EXTENSIONS into the "default" set #920 ) - Need to validate video files:
- Currently we support the organization of
".mp4", ".avi", ".wmv", ".mov", ".flv"formats. Validation could enforce these extensions. While this list of file containers are only a start, we will build a better list once things get rolling and we encounter different video formats used in animal experiments. - It is theoretically possible for acquisition systems to output corrupted videos: have dropped frames, no frames. Ideally its the users responsibility to correct this so may not be something for DANDI to worry about. These errors could be checked by opening the file using opencv within a
try/exceptblock. I am not sure if this happens often enough to make it a necessary check everytime.
Metadata
Metadata
Assignees
Labels
No labels