SDK Sample Applications
Batch Splitter sample application
This C++ console application demonstrates frame accurate trimming, joining or transcoding of media files with help of the Video Editing Engine. It illustrates one of the engine features - supporting batch of media files trimming. All media files trimming configurations must be described within a batch file (*.xtl) to be an input parameter of the BatchSplit sample application.
Binaries:
{SDK dir}/bin/smm_batchsplit
Source codes:
{SDK dir}/samples/cpp/smm_batchsplit/
To build the smm_batchsplit you should execute the following commands in a shell:
cd {SDK dir}/samples/cpp/smm_batchsplit/
mkdir build
cd build
cmake ../
cmake -build .
MPEG-TS to MP4 smart remux console utility
This utility converts the input MPEG-TS (containing AVC video and AAC audio) file or its part into an MP4 file with the additional option of adding AAC audio.
Binaries:
{SDK dir}/bin/smm_ts2mp4
MP4 transcoding console utility
The utility transcodes the input MP4 file (containing HEVC or AVC video and AAC audio) in accordance with the reference file's compression parameters.
Binaries:
{SDK dir}/bin/smm_mp4transc
HTML5 Video Editor online
Redirects to the online version of the HTML5 Video Editor - a full-featured tool for the online video editing that uses Video Editing SDK for smart rendering.
Binaries:
{SDK dir}/bin/html5editor_online/
HTML5 Video Editor docker
Docker scripts that run HTML5 Video Editor server locally.
Binaries:
{SDK dir}/bin/html5editor_docker/
Please use the following guide to correctly run it:
Install docker:
apt-get install docker-compose
Replace
MASTER_SERVER_IP
variable from the config.sh to a real IP address (127.0.0.1 and localhost will not work)Replace
EDIT_ENGINE_KEY
variable to actual key that should be requested by e-mail support@solveigmm.comFor the server instance there should be ports exposed and accessible for
MASTER_SERVER_IP
- 9092 - kafka
- 27017 - mongodb
- 80 - nginx front
Please expose it before running the server
Run the server:
cd ./master ./docker_run.sh
The Editor should be available by URL (Google Chrome browser is recommended): http://localhost
Stop the server:
cd ./master ./docker_stop.sh
You can also check the HTML5 Video Editor's API.
Open HTML5 Video Editor sample script
A sample script that uses an HTML5 Video Editor's API to open the online version of the editor and load a file in it.
Source codes:
{SDK dir}/samples/python/open_html5editor/open_html5editor.py