February 20, 2019

DVR export to MP4

DVR feature set in Nimble Streamer provides streams recording and playback. Basic playback is available via a direct HLS or MPEG-DASH link as described in described in this article.

However you may need a "hard copy" of a recording which is just a MP4 file. It can now be exported via Nimble API call. Let's see how you can use it.

First, you need to set up Nimble Streamer to process direct API calls. Open API description page and read "Starting point: enable API access" section regarding the initial setup. You may also want to secure your calls as describe in "Option: Making authorized requests" section.

Second, you need to use this HTTP GET call to obtain the archive:
The content of MP4 result file will be returned in HTTP response body.

The "start" and "end" parameters allow defining the time frame which is going to be exported, defined in seconds of Unix epoch time.

This command will get a portion of your archive:
curl -o archive.mp4 -v "" 

This one will download the entire archive: 
curl -o archive.mp4 -v

As mentioned above, the result will be returned as a body of HTTP response.
Also, take a look at JPG DVR thumbnails support and MP4 thumbnails support.

Watch DVR recording and playback in Nimble Streamer tutorial to see DVR export demonstration and also get familiar with the most used features.

If you have any questions on this or other features, let us know.

Related documentation

Nimble Streamer DVR feature setDVR setup for Nimble StreamerLive streaming scenariosUsage snapshots


  1. I am getting [data not shown] response. And actually the dvr record exists in wps pannel

    1. Please contact us via https://wmspanel.com/help with all details regarding this case so we could help properly.


If you face any specific issue or want to ask some question to our team,

This will give much faster and precise response.
Thank you.

Note: Only a member of this blog may post a comment.