Rotated video on MICRO

Started by nzod, December 06, 2015, 03:06:02 PM

Previous topic - Next topic

nzod

Hi all!

For a portrait mode application, I have been trying to play back accelerated video, rotated 90 (or 270) degrees. This is on the official Wheezy (release 10) image for the MICRO board.

Using mplayer, unrotated 1080p video plays back fine, however activating the rotation filter or any other video filter would make playback fail immediately.

I tried rotating the X output itself but that would kill general UI performance, and mplayer would produce strange (and slow) output.

I also tried compiling the latest mplayer (+ffmpeg), but activating rotation would also fail, albeit with a different message.

Also tried the Jessie image, and after fixing cedar configuration, couldn't get vdpau to work, neither with built in nor freshly compiled mplayer (the xv output would allow rotation, though).

Rotating the videos themselves is not an option as the video content is configurable, and pre-rotation with ffmpeg would often produce strange results (exploding file sizes etc.)

Is it possible at all to rotate accelerated video with the cedar driver?
Any hints would be highly appreciated!

nzod

#1
This just in: rotation is not possible with vdpau :(

That's too bad, pre-rotation it is then.