Automatic rotation issue

This forum is about all development around libVLC.
11Aug
New Cone
New Cone
Posts: 1
Joined: 14 Aug 2022 14:45

Automatic rotation issue

Postby 11Aug » 14 Aug 2022 14:52

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.

mfkl
Developer
Developer
Posts: 746
Joined: 13 Jun 2017 10:41

Re: Automatic rotation issue

Postby mfkl » 16 Aug 2022 03:25

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?
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 29 guests