Skip to content

Export to MP4

Downloading an archive from the server

A fragment of an archive can be exported to a local computer to a file using this URLs:

  • MP4 file:


  • MPEG-TS file:



  • 1350274200 is a fragment's start time in Unix
  • 4200 is fragment's duration in seconds.

precise=true option increases export accuracy up to a second:

  • http://flussonic:80/channel/archive-1350274200-60.mp4?precise=true

If you need to export only certain tracks, you can specify them in the filter.tracks= parameter in the query string:


Saving an archive to server or to a cloud

As the location for uploading an archive you can specify a directory on the Flussonic server or Amazon S3 bucket (Flussonic 20.09).

Saving an MP4 file on the Flussonic server

The archive fragment can be saved on the server HDD disk as MP4 file using this URL, and you need admin authorization:

  • curl -u USER:PASSWORD http://flussonic:80/channel/save-mp4-1350274200-4200?file=recording.mp4

The file will be saved in the same directory where DVR recordings are stored.

You can save the file to another directory by specifying the full path to the file:

  • curl -u USER:PASSWORD http://flussonic:80/channel/save-mp4-1350274200-4200?file=/path/to/file/recording.mp4

Saving an MP4 file in the cloud

You can save a part of the archive in s3: s3://

Important. Since the path to the storage contains '&', you must encode it in order to pass the web router normally. So the URL must look like in the following example.

Saving to S3:

curl -u user:password "http://flussonic:80/channel/save-mp4-1350274200-4200?"`