5
3
I am recording videos on iPhone and uploading them to my Linux server. Users can see these videos on website. If users are seeing videos on mac or iDevices the video is looking fine but when users are seeing that video on windows systems these videos are getting rotated.
I am assuming this is because of some apple's flag in the recorded video which Windows systems are not able to read. Can I record videos in some way so they don't get rotated on Windows systems? Or is there any way I can re-encode videos with proper interface orientation using FFmpeg?
I am open to both FFmpeg or iOS way.
On every iPhone I've owned, the "native" orientation for the rear-facing camera is with the phone in landscape orientation, with the camera lens toward the left hand. If the video was originally shot in that orientation, stripping the rotation flag without re-encoding should be enough. (Although it would probably show correctly in all players without modification anyway.) – smitelli – 2018-07-22T01:40:25.663