Bring Video Into Unity through HDMI, SDI, Webcam, Android, or iPhone!

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 66

  • @ThisIsWorthless
    @ThisIsWorthless Рік тому +3

    I'm a freelance Unity dev and have been using Unity since I was 12 years old. I have watched thousands of Unity tutorials on youtube.
    This is the first time that I hear a creator say "Hey if you haven't written code before don't run away you don't need to understand all of it it's a follow along and it's simple" instead of "this is not a basics coding tutorial if you don't know shit go learn first".
    I really wish I could've heard that when I was just starting at 12. Amazing content! Keep inspiring!
    Edit: and I just learned about the alt key to move things around!!

  • @Ddos2212
    @Ddos2212 3 роки тому +2

    Dude you don't know how helpful this is to me. I searched the whole day for exactly this. Thank you so much!

  • @sergiodeoliveira5358
    @sergiodeoliveira5358 Рік тому +7

    Just a note if you are trying this in Unity 2021...TextMeshPro is the default text type for buttons now. Due to that you need to change "public Text startStopText" to "public TMP_Text startStopText" and make sure to add "using TMPro" to top of C# script. Without that, you cannot drag text from StartStop button to script in inspector panel.

  • @rafiadira4219
    @rafiadira4219 Рік тому +1

    Omg it worked! i needed this for my project, so thank you so much!

  • @chadzulu4328
    @chadzulu4328 2 роки тому +2

    Clear and very easy to understand tutorial. Thanks so much Jeff!

  • @alexbarnadas
    @alexbarnadas 2 роки тому +1

    We need more tutorials like yours! Thank you so much. Seriously

  • @bebert0712
    @bebert0712 Рік тому +2

    Thank you my friend, realy helpfull for a newbies like me. Great tutorial with fully process for beginner and not native english guys 🙋‍♂
    Thanks for your work

  • @TheAutoKite
    @TheAutoKite 2 роки тому

    Great Unity / C# tutorial, you made coding easy for everyone! Thank you so much.

  • @billyli5174
    @billyli5174 3 роки тому +1

    your instruction is very detailed and easy to understand. definitely worth to subscribe.

  • @marieriskr3316
    @marieriskr3316 3 роки тому +3

    Tried following the guide, and has no errors. When in playmode, it seems like it doesn't connect to the camera! The buttons are clickable, but it doesn't turn on/off, and it still only shows the blank canvas. Any ideas as to what has gone wrong?

  • @c6jones720
    @c6jones720 2 роки тому +1

    Works beautifully on Windows with a single web cam

  • @warriorstudios6635
    @warriorstudios6635 3 роки тому +1

    can you make a tutorial on using webcam for games like kinnect

  • @rajsalagre5443
    @rajsalagre5443 3 роки тому +4

    Hi, Great tutorial! Can I use this on a VR Headset?

    • @fangcheng-p7s
      @fangcheng-p7s 6 місяців тому

      bro did u manage to apply on VR successfully?

  • @micheleguardabasso8162
    @micheleguardabasso8162 3 роки тому +1

    thow webcam i can move charater in the unity with my movement?

  • @cristianhoger
    @cristianhoger 2 роки тому

    Exactly what I needed, many thanks!

  • @murtza.rehman
    @murtza.rehman 3 роки тому

    This is really exciting. Thanks for your video.

  • @ChiranjeevVGopal
    @ChiranjeevVGopal Рік тому

    Great Video. I made the application for the oculus quest using the unity and want to view the live camera feed into the oculus. But when I connect the external camera with the oculus I am unable to see the view. Can you help me?

  • @miguelwimbish4351
    @miguelwimbish4351 2 місяці тому

    Hello. This was an awesome video. I have a question:
    Is there a way to mirror my phone's display into Unity?

  • @dillonmaltese2921
    @dillonmaltese2921 Рік тому +2

    I am a little confused because on the line that says: WebCamDevice device = WebCamTexture.devices.[currentCamIndex]; I get Identifier Expected. What do i do?

  • @hirwajosiane6440
    @hirwajosiane6440 3 роки тому +1

    This was extremely helpful!!!!!!!!!!!!!!!!!!!!!!! Thank you soooo much

  • @wouterdc3290
    @wouterdc3290 6 місяців тому

    do you have that 'camera script' somewere were i can copy (paste) it?

  • @bhartibharti3283
    @bhartibharti3283 2 роки тому +1

    Very easily explained. Can you pls also make a video to show how to record video from USB webcam or camcorder connected with my system.

  • @kevintanudjaja7597
    @kevintanudjaja7597 2 роки тому +1

    how to record from ?

  • @blabberbytes9967
    @blabberbytes9967 Рік тому

    does the black magic intensity shuttle work?

  • @BangLucky-j6g
    @BangLucky-j6g Рік тому

    Is it possible to connect to the camera via WiFi?

  • @tintr.9619
    @tintr.9619 3 роки тому +2

    Hello Sir. I just have only 1 webcam so I want to show that input into the Canvas. When I hit Play, Unity just load some frames and had error "Could not connect pins - RenderStream()" & "Error capturing camera feed. Maybe the camera has been disconnected?". It happened on my PC and Laptop. Have you seen this error before ? Thank you sir !

    • @ConnerHall
      @ConnerHall 3 роки тому

      I have the same error and would like some help as well.

  • @ayobeats1296
    @ayobeats1296 2 роки тому

    Did this step by step but still my phone screen is showing only the white canvas but not the camera. Dont know what to do. I am not able to use my camera in unity application, Tried a lot of tutorials but still the camera does not show in the app.

  • @cybersecurite_CPT
    @cybersecurite_CPT 2 роки тому

    when i go back to unity i don't have "display" in 13:39 ua-cam.com/video/vtM-kqaTUso/v-deo.html please help me

  • @wouterdc3290
    @wouterdc3290 6 місяців тому

    hello - do you have perhaps this code availlabe to copy paste ? (as seen in minute 13 of this video)
    maybe on a website/webpage?
    i often make mistakes typing; copying a working code would already be a help

  • @Taskuvesku
    @Taskuvesku 3 роки тому

    That "Quick Actions and Refactorings" didn't get any options. So i lost there... "Method" thing was confusing.

  • @renedavidi1
    @renedavidi1 2 роки тому

    Thank you for the content, awesome ! 👊

  • @enjoylearning8585
    @enjoylearning8585 3 роки тому +1

    super vid.Thank you.Another request .Please think of a way to add remote web cam .

  • @christianmoss9196
    @christianmoss9196 2 роки тому

    Does this also get and play the audio from the stream?

  • @Warbirdguy1
    @Warbirdguy1 2 роки тому

    Any idea why I would be getting an error with the script asking about already containing a definition for 'Camera Script'?

  • @rivindurasanjana2159
    @rivindurasanjana2159 2 роки тому

    Great Tutorial.. Can you show how the camera zoom can be adjusted after initializing the camera using unity ?

  • @angelani22
    @angelani22 3 роки тому

    Can I use this to add a "take a photo" stand on a 3d world? Like when you step into a trigger, you can take a photo of yourself on a screen inside this world

  • @valeryandreev4535
    @valeryandreev4535 2 роки тому

    Hi, thanks a lot for the tutorial, tried it and it works like a charm! Gonna check out your other videos as well : ) I need to use this in an installataion- so how would you recommend I take a photo through Unity?

  • @SAckTheGoof
    @SAckTheGoof 3 роки тому

    is this going to work if i want to make a cheap version of security cameras? like if i push a botton or key on the key boeard i will be able to change to that sertan webcam?

  • @mikkymatff4053
    @mikkymatff4053 Рік тому

    Hey my friend, thank you very much so this tutorial. Does it also work with Insta 360 cams?

  • @phatangellover
    @phatangellover 2 роки тому

    Do you have video on Udemy ?

  • @bicycleninja1685
    @bicycleninja1685 2 роки тому

    Nicely done 👍🏼

  • @dpredie
    @dpredie 3 роки тому

    can you show us how to stream output video from unity to external ( as a webcam for example to be use in zoom, or as a clean HDMI to output to a recorder..?)

    • @coryjamescooper
      @coryjamescooper 3 роки тому

      you could make it a html5 project and render the webpage as a source. That's what Im attempting to do.

    • @kcoppa
      @kcoppa 3 роки тому

      @@coryjamescooper would love a tutorial on this!?

  • @vealive3609
    @vealive3609 2 роки тому

    Thanks for this great tutorial. Can I also add and spawn 3D game objects, like a cube for instance, that will appear also in the Game Display?

    • @vealive3609
      @vealive3609 2 роки тому

      Without using AR Foundation and ARCore for Android devices

  • @CarlosMM
    @CarlosMM 3 роки тому

    Very cool. Can you make a new tutorial using ipcams? THX

  • @raymondharris7226
    @raymondharris7226 2 роки тому

    Thanks so much, I appreciate this so much...

  • @jknighthomes
    @jknighthomes 3 роки тому

    Great video. Is there a way to bring 3d video and stereo audio into a scene (a live performer on a stage)? Thanks

    • @JeffKomarow
      @JeffKomarow  3 роки тому

      Yes, you have to do additional steps but totally. I would assume you would have to bring in the left and right eye video separate and devise a way that combines it in Unity.

  • @teemusekki1743
    @teemusekki1743 3 роки тому

    Do I miss something in code? My WebCamTexture isn't in green so it doesn't reconice it as property or class. I think I created script same way in Unity also.

    • @teemusekki1743
      @teemusekki1743 3 роки тому

      I think reason is that I don't have cam mounted yet... Now on I have only gopro to use. Do you think that I can test this gopro usb or do I need least some card?

    • @JeffKomarow
      @JeffKomarow  3 роки тому

      @@teemusekki1743 You might have missed something in code. I haven’t tried a gopro through usb as webcam personally, but it seems the newer ones may have that functionality. If that isn’t working you can always go through the micro hdmi to hdmi capture card route.

  • @erdbeerbus
    @erdbeerbus 3 роки тому

    a very cool tutorial, thank you! but how can I solve that: I want to project the live video source in 3d on a cube ...
    is that possible? thanks in advance.

    • @JeffKomarow
      @JeffKomarow  3 роки тому

      Yes it is possible! You have a 2D surface, if you make six sides you have enough for a cube, then rotate the sides to build the cube. Then figure out if you want the same image on each side or one continuous image to wrap around each side.

  • @PriestessOfDada
    @PriestessOfDada 2 роки тому

    One note: You totally forgot to mention that in order for this to work at all, there's a whole process of setting up camera permissions in Unity. Would've been great if this was covered

    • @PriyankaSingh-py5wn
      @PriyankaSingh-py5wn 2 роки тому

      I am working on a similar thing , can you please tell me about the setting up of camera permissions ?

  • @hizralashraq159
    @hizralashraq159 3 роки тому

    How did you make you Digital camera detected as webcamera to be used with Unity, Because I tried using my Digital camera as feed but Unity does not recognize my Camera at all, all I get when I tried running Unity is just a blank screen. Thank you

    • @JeffKomarow
      @JeffKomarow  3 роки тому

      How does the camera connect to your computer? If you are having trouble the solution may be to get a simple HDMI capture card.

    • @hizralashraq159
      @hizralashraq159 3 роки тому

      @@JeffKomarow The camera is connected to my computer using SDI cable via a Mini recorder converter blackmagic sdi to hdmi.

    • @JeffKomarow
      @JeffKomarow  3 роки тому

      @@hizralashraq159 You might have a compatibility problem with your devices unfortunately, try troubleshooting different devices and see if you can pull up the feed as a virtual camera in a program like OBS.

  • @EnchikO
    @EnchikO 2 роки тому

    My Cam is black...