패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소amugofjava/mp3_info

mp3_info

MP3 파일에서 샘플링 속도, 비트레이트 및 지속 시간을 포함한 핵심 메타 정보를 추출하기 위한 패키지입니다.

mp3_info 프로젝트 이미지
스타
12
포크
1
최근 푸시(UTC)
2026. 3. 19.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

MP3 Info

Processes an MP3 file to extract key meta information such as MPEG version, MPEG layer version, bitrate, sample rate and duration. Can optionally process ID3 tags.

Usage

A simple usage example:

import 'dart:io';

import 'package:mp3_info/mp3_info.dart';

main() {
  MP3Info mp3 = MP3Processor.fromFile(File("test_files/test_128kpbs_441khz_stereo_10s.mp3"));

  print('MP3: test_128kpbs_441khz_stereo_10s.mp3');

  switch(mp3.sampleRate) {
    case SampleRate.rate_32000:
      print('Sample rate: 32KHz');
      break;
    case SampleRate.rate_44100:
      print('Sample rate: 44.1KHz');
      break;
    case SampleRate.rate_48000:
      print('Sample rate: 48KHz');
      break;
  }

  print('Bit rate: ${mp3.bitrate}bps');
  print('Duration: ${mp3.duration}');
}
Task list
  • [x] MP3 Key fields
    • [x] MPEG version
    • [x] MPEG layer version
    • [x] Sample rate
    • [x] Bitrate
    • [x] Duration
    • [x] CRC check
    • [x] Channel mode
    • [ ] Mode extension
    • [x] Copyright flag
    • [x] Origin (original/copy))
    • [x] Emphasis
  • [x] CBR (Constant Bitrate) support
  • [ ] VBR (Variable Bitrate) support
  • [ ] ID3 v1 Tag support
  • [ ] ID3 v2 Tag support
    • [ ] AENC Audio encryption
    • [ ] APIC Attached picture
    • [x] CHAP Chapters
    • [x] COMM Comments
    • [ ] COMR Commercial frame
    • [ ] ENCR Encryption method registration
    • [ ] EQUA Equalization
    • [ ] ETCO Event timing codes
    • [ ] GEOB General encapsulated object
    • [ ] GRID Group identification registration
    • [ ] IPLS Involved people list
    • [ ] LINK Linked information
    • [ ] MCDI Music CD identifier
    • [ ] MLLT MPEG location lookup table
    • [ ] OWNE Ownership frame
    • [ ] PRIV Private frame
    • [ ] PCNT Play counter
    • [ ] POPM Popularimeter
    • [ ] POSS Position synchronisation frame
    • [ ] RBUF Recommended buffer size
    • [ ] RVAD Relative volume adjustment
    • [ ] RVRB Reverb
    • [ ] SYLT Synchronized lyric/text
    • [ ] SYTC Synchronized tempo codes
    • [x] TALB Album/Movie/Show title
    • [x] TBPM BPM (beats per minute)
    • [x] TCOM Composer
    • [x] TCON Content type
    • [x] TCOP Copyright message
    • [x] TDAT Date
    • [x] TDLY Playlist delay
    • [x] TENC Encoded by
    • [x] TEXT Lyricist/Text writer
    • [x] TFLT File type
    • [x] TIME Time
    • [x] TIT1 Content group description
    • [x] TIT2 Title/songname/content description
    • [x] TIT3 Subtitle/Description refinement
    • [x] TKEY Initial key
    • [x] TLAN Language(s)
    • [x] TLEN Length
    • [x] TMED Media type
    • [x] TOAL Original album/movie/show title
    • [x] TOFN Original filename
    • [x] TOLY Original lyricist(s)/text writer(s)
    • [x] TOPE Original artist(s)/performer(s)
    • [x] TORY Original release year
    • [x] TOWN File owner/licensee
    • [x] TPE1 Lead performer(s)/Soloist(s)
    • [x] TPE2 Band/orchestra/accompaniment
    • [x] TPE3 Conductor/performer refinement
    • [x] TPE4 Interpreted, remixed, or otherwise modified by
    • [x] TPOS Part of a set
    • [x] TPUB Publisher
    • [x] TRCK Track number/Position in set
    • [x] TRDA Recording dates
    • [x] TRSN Internet radio station name
    • [x] TRSO Internet radio station owner
    • [x] TSIZ Size
    • [x] TSRC ISRC (international standard recording code)
    • [x] TSSE Software/Hardware and settings used for encoding
    • [x] TYER Year
    • [x] TXXX User defined text information frame
    • [ ] UFID Unique file identifier
    • [ ] USER Terms of use
    • [ ] USLT Unsychronized lyric/text transcription
    • [ ] WCOM WCOM Commercial information
    • [ ] WCOP Copyright/Legal information
    • [ ] WOAF Official audio file webpage
    • [ ] WOAR Official artist/performer webpage
    • [ ] WOAS Official audio source webpage
    • [ ] WORS Official internet radio station homepage
    • [ ] WPAY Payment
    • [ ] WPUB Publishers official webpage
    • [ ] WXXX User defined URL link frame
Ben Hills GitHub avatar
GitHub 작성자

Ben Hills ↗

Flutter & Java Developer. Likes to tinker with Elasticsearch.

언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗