Giter VIP home page Giter VIP logo

com.bitplan.mjpegstreamer's Introduction

com.bitplan.mjpegstreamer

Java library for handing MJPEG streams - can e.g. display stream from a Webcam as a preview

Travis (.org) Maven Central GitHub issues GitHub issues GitHub BITPlan

Documentation

Maven dependency

Maven dependency

<dependency>
  <groupId>com.bitplan</groupId>
  <artifactId>com.bitplan.mjpegstreamer</artifactId>
  <version>0.0.7</version>
</dependency>

Current release at repo1.maven.org

How to build

git clone https://github.com/BITPlan/com.bitplan.mjpegstreamer
cd com.bitplan.mjpegstreamer
mvn install

Links

Screenshot

Screenshot

Usage

java -jar mjpegstreamer.jar --help
Help
MJpegViewer Version: 0.0.6

 github: https://github.com/BITPlan/com.bitplan.mjpegstreamer

  usage: java com.bitplan.mjpegstreamer.MJpegViewer
 -ac (--autoclose)      : auto close
                          close when stream is finished
 -d (--debug)           : debug
                          adds debugging output
 -h (--help)            : help
                          show this usage
 -o (--overlay)         : adds a rectangle overlay
 -r (--rotation) N      : rotation e.g. 0/90/180/270 degrees
 -rto (--readtimeout) N : readtimeout in milliseconds
                          default is 5000 millisecs
 -s (--start)           : auto start
                          start streaming immediately
 -t (--title) VAL       : title
                          title to be used
 -u (--url) VAL         : url
                          url to be used
 -v (--version)         : showVersion
                          show current version if this switch is used

Examples

java -jar mjpegstreamer.jar --url http://iris.not.iac.es/axis-cgi/mjpg/video.cgi?resolution=640x480 --start --title "NORDIC Telescope on Observatorio del Roque de Los Muchachos - La Palma"

Screenshot

java -jar mjpegstreamer.jar --url http://87.139.217.70/mjpg/video.mjpg?resolution=640x480 --start --title "Dollnstein/Germany"

Screenshot

see http://www.insecam.org for more publicly accessible test cameras

gphoto2 stream e.g. for Canon EOS Preview

gphoto2 --capture-movie --stdout | java -jar mjpegstreamer.jar -u - --start --title "Canon EOS preview" Screenshot

see preview script for more details on how to handle the release of the USB port which might be blocked by the PTPCamera process on MacOSX

Installation

git clone https://github.com/BITPlan/com.bitplan.mjpegstreamer
mvn install

to use as a library

mvn clean compile assembly:single

to create a stand alone jar

Version history

  • 0.0.1: 2013 Internal Project at BITPlan
  • 0.0.3: 2016-08-25 Released as Open Source Project
  • 0.0.6: 2018-08-03 version number upgrade
  • 0.0.7: 2081-08-22 upgrades to Java 8 and uses com.bitplan.pom

com.bitplan.mjpegstreamer's People

Contributors

mariafahl avatar wolfgangfahl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

com.bitplan.mjpegstreamer's Issues

Help Button

There should be a help button that opens the local browser with a link to the wiki page at github

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.