wger
wger copied to clipboard
File type is not supported
Steps to Reproduce
- ... Select Workout
- ... Add New Video
- ... Upload .mp4 Video
Expected results: The video gets uploaded
Actual results: File type is not supported
tried different .mp4 videos some work and some dont work at all.
Mhhh, at the moment we don't log any other information. Does this always happen with the same videos?
Mhhh, at the moment we don't log any other information. Does this always happen with the same videos?
Yea it does you can try this sample https://file-examples.com/index.php/sample-video-files/sample-mp4-files/ and it wont work
I tried a couple of different videos that I have some of them worked while the others didnt
Ah cool, then I can try to debug this on my side
Thank you so much, here's also an example from one of my videos: https://drive.google.com/file/d/1DIMus1uwB1k-CRrrOt3A3TZO2iJbunYZ/view?usp=sharing
Sorry to be bothering you, but I have an update and it might sound weird!
After a couple of tests on multiple files with different codecs, resolutions, aspect ratio, frame rate & bit rate; I think this has to do with file size, any video file of size less than 3 megabytes wont be accepted other than that it seems to work just fine
EDIT: The issue seems to be that ffmpeg cant read the file so it raises 'File type is not supported exception'
that makes sense, I had only tested this with the handful of codecs I was planning on using. I would guess installing a couple of packages would solve the issue
While I haven't tried yet, the internet says installing libavcodec-extra would probably get the necessary codecs