¡@

Home 

2014/10/15 ¤U¤È 10:15:08

iphone Programming Glossary: txf.a

how to detect (iphone sdk) if a video file was recorded in portrait orientation, or landscape

http://stackoverflow.com/questions/4627940/how-to-detect-iphone-sdk-if-a-video-file-was-recorded-in-portrait-orientation

NSLog @ size.width f size.height f size.width size.height CGAffineTransform txf avAsset preferredTransform NSLog @ txf.a f txf.b f txf.c f txf.d f txf.tx f txf.ty f txf.a txf.b txf.c txf.d txf.tx txf.ty Which always yields a width height so.. size.height CGAffineTransform txf avAsset preferredTransform NSLog @ txf.a f txf.b f txf.c f txf.d f txf.tx f txf.ty f txf.a txf.b txf.c txf.d txf.tx txf.ty Which always yields a width height so for iPhone 4 width 1280 height 720 and the transform.. NSLog @ size.width f size.height f size.width size.height CGAffineTransform txf videoTrack preferredTransform NSLog @ txf.a f txf.b f txf.c f txf.d f txf.tx f txf.ty f txf.a txf.b txf.c txf.d txf.tx txf.ty Logs using 4 iPhone 4 videos with the..