{"id":18728714,"url":"https://github.com/rubyonworld/mp4info","last_synced_at":"2025-08-28T06:20:20.948Z","repository":{"id":174008004,"uuid":"542163362","full_name":"RubyOnWorld/mp4info","owner":"RubyOnWorld","description":"MP4Info supports the reading of tags and file info from MP4 audio files.","archived":false,"fork":false,"pushed_at":"2022-09-28T00:53:32.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T06:06:19.463Z","etag":null,"topics":["audio","file","info","mp4","reading","ruby","tag"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/RubyOnWorld.png","metadata":{"files":{"readme":"README.rdoc","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-27T15:41:02.000Z","updated_at":"2022-09-28T01:31:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c1c83df-0363-4f96-bde1-9369b688b71f","html_url":"https://github.com/RubyOnWorld/mp4info","commit_stats":null,"previous_names":["rubyonworld/mp4info"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RubyOnWorld/mp4info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fmp4info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fmp4info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fmp4info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fmp4info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubyOnWorld","download_url":"https://codeload.github.com/RubyOnWorld/mp4info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fmp4info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272452993,"owners_count":24937467,"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-08-28T02:00:10.768Z","response_time":74,"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","file","info","mp4","reading","ruby","tag"],"created_at":"2024-11-07T14:23:52.420Z","updated_at":"2025-08-28T06:20:20.926Z","avatar_url":"https://github.com/RubyOnWorld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= My Changes\nThis gem isn't originally mine, but i've added things etc...\n\n= Bundler\nThe gem can now be used with bundler and by extension, Rails 3, just use...\n\n\tgem \"mp4info\", :git =\u003e \"git://github.com/arbarlow/ruby-mp4info.git\", :require =\u003e \"mp4info\"\n\n\n= Introduction\nMP4Info supports the reading of tags and file info from MP4 audio files.\nIt is based on the Perl module MP4::Info (http://search.cpan.org/~jhar/MP4-Info/)\nNote: MP4Info does not currently support Unicode strings.\n\n= License\nThis program is free software; you can redistribute it and/or modify\nit under the terms of version 2 of the GNU General Public License as\npublished by the Free Software Foundation.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n= Usage\n\nWith mp4info.rb in your load path, do:\n\n  require 'mp4info'\n\nOnce the library is loaded, an MP4Info object is created by sending an IO\nobject to MP4Info#new. MP4Info also provides the MP4Info#open method, which\ntakes String containing a filename.\n\n  file = \"my_favorite_song.mp4\"\n  info = MP4Info.open(file)\n\n  io_stream = File.new(\"that_other_song.m4a\")\n  other_info = MP4Info.new(io_stream)\n\nOnce an MP4Info object is succesfully created, a number of tags are\navalible:\n\n  * ALB   - Album\n  * APID  - Apple Store ID\n  * ART   - Artist\n  * CMT   - Comment\n  * COVR  - Album art (typically jpeg data)\n  * CPIL  - Compilation (boolean)\n  * CPRT  - Copyright statement\n  * DAY   - Year\n  * DISK  - Disk number \u0026 total (Array of two integers)\n  * GNRE  - Genre\n  * GRP   - Grouping\n  * NAM   - Title\n  * RTNG  - Rating (integer)\n  * TMPO  - Tempo (integer)\n  * TOO   - Encoder\n  * TRKN  - Track number \u0026 total (Array of two integers)\n  * WRT   - Author or composer\n\nThe following extra information about the audio file is also provided:\n\n  * VERSION   - MPEG version (=4)\n  * LAYER     - Doesn't really mean antyhing, but here in case we need it\n                for compatibility with an MP3 library...\n  * BITRATE   - Bitrate in kbps (average for VBR files)\n                The formula used to generate this seems a little suspect.\n  * FREQUENCY - Frequency in kHz\n  * SIZE      - Bytes in audio stream\n  \n  * SECS  - Total seconds, rounded to nearest second\n  * MM    - Minutes\n  * SS    - Leftover seconds\n  * MS    - Leftover milliseconds, rounded to nearest millisecond\n  * TIME  - Time in MM:SS, rounded to nearest second\n\n  * COPYRIGHT\t- Non-nil if audio is copyrighted\n  * ENCRYPTED\t- Non-nil if audio data is encrypted","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fmp4info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyonworld%2Fmp4info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fmp4info/lists"}