Reputation: 3871
I want to use OpenCV to take an input video, and reduce the file size of the video.
This would require a conversion of the frames from the initial type to some transformed type.
What conversion can I use inside OpenCV so that I take each frame of the video, reduce its size and then write back to create a new file with reduced file size without much compromising with the video quality?
Upvotes: 5
Views: 3140
Reputation:
OpenCV uses FFMPEG. Check this link for a detailed instructions, You can use FFMPEG independently instead of OpenCV. If you already have compressed video data, you wont be able to do much compression unless you loose quality for reduce the frame size instead.
Upvotes: 3