# Video and PFC control

**URL:** <https://www.wago.community/t/video-and-pfc-control/1122>\
**Category:** Hardware and Linux\
**Created:** [August 8, 2024, 7:36pm UTC](https://www.wago.community/t/video-and-pfc-control/1122 "2024-08-08T19:36:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennyscally](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@dennyscally](https://www.wago.community/u/dennyscally)\
**Post date:** [August 8, 2024, 7:36pm UTC](https://www.wago.community/t/video-and-pfc-control/1122/1 "2024-08-08T19:36:32Z")

</div>

I have a customer looking to use a camera to capture video at certain cycles of the testing. A full blown vision system is not needed, there will not be inspections done. We are just looking to capture a minute video at certain cycles. If we get a ethernet based camera, what is the base way to communicate, trigger, and then send the video via email?

thank you for all the help!!

---

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [August 9, 2024, 3:49pm UTC](https://www.wago.community/t/video-and-pfc-control/1122/2 "2024-08-09T15:49:21Z")

</div>

One way would be to use an Edge Computer with NodeRED and RSTP to MMPEG library. Most IP Cameras support RSTP. Then you can zip up the file and attach it to an email in NodeRED (as long as the file size is \<5 MB or so)

> **[@bartbutenaers/node-red-rtsp-to-mjpeg](https://flows.nodered.org/node/@bartbutenaers/node-red-rtsp-to-mjpeg)**
>
> A Node-Red nodeton convert an RTSP stream to an MJPEG stream

A similar example can be found here:

[![](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/0ff75399c2795f234a647d56585fd73e88f7675a.jpeg "IP Camera RTSP & Node-RED Tutorial") ](https://www.youtube.com/watch?v=etYGczFJJW4)

---

<div class="post-metadata">

**Author:** ![dennyscally](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@dennyscally](https://www.wago.community/u/dennyscally)\
**Post date:** [August 9, 2024, 4:04pm UTC](https://www.wago.community/t/video-and-pfc-control/1122/3 "2024-08-09T16:04:37Z")

</div>

Kurt…this is a very cost sensitive application. Is the edge computer needed? Can we do it on the back end of a PFC?

---

<div class="post-metadata">

**Author:** ![MikePsaltis](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/mikepsaltis/32/47_2.png) [@MikePsaltis](https://www.wago.community/u/MikePsaltis)\
**Post date:** [August 9, 2024, 9:04pm UTC](https://www.wago.community/t/video-and-pfc-control/1122/4 "2024-08-09T21:04:14Z")

</div>

Here is a similar flow as Kurt used, with a sample for video capture.

[https://flows.nodered.org/flow/0da4d606575df13700461400178aca4e](https://flows.nodered.org/flow/0da4d606575df13700461400178aca4e)
