{"id":15498987,"url":"https://github.com/jumplink/ffplaycontrol","last_synced_at":"2025-03-28T17:27:18.680Z","repository":{"id":146879209,"uuid":"21080152","full_name":"JumpLink/ffplaycontrol","owner":"JumpLink","description":"nodejs wrapper for ffplay","archived":false,"fork":false,"pushed_at":"2014-06-26T20:38:46.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T18:15:31.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/JumpLink.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":"2014-06-21T22:23:39.000Z","updated_at":"2014-06-26T12:37:13.000Z","dependencies_parsed_at":"2023-03-25T11:18:51.229Z","dependency_job_id":null,"html_url":"https://github.com/JumpLink/ffplaycontrol","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/JumpLink%2Fffplaycontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JumpLink%2Fffplaycontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JumpLink%2Fffplaycontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JumpLink%2Fffplaycontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JumpLink","download_url":"https://codeload.github.com/JumpLink/ffplaycontrol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068301,"owners_count":20718505,"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-02T08:49:11.671Z","updated_at":"2025-03-28T17:27:18.657Z","avatar_url":"https://github.com/JumpLink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ffplaycontrol\r\n==========\r\n\r\nNodejs module to control [ffplay](https://www.ffmpeg.org/ffplay.html), like [omxcontrol](https://github.com/dplesca/omxcontrol) for omxplayer.\r\n\r\nRequirements\r\n------------\r\n\r\n* ffplay (included in [ffmpeg](http://www.ffmpeg.org/))\r\n* nodejs (`apt-get install nodejs`)\r\n\r\nInstall\r\n-------\r\n\r\n    npm install ffplaycontrol\r\n\r\nUsage\r\n-----\r\n\r\nBasic usage\r\n    \r\n    ffplay = require('ffplaycontrol');\r\n\r\n    ffplay.start(filename);\r\n\r\n    ffplay.pause();\r\n\r\n    ffplay.quit();\r\n\r\n`ffplay()` can be passed a mapping function to map the filename to something else. Calling the provided start method is required to actually start the video. Your logic can be async and even choose not to start things:\r\n\r\n    ffplay = require('ffplaycontrol');\r\n    ffplay(function(fn,start) {\r\n        //do something special\r\n        start(fn);\r\n    });\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumplink%2Fffplaycontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumplink%2Fffplaycontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumplink%2Fffplaycontrol/lists"}