{"id":17865887,"url":"https://github.com/ttskch/audio2video-cli","last_synced_at":"2025-04-02T22:11:14.163Z","repository":{"id":66183892,"uuid":"61480340","full_name":"ttskch/audio2video-cli","owner":"ttskch","description":"A CLI tool to convert an audio file to a simple video file.","archived":false,"fork":false,"pushed_at":"2017-02-17T09:46:23.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T12:25:59.443Z","etag":null,"topics":["audio","cli","converter","video"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttskch.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-19T12:58:56.000Z","updated_at":"2020-03-15T07:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"000e4c61-a677-4bf5-979f-05de53860873","html_url":"https://github.com/ttskch/audio2video-cli","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/ttskch%2Faudio2video-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Faudio2video-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Faudio2video-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Faudio2video-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttskch","download_url":"https://codeload.github.com/ttskch/audio2video-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899658,"owners_count":20851898,"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":["audio","cli","converter","video"],"created_at":"2024-10-28T09:25:26.616Z","updated_at":"2025-04-02T22:11:14.156Z","avatar_url":"https://github.com/ttskch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audio2video-cli\n\nA CLI tool to convert an audio file to a simple video file.\nMaybe it's useful for attaching just audio to your tweet. (We cannot attach audio file but can do video file.)\n\n## Installation\n\n### Homebrew\n\n```sh\n$ brew tap ttskch/audio2video\n$ brew install audio2video\n```\n\n\u003e ### Manual\n\u003e\n\u003e The following are require.\n\u003e\n\u003e * PHP 5.4+\n\u003e * ffmpeg (with toolchain)\n\u003e * imagemagick\n\u003e * php-imagick\n\u003e\n\u003e ```sh\n\u003e # e.g. for macOS\n\u003e $ brew tap homebrew/php\n\u003e $ brew install ffmpeg --with-tools\n\u003e $ brew install php71 imagemagick php71-imagick\n\u003e\n\u003e # e.g. for Ubuntu\n\u003e $ apt-get install -y php ffmpeg libavcodec-extra imagemagick php-imagick\n\u003e ```\n\u003e\n\u003e Then you can install me.\n\u003e\n\u003e ```sh\n\u003e $ git clone git@github.com:ttskch/audio2video-cli.git\n\u003e $ cd audio2video-cli\n\u003e $ composer install\n\u003e $ ln -s $(pwd)/audio2video /usr/local/bin/\n\u003e ```\n\n## Usage\n\n```\n$ audio2video conv --help\nUsage:\n  conv [options] [--] \u003caudio-file\u003e [\u003coutput-format\u003e]\n\nArguments:\n  audio-file                               path to audio file\n  output-format                            extension of output video file [default: \"mp4\"]\n\nOptions:\n  -i, --image-file=IMAGE-FILE              path to image file\n  -c, --image-color=IMAGE-COLOR            if \"--image_file\" isn't set, you can specify the color of auto-generated simple color image [default: \"black\"]\n  -r, --image-resolution=IMAGE-RESOLUTION  if \"--image_file\" isn't set, you can specify the resolution of auto-generated simple color image [default: \"800x450\"]\n  -f, --video-frame-rate=VIDEO-FRAME-RATE  frame rate of output video file [default: \"30\"]\n  -w, --overwrite                          if this flag is set, existing same named video file will be overwritten\n  -h, --help                               Display this help message\n  -q, --quiet                              Do not output any message\n  -V, --version                            Display this application version\n      --ansi                               Force ANSI output\n      --no-ansi                            Disable ANSI output\n  -n, --no-interaction                     Do not ask any interactive question\n  -v|vv|vvv, --verbose                     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  Convert audio file to simple video file\n```\n\n### Examples\n\n```sh\n$ audio2video conv sample.mp3\n$ audio2video conv sample.mp3 avi\n$ audio2video conv sample.mp3 avi -i sample.png\n$ audio2video conv sample.mp3 m4v -c white\n$ audio2video conv sample.mp3 m4v -c \"#123456\" -r 1600x900\n$ audio2video conv sample.mp3 m4v -c white -r 1600x900 -f 15\n```\n\nFor example, when you input a mp3 file like below:\n\n![](https://cloud.githubusercontent.com/assets/4360663/16361302/6cd60b90-3bc6-11e6-8b16-950d76991ed4.png)\n\nAnd exec command below:\n\n```sh\n$ audio2video conv sample.mp3\n/path/to/current/sample.mp4 is generated successfully.\n```\n\nThen you get mp4 file like below:\n\n![](https://cloud.githubusercontent.com/assets/4360663/16361272/71a89288-3bc5-11e6-89fa-ebf0c46bdc54.png)\n\n## See also\n\nThis feature as a service is here:\n\n* http://audio2video.me\n* [ttskch/audio2video](https://github.com/ttskch/audio2video)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Faudio2video-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttskch%2Faudio2video-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Faudio2video-cli/lists"}