bytedeco/javacv

Frame grabber and recorder vertical orientation issue

Open

#766 opened on Aug 23, 2017

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

While grabbing frames on video recorded in portrait mode. It reads it in horizontal orientation. Tried it for different videos but the issue is persistent. Any reason for this issue?

I can do a work around with this issue by rotating the frame when it is read by frame grabber.

But after processing when I try to record the frame to an output mp4 file using frame recorder the frames in output video are translated/ shifted i.e. there is some black region around the actual content.

Contributor guide