Skip to content

gpac/gpac-evt-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event API (evtapi)

This is an example of how to inject dynamic metadata with GPAC.

What you need to know about this example:

  • It is limited to SCTE-35 injection. It can be extended to any metadata type. We chose SCTE-35 because it is popular and [https://wiki.gpac.io/Howtos/scte35-markers/](well supported in GPAC).
  • It implements an external evtapi filter that's loaded at runtime. It is a passthru filter that attaches a SCTE-35 property to existing packets (more below).
  • The input format is NHML file. In practice it is a small wrapper around the SCTE-35 XML payload.

Build

cmake -S . -B build
cmake --build build

Capabilities

  • NHML payload will be parsed with gf_xml_parse_bit_sequence()
  • Parsed SCTE35 samples will be put to the scte35 property on the video packets

Run

Check out the .vscode/launch.json for the launch configuration.

HTTP Requests

If you use Visual Studio Code, you can add this extension: REST Client and use the test.http file to test the API.

Click on the Send Request link above the request you want to test.

About

Example to inject dynamic metadata (e.g. SCTE-35 events) with GPAC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •