I just got this error with a video downloaded from WhatsApp.
Tried to edit it in the Apple Photos app on iOS to crop some information out and not even Apple Photos could edit it. Kept getting an ‘There was an error saving this video. Please try again later’ when trying to crop it.
So maybe it’s something weird that Facebook does with their videos.
I've tagged this as a partial fix because I have resolved this for the video that I was sent, though it's not really knowable if the video in the first post had the same particular issue. If you run into this problem in 2.2.3+, please open a new bug report.
Unfortunately not. The validation happens way before transcoding is even tried, so any unsupported ftyp does get rejected.
We've just had the same issue with a MP4 video with ftyp 3gp5, after adding this to the whitelist in XF\Http\Upload::analyzeVideo() the video could be uploaded and transcoded.
The video was recorded with a Samsung Galaxy S21 Ultra using the standard camara app version 11.0.03.24 and was afterwards edited with Samsung video editor app 126.96.36.199, so I think this ftyp might be a pretty common.
Would it make sense to whitelist all brands from http://mp4ra.org/#/brands ?
Or log unknown ftyp in error log?
That would at least make it easier to support users.