Вопрос

I am using the CWAC library and trying to record videos like Vine and Instagram, portrait mode. However, the videos recorded come up in bad landscape(they get rotated to landscape and somehow lose their proper ratios). any idea on why and how to solve this ?

Это было полезно?

Решение

Quoting the Known Limitations section of the documentation:

Taking videos in portrait mode is not supported

There is an outstanding issue to try to support it. Note that I suspect that the vast majority of devices will still give the same results that you are seeing, which is why I formally dropped support for it.

Note that Vine does not use MediaRecorder to take videos, as my library does. They build their own videos using camera preview frames, probably in conjunction with a port of ffmpeg or something like that to convert those frames into a video.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top