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

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024

Комментарии • 65

  • @ThisIsWorthless
    @ThisIsWorthless Год назад +2

    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!!

  • @sergiodeoliveira5358
    @sergiodeoliveira5358 Год назад +5

    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.

  • @Ddos2212
    @Ddos2212 2 года назад +2

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

  • @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

  • @c6jones720
    @c6jones720 Год назад +1

    Works beautifully on Windows with a single web cam

  • @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

  • @rafiadira4219
    @rafiadira4219 9 месяцев назад +1

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

  • @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 2 года назад +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?

  • @murtza.rehman
    @murtza.rehman 2 года назад

    This is really exciting. Thanks for your video.

  • @cristianhoger
    @cristianhoger 2 года назад

    Exactly what I needed, many thanks!

  • @hirwajosiane6440
    @hirwajosiane6440 2 года назад +1

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

  • @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.

  • @enjoylearning8585
    @enjoylearning8585 3 года назад +1

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

  • @renedavidi1
    @renedavidi1 2 года назад

    Thank you for the content, awesome ! 👊

  • @ChiranjeevVGopal
    @ChiranjeevVGopal 10 месяцев назад

    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?

  • @wouterdc3290
    @wouterdc3290 2 месяца назад

    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

  • @bicycleninja1685
    @bicycleninja1685 2 года назад

    Nicely done 👍🏼

  • @rajsalagre5443
    @rajsalagre5443 3 года назад +4

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

    • @fangcheng-p7s
      @fangcheng-p7s 2 месяца назад

      bro did u manage to apply on VR successfully?

  • @warriorstudios6635
    @warriorstudios6635 3 года назад +1

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

  • @wouterdc3290
    @wouterdc3290 2 месяца назад

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

  • @micheleguardabasso8162
    @micheleguardabasso8162 2 года назад +1

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

  • @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.

  • @rivindurasanjana2159
    @rivindurasanjana2159 2 года назад

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

  • @blabberbytes9967
    @blabberbytes9967 Год назад

    does the black magic intensity shuttle work?

  • @raymondharris7226
    @raymondharris7226 2 года назад

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

  • @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?

  • @Taskuvesku
    @Taskuvesku 2 года назад

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

  • @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.

  • @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 Год назад

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

  • @Warbirdguy1
    @Warbirdguy1 2 года назад

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

  • @CarlosMM
    @CarlosMM 2 года назад

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

  • @kevintanudjaja7597
    @kevintanudjaja7597 2 года назад +1

    how to record from ?

  • @IvoAngelani
    @IvoAngelani 2 года назад

    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

  • @SAckTheGoof
    @SAckTheGoof 2 года назад

    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?

  • @BangLucky-j6g
    @BangLucky-j6g Год назад

    Is it possible to connect to the camera via WiFi?

  • @christianmoss9196
    @christianmoss9196 Год назад

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

  • @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

  • @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 2 года назад

      @@coryjamescooper would love a tutorial on this!?

  • @jknighthomes
    @jknighthomes 2 года назад

    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  2 года назад

      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.

  • @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?

  • @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.

  • @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.

  • @phatangellover
    @phatangellover Год назад

    Do you have video on Udemy ?

  • @cybersecurite_CPT
    @cybersecurite_CPT 2 года назад

    when i go back to unity i don't have "display" in 13:39 ruclips.net/video/vtM-kqaTUso/видео.html please help me

  • @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 Год назад

    My Cam is black...