video recording being upside down and AVMutableComposition rotating video

Discussion in 'iOS Programming' started by lunadiviner, Aug 23, 2012.

  1. lunadiviner macrumors newbie

    Jul 19, 2012
    I've got a strange problem going on with video recording and putting said video into a composition. If the device is oriented landscape left (button on the left), the video records upside down and then when it's put into the composition it's rotated 180 degrees so that it appears right side up. If the device is oriented landscape right, the video is recorded right side up but then is rotated in the composition so that it's upside down. I'm not really sure what would cause this or how to fix it; I could force the app to only run in landscape left so that the final product looks just fine but this feels sloppy and I'd prefer a better solution. The device in question is the newest iPad, I'm not sure if it behaves this way on other devices as well.

Share This Page