{"id":13768004,"url":"https://github.com/sitkevij/mpn","last_synced_at":"2025-03-02T13:33:28.140Z","repository":{"id":30324426,"uuid":"120951596","full_name":"sitkevij/mpn","owner":"sitkevij","description":"Rust-based MPEG-4 box inspector with TOML output.","archived":false,"fork":false,"pushed_at":"2023-12-07T06:31:27.000Z","size":940,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-23T10:10:21.049Z","etag":null,"topics":["media","media-prober","mp4","mpeg","rust","video"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sitkevij.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-09T20:20:46.000Z","updated_at":"2024-05-06T19:16:48.000Z","dependencies_parsed_at":"2023-12-07T07:30:09.788Z","dependency_job_id":"8fa7db3b-1132-4c76-8534-c4da2791af15","html_url":"https://github.com/sitkevij/mpn","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkevij%2Fmpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkevij%2Fmpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkevij%2Fmpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitkevij%2Fmpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitkevij","download_url":"https://codeload.github.com/sitkevij/mpn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241513283,"owners_count":19974720,"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":["media","media-prober","mp4","mpeg","rust","video"],"created_at":"2024-08-03T16:01:15.372Z","updated_at":"2025-03-02T13:33:28.088Z","avatar_url":"https://github.com/sitkevij.png","language":"Rust","funding_links":[],"categories":["Encoding","HarmonyOS"],"sub_categories":["Talks Presentations Podcasts","Windows Manager"],"readme":"# mpn\n\n[mpn](https://github.com/sitkevij/mpn) is a rust-based command line application which can inspect MPEG-4 media files,\nread box information, and output in variable text formats.\n\n[![Crates.io](https://img.shields.io/crates/v/mpn?style=flat-square)](https://crates.io/crates/mpn)\n[![Crates.io](https://img.shields.io/crates/d/mpn?style=flat-square)](https://crates.io/crates/mpn)\n[![GitHub Repo stars](https://img.shields.io/github/stars/sitkevij/mpn)](https://github.com/sitkevij/mpn)\n[![GitHub repo size](https://img.shields.io/github/repo-size/sitkevij/mpn)](https://github.com/sitkevij/mpn)\n[![main](https://github.com/sitkevij/mpn/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sitkevij/mpn/actions/workflows/ci.yml?branch=main)\n[![docs.rs](https://img.shields.io/docsrs/mpn)](https://docs.rs/mpn/0.2.0/mpn/)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/sitkevij/mpn/blob/main/LICENSE-APACHE)\n[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/sitkevij/mpn/blob/main/LICENSE-MIT)\n\n# Help\n\n```sh\nmpn 0.2.0\nauthor https://github.com/sitkevij\nMPEG-4 media file inspector.\n\nUSAGE:\n    mpn \u003cMEDIAFILE\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cMEDIAFILE\u003e    Pass a valid mp4 file path as an argument for inspection\n```\n\n## CI Status\n\n| branch  | ci status                                                                                                                                                                |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| main    | [![main](https://github.com/sitkevij/mpn/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sitkevij/mpn/actions/workflows/ci.yml?branch=main)          |\n| develop | [![develop](https://github.com/sitkevij/mpn/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/sitkevij/mpn/actions/workflows/ci.yml?branch=develop) |\n\n## Installation\n\n### crates.io\n\nIf cargo installed, this the easiest and fasted way to get up and running:\n\n```sh\ncargo install mpn\n```\n\n### From source\n\n```sh\ngit clone https://github.com/sitkevij/mpn \u0026\u0026 \\\ncd mpn \u0026\u0026 \\\ncargo test \u0026\u0026 \\\ncargo build --release \u0026\u0026 \\\ntarget/release/mpn tests/files/test-bokeh-au-2t-vd-30f-854x480.mp4\n```\n\n## Output\n\n```toml\n$ mpn tests/files/test-bokeh-au-2t-vd-30f-854x480.mp4\n\n[media]\nuri = \"tests/files/test-bokeh-au-2t-vd-30f-854x480.mp4\"\ncreation_time = \"2018-03-14 15:24:40 UTC\"\nlast_modified_time = \"2018-03-14 15:24:40 UTC\"\nlast_accessed_time = \"2018-03-14 15:28:25 UTC\"\n[media.track.audio]\ntrack_id = \"1\"\nduration = \"TrackScaledTime(50176, 0)\"\nempty_duration = \"MediaScaledTime(0)\"\nmedia_time = \"TrackScaledTime(0, 0)\"\ntimescale = \"TrackTimeScale(48000, 0)\"\n[media.track.audio.dimension]\nchannelcount = 2\nsamplesize = 16\nsamplerate = 48000.0\n[media.track.audio.header]\ndisabled = true\nduration = 30\nwidth = 0\nheight = 0\n[media.track.audio.codec]\ncodec_name = \"ES\"\nesds.audio_sample_rate = 48000\nesds.audio_object_type = 2\n[media.track.video]\ntrack_id = \"2\"\nduration = \"TrackScaledTime(30, 1)\"\nempty_duration = \"MediaScaledTime(0)\"\nmedia_time = \"TrackScaledTime(1, 1)\"\ntimescale = \"TrackTimeScale(30, 1)\"\n[media.track.video.dimension]\nwidth = 854\nheight = 450\n[media.track.video.header]\ndisabled = true\nduration = 30\nwidth = 55967744\nheight = 29491200\n[media.track.video.codec]\ncodec_name = \"AVC\"\n```\n\n## License\n\nMIT OR Apache-2.0\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as\ndefined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitkevij%2Fmpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitkevij%2Fmpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitkevij%2Fmpn/lists"}