{"id":17794504,"url":"https://github.com/kjunichi/processing-video-js","last_synced_at":"2025-04-02T02:22:53.876Z","repository":{"id":6379022,"uuid":"7616558","full_name":"kjunichi/processing-video-js","owner":"kjunichi","description":"A JavaScript port of the Processing video library and an example how to write cross mode libraries for Processing 2.0","archived":false,"fork":false,"pushed_at":"2013-01-15T01:45:09.000Z","size":3211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T17:25:04.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/kjunichi.png","metadata":{"files":{"readme":"README","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-01-15T01:40:08.000Z","updated_at":"2018-06-05T18:33:33.000Z","dependencies_parsed_at":"2022-08-28T12:22:34.341Z","dependency_job_id":null,"html_url":"https://github.com/kjunichi/processing-video-js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fprocessing-video-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fprocessing-video-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fprocessing-video-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fprocessing-video-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjunichi","download_url":"https://codeload.github.com/kjunichi/processing-video-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741632,"owners_count":20826201,"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-10-27T11:16:43.268Z","updated_at":"2025-04-02T02:22:53.855Z","avatar_url":"https://github.com/kjunichi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n  import processing.video.*;\n\n  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n  This is an attempt at writing a JavaScript companion to an existing\n  Java library, namely the Processing video library.\n\t\n  One goal is to have video sketches run in JavaScript mode out of the \n  box. Another is to come up with a recommendation on how to write or\n  wrap and package JavaScript libraries to make them available inside \n  Processing 2.0 JavaScript mode (powered by Processing.js).\n\t\n  Note: Capture will currently not be implemented as it's not supported\n  by browsers yet.\n\t\n  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n  Differences to the Java processing.video.Movie class\n\n  - new Movie( \u003cPApplet\u003esketch, \u003cString\u003epath ) \n    accepts multiple paths to support fallback HTML5 formats:\n    new Movie( this, \"video.mp4\", \"video.webm\", \"video.ogv\" )\n\n  - Movie.speed() \n    does not accept a negative value (will stop)\n\n  - Sources coming from remote locations (not same domain / port) will\n    only work when CORS is set up correctly:\n    https://developer.mozilla.org/en-US/docs/HTTP_access_control\n\n  - Movie.pixels[]\n    are read-only at the moment, use Movie.get() to manipulate pixels\n\n  - Movie.speed() \n    does not work in FireFox because of a Bug\n    https://bugzilla.mozilla.org/show_bug.cgi?id=495040\n\n  - Movie.jump() \n    does only work in Chrome if your server is able to serve \n    \"206 partial content\" (check the response header of the video request)\n\n  - Movie.setSourceFrameRate( \u003cfloat\u003efps )\n    HTML5 video does not have a way to see the fps of a video source,\n    so you will have to set that yourself (default is 25.0). This value is \n    used for Movie.frameRate() and returned by Movie.getSourceFrameRate()\n\n  - Movie.getElement()\n    will return the DOM \u003cvideo\u003e element used to play the movie\n\n  - Movie.getCanvas()\n    will return the DOM \u003ccanvas\u003e element used to copy the image off of \n    the \u003cvideo\u003e element\n\n  - Movie.getFilename()\n    returns the source (if loaded) that is actually being played. It's a\n    way to find out which of multiple sources (mp4/webm/ogv) has been loaded.\n\n  - new Movie({ sources:\u003carray\u003e OR element: \u003cDOM video\u003e,\n                listener:\u003cobject\u003e,\n                [\n                  poster:\u003cstring\u003epath,\n                  image: \u003cDOM image\u003e\n                ] })\n    for JavaScript only usage, Movie constructor also accepts an options object.\n    sources   [\"video.mp4\", \"video.ogv\", ...]\n    element   optional DOM video node, no need to provide sources then\n    listener  {}, should implement movieEvent(Movie)\n    poster    optional, path to an image to use as poster-frame\n    image     either \u003cimg\u003e or \"new Image()\", renders the video into an image.src,\n              useful if you are rendering to a texture in three.js\n  \n  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n  Some work hours and content provided by http://mint.gs\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fprocessing-video-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjunichi%2Fprocessing-video-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fprocessing-video-js/lists"}