{"id":23959546,"url":"https://github.com/lekoarts/media-stats-rs","last_synced_at":"2026-02-08T19:01:28.564Z","repository":{"id":270361445,"uuid":"910122827","full_name":"LekoArts/media-stats-rs","owner":"LekoArts","description":"Generate a table with media statistics of video files in a folder","archived":false,"fork":false,"pushed_at":"2024-12-30T15:44:04.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T13:11:49.074Z","etag":null,"topics":["cli","ffmpeg","ffprobe","media","rust","statistics"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/LekoArts.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":"2024-12-30T14:50:31.000Z","updated_at":"2024-12-30T16:48:46.000Z","dependencies_parsed_at":"2025-01-06T18:45:16.065Z","dependency_job_id":null,"html_url":"https://github.com/LekoArts/media-stats-rs","commit_stats":null,"previous_names":["lekoarts/media-stats-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LekoArts/media-stats-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fmedia-stats-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fmedia-stats-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fmedia-stats-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fmedia-stats-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LekoArts","download_url":"https://codeload.github.com/LekoArts/media-stats-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fmedia-stats-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276076972,"owners_count":25581287,"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-09-20T02:00:10.207Z","response_time":63,"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":["cli","ffmpeg","ffprobe","media","rust","statistics"],"created_at":"2025-01-06T18:44:17.714Z","updated_at":"2025-09-20T09:31:00.460Z","avatar_url":"https://github.com/LekoArts.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# media-stats-rs\n\nGenerate a table with media statistics of video files in a folder. You'll receive information like the resolution or codec to quickly sort and filter your media files. Optionally you can create a `.csv` file with the information.\n\nUses [`ffprobe`](https://docs.rs/ffprobe/latest/ffprobe/) to inspect the files.\n\n## Installation\n\nYou'll need to have the [Rust development environment](https://www.rustup.rs/) installed and up to date.\n\nOnce you have rust and dependencies installed, use cargo to install media-stats-rs:\n\n```shell\ncargo install --locked media-stats-rs\n```\n\n## Usage\n\nYou need to pass a `base` and `pattern`.\n\n```shell\nUsage: media-stats-rs [OPTIONS] --base \u003cBASE\u003e --pattern \u003cPATTERN\u003e\n\nOptions:\n  -b, --base \u003cBASE\u003e        The base folder to search in\n  -p, --pattern \u003cPATTERN\u003e  The file pattern to search for inside the base folder\n  -c, --csv                Write output to a .csv file in the current directory\n  -h, --help               Print help\n  -V, --version            Print version\n```\n\nExample:\n\n```shell\nmedia-stats-rs --base \"/Users/movies\" --pattern \"**/*.{mkv,mp4}\"\n```\n\nOutput:\n\n```shell\n🔍 Searching for files...\n+-------------------------------+-------+--------+----------------+-----------+-------+----------+-----------+\n| Filename                      | Width | Height | Duration (min) | Size (GB) | Codec | Audio    | Subtitles |\n+============================================================================================================+\n| Millennium Actress (2001).mkv | 1920  | 1040   | 86             | 9.91      | hevc  | ger, jpn | ger       |\n+-------------------------------+-------+--------+----------------+-----------+-------+----------+-----------+\n\n🎬  Total files found: 1\n✨  Done in 0 seconds\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flekoarts%2Fmedia-stats-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flekoarts%2Fmedia-stats-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flekoarts%2Fmedia-stats-rs/lists"}