Page 1 of 1

Automatic rotation issue

Posted: 14 Aug 2022 14:52
by 11Aug
Hi there !

For many years we have been developing a big software which makes use of the excellent libVLC library. However we have today 3 pending problems:

1- Using libVLC, we would like to reach the value of a video's automatic rotation angle (0°, 90°, 180° or 270°). Is that possible through libVLC?

2- Using libVLC, we would like to be able to invalidate automatic rotation. Is that possible through libVLC?

3- Our software relies to a large extent on the libvlc_video_take_snapshot function. Unfortunately, since version 3 of VLC, this function only produces green rectangles. Consequently we must stick to version 2.2.6. Is there a solution?.

Many thanks for any help or insight you might provide us.

Re: Automatic rotation issue

Posted: 16 Aug 2022 03:25
by mfkl
1. libvlc_video_track_t might contain what you're looking for, namely libvlc_video_orient_t.

2. possibly
Video transformation filter (transform)
Rotate or flip the video
--transform-type={90,180,270,hflip,vflip,transpose,antitranspose}

https://wiki.videolan.org/VLC_command-line_help/

3. Have you made a detailed bug report?