{"id":26415068,"url":"https://github.com/symblai/media-conversion","last_synced_at":"2025-10-04T00:50:32.483Z","repository":{"id":47826328,"uuid":"268618572","full_name":"symblai/media-conversion","owner":"symblai","description":"Simple media utility for audio operations like audio transcoding.","archived":false,"fork":false,"pushed_at":"2022-06-22T16:59:55.000Z","size":44,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-17T14:02:12.143Z","etag":null,"topics":["audio","convert","decoder","encoder","ffmpeg","media","node","nodejs","symbl","transcode-audio"],"latest_commit_sha":null,"homepage":"","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/symblai.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":"2020-06-01T19:54:38.000Z","updated_at":"2023-11-27T01:04:22.000Z","dependencies_parsed_at":"2022-09-03T11:53:42.286Z","dependency_job_id":null,"html_url":"https://github.com/symblai/media-conversion","commit_stats":null,"previous_names":["symblai/symbl-media"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/symblai/media-conversion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symblai%2Fmedia-conversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symblai%2Fmedia-conversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symblai%2Fmedia-conversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symblai%2Fmedia-conversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symblai","download_url":"https://codeload.github.com/symblai/media-conversion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symblai%2Fmedia-conversion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278250085,"owners_count":25955840,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["audio","convert","decoder","encoder","ffmpeg","media","node","nodejs","symbl","transcode-audio"],"created_at":"2025-03-18T00:17:19.417Z","updated_at":"2025-10-04T00:50:32.433Z","avatar_url":"https://github.com/symblai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Media Conversion\n\n Use this simple set of utilities for transcoding audio files either in NodeJS code, or as a CLI.\n\n## Setup \n\n### Prerequisites\nUse of this utility requires [ffmpeg](http://www.ffmpeg.org/) installed on your system.  If not already installed, [download](http://www.ffmpeg.org/download.html) or if on Mac install with [Homebrew](https://brew.sh/)\n\n```bash\nbrew install ffmpeg\n```\n\n### Install\nFor use as a library in your NodeJS code, run the following from inside your local project:\n\n```bash\nnpm install symbl-media --save\n```\n\nFor use as a CLI: \n\n```bash\nnpm install -g symbl-media\n```\n\nTo verify that it's installed properly, check with version command:\n\n```bash\nmedia version\n```\n\n## Usage\nCurrently this utility only supports one feature:\n* Transcode Audio file\n\nIf using in CLI mode, to print the detailed usage of this utility you can run this command.\n```bash\nmedia --help\n```\n\n#### Transcode Audio File\n\nYou can simply [transcode](https://en.wikipedia.org/wiki/Transcoding) (convert) an audio file on your file system using this utility.\n\n#### Command line\nUse the `transcode` command to transcode the file.\n\n```bash\nmedia transcode -i ./my-input-file.wav -o ./my-output-file.mp3 -f mp3\n```\n##### Options\n\u003cpre\u003e\n  `-i`, `--inFile`    \u003cu\u003efile\u003c/u\u003e       Path to the Input File to be transcoded.                   \n  `-o`, `--outFile`   \u003cu\u003efile\u003c/u\u003e       Path to where the Output File should be saved.             \n  `-f`, `--outFormat` \u003cu\u003eformat\u003c/u\u003e     Format of the output file. For example: mp3, wav, aac etc. \n\u003c/pre\u003e\n\n#### Using Code\nYou can quickly transcode any audio/video file using `transcodeMediaFile` method.\n\n```javascript\nconst {transcodeMediaFile} = require('symbl-media');\n(async () =\u003e {\n    try {\n        const result = await transcodeMediaFile('./my-input-file.wav', 'my-output-file.mp3', 'mp3');\n        console.log('Successfully transcoded to: ', result.outPath);\n    } catch (e) {\n        console.error(e);\n    }\n})();\n```\nAlso checkout the [Examples](examples) folder for more examples\n\n## Community \n\nIf you have any questions, feel free to reach out to us at devrelations@symbl.ai, through our Community [Slack][slack], or [developer community][developer_community]\n\nThis guide is actively developed, and we love to hear from you! Please feel free to [create an issue][issues] or [open a pull request][pulls] with your questions, comments, suggestions and feedback.  If you liked our integration guide, please star our repo!\n\nThis library is released under the [MIT License][license]\n\n[license]: LICENSE.txt\n[telephony]: https://docs.symbl.ai/docs/telephony/overview/post-api\n[websocket]: https://docs.symbl.ai/docs/streamingapi/overview/introduction\n[developer_community]: https://community.symbl.ai/?_ga=2.134156042.526040298.1609788827-1505817196.1609788827\n[signup]: https://platform.symbl.ai/?_ga=2.63499307.526040298.1609788827-1505817196.1609788827\n[issues]: https://github.com/symblai/symbl-media/issues\n[pulls]: https://github.com/symblai/symbl-media/pulls\n[slack]: https://join.slack.com/t/symbldotai/shared_invite/zt-4sic2s11-D3x496pll8UHSJ89cm78CA\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymblai%2Fmedia-conversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymblai%2Fmedia-conversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymblai%2Fmedia-conversion/lists"}