Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to rotato video frame #7

Closed
jordanhgl opened this issue May 15, 2014 · 1 comment
Closed

how to rotato video frame #7

jordanhgl opened this issue May 15, 2014 · 1 comment
Labels

Comments

@jordanhgl
Copy link

hi, I'm developing an app like vine, at start, I use mediaRecorder to record video, but soon I found it not proper to build function like what vine supply, then i found javacv is a good resolution, but now I have a problem, that is after I record video, enter preview page, SurfaceView will display video in landscape orientation(-x direction), its will display in +x direction when I record with front camera, I really don't know where and how to to rotate every frame from camera onPreviewFrame callback, need your help, thanks a lot!

@saudet
Copy link
Member

saudet commented May 15, 2014

I'd say you should post your questions on the mailing list, but if people use GitHub notifications as mailing list, maybe it'd be appropriate to post them here too. Do you know?

Anyway, the tranpose() function of OpenCV followed by flip() should do what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants