termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.34k stars 3.07k forks source link

enhance(main/gst-plugins-good): Add support for MP3 files #22289

Closed Biswa96 closed 5 days ago

Biswa96 commented 5 days ago
$ gst-discoverer-1.0 sample-mp3-files-sample1.mp3
Analyzing file:///sdcard/data/sample-mp3-files-sample1.mp3
Done discovering file:///sdcard/data/sample-mp3-files-sample1.mp3
Missing plugins
 (gstreamer|1.0|gst-discoverer-1.0|MPEG-1 Layer 3 (MP3) decoder|decoder-audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3)
$ gst-discoverer-1.0 sample-mp3-files-sample1.mp3
Analyzing file:///sdcard/data/sample-mp3-files-sample1.mp3
Done discovering file:///sdcard/data/sample-mp3-files-sample1.mp3

Properties:
  Duration: 0:02:02.122448979
  Seekable: yes
  Live: no
  unknown #0: ID3 tag
    audio #1: MPEG-1 Layer 3 (MP3)
      Stream ID: 676e39b3ab61d585010bb24d641d4d8da0966195f4ee416df069a79d9a495cf7
      Language: <unknown>
      Channels: 2 (front-left, front-right)
      Sample rate: 44100
      Depth: 16
      Bitrate: 0
      Max bitrate: 0