BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.23k stars 4.61k forks source link

Recorded movies do not provide the correct landscape orientation #283

Open slevente opened 12 years ago

slevente commented 12 years ago

I am using your framework and stumbled in the following problem: recording videos with the GPUImageMovieWriter I could not determine in which orientation was the video recorded, landscape left or landscape right. I am using the following function to determine the orientation of a recorded video:

This method works fine for videos recorded with the default camera application, but it fails detecting correct landscape orientation for videos recorded with the GPUImage framework. The preferredTransform of the videoTrack is different for GPUImage videos as for videos recorded with the default application. I double checked that I set the outputImageOrientation of the videocamera, so that is not the problem. Please fix this bug or try to guess where else can the problem be.

Thank you, Levi

slevente commented 12 years ago

Does anyone have a suggestion for my problem?

2energycell commented 12 years ago

I have the same problem too

BradLarson commented 12 years ago

Is this fixed with the latest code in the repository? Some updates were made regarding recorded movie orientation.

gramireddy commented 10 years ago

I still see this issue. I have a landscape app and the movie written to disk is inverted. I double checked when I play it in quicktime. Can someone confirm if this is fixed?

Thanks

sambudda commented 10 years ago

Is this issue fixed? I am experiencing the same problem. Portrait movies come out fine while landscape movies are sideways