# Is there any way to record video in avi file directly?

**URL:** <https://community.stereolabs.com/t/is-there-any-way-to-record-video-in-avi-file-directly/858>\
**Category:** C#\
**Created:** [February 10, 2022, 1:10am UTC](https://community.stereolabs.com/t/is-there-any-way-to-record-video-in-avi-file-directly/858 "2022-02-10T01:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juniniho](https://community.stereolabs.com/user_avatar/community.stereolabs.com/juniniho/32/376_2.png) [@juniniho](https://community.stereolabs.com/u/juniniho)\
**Post date:** [February 10, 2022, 1:10am UTC](https://community.stereolabs.com/t/is-there-any-way-to-record-video-in-avi-file-directly/858/1 "2022-02-10T01:10:34Z")

</div>

I found only svo output type in recording api, but my app only need video file which can play in web page.  
Export the svo to avi will waste more time, is there any way to output avi by recording api?

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [February 10, 2022, 10:58am UTC](https://community.stereolabs.com/t/is-there-any-way-to-record-video-in-avi-file-directly/858/2 "2022-02-10T10:58:52Z")

</div>

Hi,

You should take a look at our [export sample](https://github.com/stereolabs/zed-examples/blob/master/svo%20recording/export/csharp/Program.cs) which converts a SVO file into an AVI file using Opencv. You can modify it to use the live input instead (in the InitParameters).  
It may need some other modifications but It’s a good start.

Best regards,  
Benjamin Vallon
