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

Unable to Upload Video via Frontend in Docker - "Uh oh, we cannot process this video" Error #497

Open
yomiyamoto opened this issue Dec 17, 2024 · 0 comments

Comments

@yomiyamoto
Copy link

Hello all.

I am seeing an issue with uploading any video, similar to the trouble raised in 361 where uploading video on the Sam 2 local deployment fails. This previous issue appears to have been resolved but I'm seeing very similar behavior, with an "Uh oh, we cannot process this video" Error for any clip I attempt to upload.

I have tried local backend deployments via both Docker and waitress and have the same issue.

testing an upload to the backend via curl is giving me what looks like a failed upload:
C:>curl -F "operations={"query": "mutation($file: Upload!){ uploadVideo(file: $file) { path } }", "variables": { "file": null } }" -F "map={ "file": ["variables.file"] }" -F "file=@C:\my_video.mp4" http://localhost:7263/graphql

{"data": null, "errors": [{"message": "'av.video.codeccontext.VideoCodecContext' object has no attribute 'side_data'", "locations": [{"line": 1, "column": 27}], "path": ["uploadVideo"]}]}

Per 364 I saw that I was running the current strawberry-graphql 0.254.0. I have also tried older versions such as 0.239.0 and removed the multipart_uploads_enabled=True parameter, but this hasn't worked either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant