Example Configuration

Media Server includes an example SQL script, configuration file, and XSL template that demonstrate how to output data to a database through ODBC.

The example configuration runs OCR and speech-to-text on a video file or stream. It also encodes the video to disk in 30 second segments.

The example includes the following files:

  • configurations/examples/Other/broadcast_schema.sql is an example SQL script that creates tables in your database to store information about the processed video, and information extracted by OCR and speech-to-text. If you want to run a task from the example configuration, use this script to create the required tables in your database.
  • configurations/examples/Other/BroadcastODBC.cfg is an example configuration file that outputs data through ODBC. Before starting a process action with this configuration, find the [ODBC] section, and set the configuration parameter ODBCConnectionString to the connection string to use to connect to your database.
  • configurations/xsl/toODBC.xsl is an XSL template that takes the data produced by Media Server and creates transactions for inserting the data into the database.