# NVR(Network Video Recorder) I want to make a video recording function

**URL:** <https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872>\
**Category:** Libraries\
**Created:** [August 1, 2024, 12:26pm UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872 "2024-08-01T12:26:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 1, 2024, 12:26pm UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/1 "2024-08-01T12:26:18Z")

</div>

I want to make a video recording function.

I want to make a video recording function like ‘mp4 or wav or avi’ extension.

Is there any library provided?

If there is, please recommend it.

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [August 2, 2024, 1:22am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/2 "2024-08-02T01:22:51Z")

</div>

Hi

Maybe ipcapture ? … Take a look

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/27985/capturing-video-from-youtube-or-webcams.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/25897/night-code.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

> <https://github.com/singintime/ipcapture/blob/master/examples/IPCaptureTest/IPCaptureTest.pde>

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 2, 2024, 5:59am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/3 "2024-08-02T05:59:53Z")

</div>

@jafal

Thank you for your answer.

1. ipcapture library: Good.

- It’s really good for viewing mjpeg protocol.

1. However, what I want is a video recording function.

- I need a function to record images or videos in real time.

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 2, 2024, 10:06am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/4 "2024-08-02T10:06:11Z")

</div>

> [@GWAK](#):
>
> 1. However, what I want is a video recording function.
> 
> - I need a function to record images or videos in real time.

Give this a try:

> [@VideoExport: NoSuchFieldError: You may be using a library that's incompatible with this version of Processing](https://discourse.processing.org/t/videoexport-nosuchfielderror-you-may-be-using-a-library-thats-incompatible-with-this-version-of-processing/44782/2):
>
> I followed the trail here for W10 and P4: [NoSuchFieldError: frame on Processing4 · Issue #69 · hamoid/video\_export\_processing · GitHub](https://github.com/hamoid/video_export_processing/issues/69) The above directs you to here: [GitHub - hamoid/video\_export\_processing at kotlinGradle](https://github.com/hamoid/video_export_processing/tree/kotlinGradle) And I followed the Using the Library instructions. I now get this instead of an error: I have not installed FFmpeg to test if it works past this point. UPDATE I installed FFmpeg and it now saves a movie but it has this issue: [NullPointerException: it must no…](https://github.com/hamoid/video_export_processing/issues/72)

`:)`

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 2, 2024, 10:34am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/5 "2024-08-02T10:34:32Z")

</div>

@glv

Thank you for your reply. I will check it out.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [August 2, 2024, 10:47am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/6 "2024-08-02T10:47:54Z")

</div>

You could try the Video Export library by @hamoid. It can be installed from the Contributions Manager.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/f/7f10f4ae986cddfb04d106c0dfd6fcf6b47e553e.png)

Source: [GitHub - hamoid/video\_export\_processing: Processing library that interfaces with ffmpeg to export video files](https://github.com/hamoid/video_export_processing)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 2, 2024, 10:55am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/7 "2024-08-02T10:55:48Z")

</div>

@sableraph

Good. Thank you.

---

<div class="post-metadata">

**Author:** ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)\
**Post date:** [August 2, 2024, 11:05am UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/8 "2024-08-02T11:05:02Z")

</div>

Hi! If that version doesn’t work you can try a newer one: [GitHub - hamoid/video\_export\_processing at kotlinGradle](https://github.com/hamoid/video_export_processing/tree/kotlinGradle) (but then you can’t use the Contributions Manager). Cheers!

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [August 2, 2024, 12:18pm UTC](https://discourse.processing.org/t/nvr-network-video-recorder-i-want-to-make-a-video-recording-function/44872/9 "2024-08-02T12:18:59Z")

</div>

@hamoid

Thank you.  
I will reply after testing.

Thank you
