{"id":18013237,"url":"https://github.com/flavioribeiro/node-encoding-wrapper","last_synced_at":"2025-04-04T14:21:37.683Z","repository":{"id":138279991,"uuid":"47204662","full_name":"flavioribeiro/node-encoding-wrapper","owner":"flavioribeiro","description":"A NodeJS wrapper for the Encoding.com API http://www.encoding.com/api/","archived":false,"fork":false,"pushed_at":"2015-12-26T00:06:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T23:51:16.784Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flavioribeiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-01T17:07:51.000Z","updated_at":"2015-12-01T17:13:57.000Z","dependencies_parsed_at":"2023-03-16T07:45:30.460Z","dependency_job_id":null,"html_url":"https://github.com/flavioribeiro/node-encoding-wrapper","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/flavioribeiro%2Fnode-encoding-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flavioribeiro%2Fnode-encoding-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flavioribeiro%2Fnode-encoding-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flavioribeiro%2Fnode-encoding-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flavioribeiro","download_url":"https://codeload.github.com/flavioribeiro/node-encoding-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190356,"owners_count":20898732,"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-30T03:20:34.712Z","updated_at":"2025-04-04T14:21:37.655Z","avatar_url":"https://github.com/flavioribeiro.png","language":"JavaScript","readme":"# Node Encoding Wrapper\n\u003e A NodeJS wrapper for the Encoding.com API http://www.encoding.com/api/\n\n## Running tests\n\n1. Clone it:\n\n```sh\n$ git clone git@github.com:flavioribeiro/node-encoding-wrapper.git\n```\n\n2. Then go to the project's folder:\n\n```sh\n$ cd node-encoding-wrapper\n```\n\n3. And finally run:\n```shell\n$ chmod a+x runtests.sh \u0026\u0026 ./runtests.sh\n```\n\n## Example\n```js\nvar EncodingApi = require('src/lib');\nvar Utils = require('src/utils');\n\nvar api = new EncodingApi(encodingLogin, encodingPassword);\n// getProfileFromFile() receives the destination of output as second parameter\nvar hlsProfile = Utils.getProfileFromFile('profiles/hls.json', 'ftp://usr:passwd@flv.io/hls_output/');\n\napi.addMedia('http://flv.io/video.mp4', hlsProfile, function(res) {\n  if (res.errors) {\n    throw new Error(res.errors.error);\n  } else {\n    console.log(\"done\");\n  }\n});\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-awesome-new-feature`\n3. Commit your changes: `git commit -m 'Add some awesome feature'`\n4. Push to the branch: `git push origin my-awesome-new-feature`\n5. Submit a pull request\n\n## License\n\nThis code is under [Apache License](https://github.com/flavioribeiro/video-thumbnail-generator/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflavioribeiro%2Fnode-encoding-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflavioribeiro%2Fnode-encoding-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflavioribeiro%2Fnode-encoding-wrapper/lists"}