Skip to content

replace rotated metadata video with a more compatible one#1019

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
tailsu:sd/avfoundation-orientation-meta
Nov 30, 2022
Merged

replace rotated metadata video with a more compatible one#1019
asmorkalov merged 1 commit intoopencv:4.xfrom
tailsu:sd/avfoundation-orientation-meta

Conversation

@tailsu
Copy link
Copy Markdown
Contributor

@tailsu tailsu commented Nov 23, 2022

No description provided.

@asmorkalov
Copy link
Copy Markdown
Contributor

The video adds + 2.71MB video. It's too large. OpenCV extra becomes fat too fast. Could you resize video to very small resolution and quality.

@tailsu tailsu force-pushed the sd/avfoundation-orientation-meta branch from 3e14da0 to 4a41085 Compare November 23, 2022 11:35
@tailsu
Copy link
Copy Markdown
Contributor Author

tailsu commented Nov 23, 2022

Alright, I recoded the video, now it's 28kb.

ffmpeg -noautorotate -i original.mp4 -map 0:0 -vf scale=-1:270 -preset slow -crf 34 rotated_metadata.mp4

@asmorkalov asmorkalov merged commit a2c9706 into opencv:4.x Nov 30, 2022
@tailsu tailsu deleted the sd/avfoundation-orientation-meta branch November 30, 2022 14:29
@alalek alalek mentioned this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants