# Make use of camera in pc and live stream

**URL:** <https://discourse.processing.org/t/make-use-of-camera-in-pc-and-live-stream/29413>\
**Category:** Processing\
**Created:** [April 16, 2021, 4:12pm UTC](https://discourse.processing.org/t/make-use-of-camera-in-pc-and-live-stream/29413 "2021-04-16T16:12:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaun26](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@shaun26](https://discourse.processing.org/u/shaun26)\
**Post date:** [April 16, 2021, 4:12pm UTC](https://discourse.processing.org/t/make-use-of-camera-in-pc-and-live-stream/29413/1 "2021-04-16T16:12:38Z")

</div>

I want to live stream a video captured from camera using p5.js.  
I’m using this camera: [AR0234CS, Full HD, 120FPS, USB3 Global Shutter Camera](https://www.e-consystems.com/industrial-cameras/ar0234-usb3-global-shutter-camera.asp)  
This is possible? any ideas how to implement?

---

<div class="post-metadata">

**Author:** ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)\
**Post date:** [April 16, 2021, 6:25pm UTC](https://discourse.processing.org/t/make-use-of-camera-in-pc-and-live-stream/29413/2 "2021-04-16T18:25:03Z")

</div>

Hi! Welcome to the forum!

~~Did you try the video library already? It might work out of the box~~

Are you using p5.js? If so please set the topic category to p5.js not Processing. And if so did you try `createVideo`?  
[https://p5js.org/reference/#/p5/createCapture](https://p5js.org/reference/#/p5/createCapture)

(By the way, if you just want to stream video to, for example, YouTube, I highly recommend to use OBS Studio which supports video input and screen capture to video recording and streaming. Even if you want to modify the image with Processing or p5.js, you might end up using OBS to grab the window and stream to the server)  
[https://obsproject.com/](https://obsproject.com/)
