Skip to content

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

@yomiyamoto

Description

@yomiyamoto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions