1. Products
  2.   Video
  3.   C++
  4.   Vireo

Open Source C++ Library to Transcode & Validate Video Files

C++ API that provides video transcoding service as well as video processing. It supports to display the contents of video files, compares the video quality, and so on. 

Vireo is a handy open source C++ library that simplifies the processing of videos using C++ commands. The library is well designed focusing on performance as well as better memory consumption. One great feature of Vireo is the speedy processing of video files, several operations like trimming or remuxing, are performed tremendously fast even on mobile devices. The library is built on top of other leading open-source libraries and uses a modular interface for easy and efficient communication.

The Vireo library is very lightweight and has included support for several important features, such as displaying the contents of video files, tracking duration, modifying video files, comparing the video quality of the given videos, remuxing an input file into other compatible containers, stitches multiple video files into a single one, extract thumbnails from videos, change resolution, crop videos, change bitrate, video trimming, video validation facility and so on.

You can also use it with Scala wrappers that allow building scalable video processing applications within the backend services. The library has also included a number of command-line tools for video processing tasks. The library is released under the MIT license and can be used for both commercial and non-commercial applications.

Previous Next

Getting Started with Vireo

Please use the following command to build Vireo on your systems.

Install Vireo Library

$ cd vireo
$ export PREFIX=/path/to/install/dir
$ ./configure --prefix=$PREFIX
$ make
$ make install

Transcoding an Input File into MP4 via C++

The Vireo library allows software developers to convert different media file formats inside their own applications using C++ commands. Using the Vireo library, you can easily transcode a video file into other file formats like MP4, etc. while transcoding you will be able to change resolution, crop, change bitrate, convert containers, or codecs. First you need to load the video file into the buffer and after that, you can easily transcode it into the MP4 with just a couple of lines of C++ code. Once done you can save it into a place of your choice on the disk.

Validate Video Files using C++ Library

The open source Vireo library enables software developers to validate their video files inside their own C++ applications. The library saves users precious time by checking if the video is valid or not and if valid then either supported by vireo or not. It also enables developers to check the difference between videos by checking if two video files are functionally identical or not.

Extract Images from Videos using C++

The open source Vireo library enables software developers to extract keyframes from a video file using C++ commands. First of all, you need to provide the complete address of the video from which you want to extract the images. After that provide the location and the library can easily extract and save the extracted key-frames as JPEG file into the location of your choice using C++ commands.