I have tested using the python script provided and it returns an error code 1 and could not find any indication as to what part of the mp4 is causing the video. I have transcoded the video track (using FFMPEG and copying the audio track) and the upload works, however; the original video track encoding meets all the requirements specified in Twitter’s documentation. This also, does not explain how the original mp4 uploads successfully using Twitter’s official mobile applications.
The video can be downloaded from the following link: https://drive.google.com/file/d/1oiyD8llImKDY56v7NIaeDTmL2wdWZEph/view?usp=sharing
@eos1d3, I agree that the root cause is from Twitter. We have had no problem uploading the media to other social media platforms. Re-transcoding video tracks would take substantially more time and resources.