Duplicate XFMG - Edited mp4 files not recognized.

Mr Shap

Affected version
2.2.6 Patch 2 / XFMG 2.2.3
We have had a few reports of members who are having problems with some of their mobile phone videos being uploaded to our site in XFMG.

We have done some diagnosing, and the videos in question have an mp4 extension, but are actually 3gp formatted, which apparently is something that happens fairly commonly for some phones.

Upon further investigation and talking with members, this seems to happen with mp4 files that have been edited in-device.

Example here is a video that a member created on their iphone, and then used the device to trim time from the video. Something about the way that these files are saved seems to change the contents of the container, and they wont be recognized as videos. Unedited video files work fine.

The error is "The file was not a video as expected"

Leaving a sample file link here as well for this for testing.

https://www.dropbox.com/s/jzegdhe44sdelov/Christoff - 20220324_172037_1.mp4?dl=0
This is fixed in XF 2.2.12 via:
Top Bottom