Running deepstream on video chunks (not a continuous stream)

Setup
T4 ; Deepstream 5.0, tensorrt 7.0, cuda 10.2

Hi - I am a deepstream newbie. I looking to run a pipeline on video chunks (captured on the occurrence of events) not on continuous streams. The videos are encoded using hevc. Just wondering how I could use deepstream to handle my usecase.
thanks!

I think you can start with the https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html , and create new topics when you run into some issues.