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

WebODM should support uploading of .mp4 and .srt files #1383

Closed
drewtu2 opened this issue Sep 9, 2023 · 3 comments
Closed

WebODM should support uploading of .mp4 and .srt files #1383

drewtu2 opened this issue Sep 9, 2023 · 3 comments

Comments

@drewtu2
Copy link

drewtu2 commented Sep 9, 2023

How did you install WebODM (docker, installer, etc.)?

via docker

What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

[Safari 15.6 on macOS]

What is the problem?

WebODM currently does not support the uploading of .mp4 and videos, even though this functionality is now supported by ODM per this PR. It seems like there's a hard filter on the file extension types that can be uploaded via WebODM to just image types (.png, .jpg, and .svg). (My background is not in webdev, but I came across those in webpack.config.js, not sure if this is controlling that filter or not...)

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a dataset, you must include a copy of your dataset uploaded on Dropbox, Google Drive or https://dronedb.app)

Create a new project and attempt to upload a video file and/or corresponding srt file. While the files will be visible in the file explorer, they will be un-selectable for upload.

@drewtu2
Copy link
Author

drewtu2 commented Sep 9, 2023

This might dupe #1356

@pierotofy
Copy link
Member

Mm, strange, we do have videos and SRT files in the accepted mime type list: https://github.com/OpenDroneMap/WebODM/blob/master/app/static/app/js/components/ProjectListItem.jsx#L142

Also seems to work fine on my Mac/Safari when I try to select a .mp4 file?

image

If you find a solution, feel free to open a pull request!

@drewtu2
Copy link
Author

drewtu2 commented Sep 13, 2023

ah. It appeared when I stopped and called 1./webodm update. I had pulled but didn't call the update so I must have been running with an old version.

@drewtu2 drewtu2 closed this as completed Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants