{"id":20177306,"url":"https://github.com/carldea/webcamfx","last_synced_at":"2025-04-10T04:25:35.032Z","repository":{"id":8324937,"uuid":"9876626","full_name":"carldea/WebcamFX","owner":"carldea","description":"Using your webcam and JavaFX","archived":false,"fork":false,"pushed_at":"2021-11-29T14:08:57.000Z","size":16,"stargazers_count":16,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T05:43:47.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carldea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-06T00:30:10.000Z","updated_at":"2025-03-17T15:38:06.000Z","dependencies_parsed_at":"2022-08-07T02:15:35.473Z","dependency_job_id":null,"html_url":"https://github.com/carldea/WebcamFX","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carldea%2FWebcamFX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carldea%2FWebcamFX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carldea%2FWebcamFX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carldea%2FWebcamFX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carldea","download_url":"https://codeload.github.com/carldea/WebcamFX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248156308,"owners_count":21056816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T02:15:11.439Z","updated_at":"2025-04-10T04:25:35.004Z","avatar_url":"https://github.com/carldea.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nWebcamFX\n============\n_A project working with web cameras or ip cameras which will serve jpeg to JavaFX client side applications_\n\nCurrently the server side portion is written using Java 8 (32 bit Windows jvm) and Java Media Framework JMF2.1.1e (32 bit).\nThe client can be Java 7 or 8 using JavaFX 2.0 and above. Maven will build the necessary bits to run the demo. Client and Server is\ncreated using the preview release of Java 8 (http://jdk8.java.net/download.html).\n\n\nPrerequisites\n-------------------\n* Java 8 (32 bit) http://jdk8.java.net/download.html\n* Java Media Framework (32 bit) http://www.oracle.com/technetwork/java/javase/download-142937.html\n* Maven 3.0.x\n* JAVA_HOME environment variable\n* JMFHOME environment variable\n* MAVEN_HOME environment variable\n\nQuick Start\n--------------------\n1. Install Java 8 (32 bit) http://jdk8.java.net/download.html\n2. Install Java Media Framework (32 bit) http://www.oracle.com/technetwork/java/javase/download-142937.html\n3. Ensure the dlls are installed in JMFHOME/lib directory via unchecking a check box during install see thread: https://forums.oracle.com/forums/thread.jspa?messageID=10191973\n4. Install Maven\n5. git clone git@github.com:carldea/WebcamFX.git\n6. cd to WebcamFX/WebcamSvr\n7. mvn clean assembly:assembly\n8. cd to WebcamFX/WebcamClient\n9. mvn clean assembly:assembly\n10. cd to WebcamFX/WebcamSvr/target\n11. server_start.bat or double click on the bat file.\n12. cd to WebcamFX/WebcamClient/target\n13. java -jar webcamclient-1.0-SNAPSHOT-jar-with-dependencies.jar (or double click the file)\n\n\nAdditional Notes:\n--------------------\nAt OTN this forum thread helped me regarding using 32 bit versions of Java on Windows 7 64 bit:\nhttps://forums.oracle.com/forums/thread.jspa?messageID=10191973\n\n\nApache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)\nMaven home: C:\\development\\maven\\apache-maven-3.0.4\\bin\\..\nJava version: 1.8.0-ea, vendor: Oracle Corporation\nJava home: C:\\Program Files (x86)\\Java\\jdk1.8.0\\jre\nDefault locale: en_US, platform encoding: Cp1252\nOS name: \"windows 7\", version: \"6.1\", arch: \"x86\", family: \"dos\"\n\nJMFHOME=C:\\Program Files (x86)\\JMF2.1.1e\nJAVA_HOME=C:\\Program Files (x86)\\Java\\jdk1.8.0\n\nContents of the server_start.bat file to run the server:\n\"%JAVA_HOME%\\bin\\java\" -cp \"webcamsvr-1.0-SNAPSHOT-jar-with-dependencies.jar;%JMFHOME%\\lib\\jmf.jar\" -Djava.library.path=\"%JMFHOME%/lib;C:\\WINDOWS\\System32\" org.carlfx.webcamfx.server.Main\n\nBuilding with Maven\n--------------------\n* Set your environment variable JAVA_HOME to the installed JDK directory. I.e. C:\\Program Files (x86)\\Java\\jdk1.8.0\n* Set your environment variable JMFHOME to the installed Java Media framework directory. I.e. JMFHOME=C:\\Program Files (x86)\\JMF2.1.1e\n* Server build\n    * cd WebcamFX/WebcamSvr\n    * mvn clean assembly:assembly\n    * cd target\n    * server_start.bat\n    * double click server_start.bat\n* Client build\n    * cd WebcamFX/WebcamClient\n    * mvn clean assembly:assembly\n    * cd target\n    * java -jar webcamclient-1.0-SNAPSHOT-jar-with-dependencies.jar\n    * or in File Explorer double click webcamclient-1.0-SNAPSHOT-jar-with-dependencies.jar\n\nIntellij IDE users\n---------------------\n* Open the parent pom.xml in the WebcamFX directory.\n* Ensure the language and classpath info is correct. Select project folder then in the menu select File -\u003e Project Structure\n  In the middle section will display three projects (webcamclient, WebcamFX, webcamsvr) select each and select the source tab on the right (side).\n  A combo box (drop down) regarding Language Level. Make sure this is selecting \"Java 8 Lambdas, type annotations etc.\"\n  It'll ask to restart the IDE. Sometimes this gets confused because the maven pom when changes the IDE will detect and change the language settings from\n  time to time.\n\nTODO\n---------------------\n* There are lots of optimizations that need to be done.\n    * Limit blocking queues\n    * Possible thread starvation\n* Better ways to send data to client viewers. PTP protocols, MJPEG, and RTSP.\n* Abstract the server piece more for ip cameras and other streaming protocols.\n* Use Gradle\n* Gradle to create projects for IntelliJ, Netbeans and Eclipse\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarldea%2Fwebcamfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarldea%2Fwebcamfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarldea%2Fwebcamfx/lists"}