How to extract orientation information from videos?

后端 未结 6 1924
谎友^
谎友^ 2020-11-30 04:49

After surfing through tons of documentation on the web it seems that the iPhone always shoots the video at a 480x360 aspect ratio and applies a transformation matrix on the

6条回答
  •  日久生厌
    2020-11-30 05:47

    I have extracted on iOS using an AVAssetExportSession, AVMutableComposition and the input AVAssetTrack's preferredTransform. I concatenate the preferred transform with a transformation to fill the target size.

    After exporting to a file, I upload using ASIHTTPRequest to my rails server and send the data to Amazon S3 using paperclip.

提交回复
热议问题