When I record video, it always records in landscape mode, regardless of real device orientation. How to force UIImagePicker to set the Portrait orientation?
AGAIN, UIImagePicker is used -- not AVFoundation recording classes.
1) The various properties (movie source type, dimensions, duration, etc.) of MPMoviePlayerController are only available after the movie has been visually played to the user. Before that they all come back 0. I've tried various things like forcing the system to wait a few seconds (to see if it was just a timing issue), but so far, nothing has worked other than actually playing the movie. Evan at that point, I believe those properties are acting as read-only; it's not like I can adjust them directly.
2) The various CGImageSourceRef calls and routines work only on actual images, not movies, on iOS. On MacOS there is more support for movies, also going through the CV (for Video) as opposed to CI (Image) or CG (Graphic) routines. At least, all the examples I've found so far work only on MacOS, and nothing I've found shows working code on iOS, which matches my results of getting a nil result when I attempt to use it.