Code Monkey home page Code Monkey logo

sampleunitymjpegviewer's Introduction

This is a sample Unity3D Project displaying video from an Mjpg stream.

To use:

  1. Open "Mjpg Viewer/Assets/Scenes/Sample Mjpeg Viewer.unity" in Unity3D.

  2. Select the plane acting as the video screen and edit the url parameter to display a live MJPEG stream (you can use these to test with https://febon.blogspot.com/2013/02/public-free-ip-address-for-motion-jpeg.html ). The url should end in .mjpg

  3. Play the Sample Mjpeg Viewer scene and wait a few seconds for the MJPEG stream to connect.

Enjoy!

sampleunitymjpegviewer's People

Contributors

danielarnett avatar ranzq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sampleunitymjpegviewer's Issues

Stream disconnect when scene changes from total darkness abruptly

First of all, thanks for this awesome demo. It's working perfectly 99% of the time.

A minor issue, though definitely a snag for my usage, is when the scene changes from total darkness (ie. taking lens cap off) the stream will disconnect with the error:

Error received while reading the MJPEG.

Any ideas on why this could be happening? Are you able to replicate? Thanks!

Supports Android?

Sorry for being necromancer,

But this sample can work in Android Devices?
If it can, can you point me what is necessary for me to change?

Kind Regards,

UWP / Hololens compatibility

Hello,
I'm testing this code in a UWP / Hololens application. Everything is ok in the editor but on Hololens the output texture is always null.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.