Bug 3gp-encoded ,mp4 videos not accepted

There is a bug in this version
M

mattrogowski

Guest
If you have a .mp4 file encoded as 3gp (not a .3gp video), it will not be accepted as a valid video file. I believe this encoding is used when sending a video via MMS/iMessage and over a cellular network.

First bytes of a .mp4 video that works: ftypmp42mp41mp42isom
First bytes of a .mp4 video that doesn't work: ftyp3gp53gp5isom

This is from XF\Http\Upload::analyzeVideo():

PHP:

Code:
$mp4Ftypes = [
    'avc1', 'f4v', 'iso2', 'iso6', 'isom', 'mmp4', 'mp4v', 'msnv'...

Read more

Continue reading...