Hello, everyone! I make a small videoplayer using libvlc. But I stucked in finding way to rotate video (for example 90 degrees clockwise). I found module vls_es.h with difinition of function making transformation with video. Also I found enum:
TRANSFORM_IDENTITY = ORIENT_NORMAL,
TRANSFORM_HFLIP = ORIENT_HFLIPPED,
TRANSFORM_VFLIP = ORIENT_VFLIPPED,
TRANSFORM_R180 = ORIENT_ROTATED_180,
TRANSFORM_R270 = ORIENT_ROTATED_270,
TRANSFORM_R90 = ORIENT_ROTATED_90,
TRANSFORM_TRANSPOSE = ORIENT_TRANSPOSED,
TRANSFORM_ANTI_TRANSPOSE = ORIENT_ANTI_TRANSPOSED
that matches with option in VLC player->Tools->Effects and Filters->VideoEffects->Geometry->Transform
I used libvlc_media_player_t for media control.
How can I use video_format_t to send format to libvlc_media_player_t? Is it possible? Or maybe there is other way to make rotation?