Giter Site home page Giter Site logo

umjammer / jlayer Goto Github PK

View Code? Open in Web Editor NEW
48.0 3.0 12.0 8.75 MB

๐Ÿ”Š MP3 decoder library.

Home Page: https://web.archive.org/web/20210108055829/http://www.javazoom.net/javalayer/javalayer.html

License: GNU Lesser General Public License v2.1

Java 100.00%
java sound mp3 jitpack

jlayer's Introduction

Release Java CI CodeQL Java Parent

JLayer

mp3 logo๐Ÿ…ฎ fraunhofer

MP3 Decoder in pure Java.

Install

Usage

References

TODO


Original

JavaZOOM 1999-2008

Project Homepage :
http://www.javazoom.net/javalayer/javalayer.html

JAVA and MP3 online Forums :
http://www.javazoom.net/services/forums/index.jsp

DESCRIPTION

JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for the JAVA(tm) platform. This is a non-commercial project and anyone can add his contribution. JLayer is licensed under LGPL (see LICENSE).

FAQ

How to install JLayer ?

Do I need JMF to run JLayer player ?

No, JMF is not required. You just need a JVM JavaSound 1.0 compliant. (i.e. JVM1.3 or higher).

How to run the MP3TOWAV converter ?

  java javazoom.jl.converter.jlc -v -p output.wav yourfile.mp3

(Note : MP3TOWAV converter should work under jdk1.1.x or higher)

How to run the simple MP3 player ?

  java javazoom.jl.player.jlp localfile.mp3

or

  java javazoom.jl.player.jlp -url http://www.aserver.com/remotefile.mp3

Note : MP3 simple player only works under JVM that supports JavaSound 1.0 (i.e JDK1.3.x+)

How to run the advanced (threaded) MP3 player ?

  java javazoom.jl.player.advanced.jlap localfile.mp3

Does simple MP3 player support streaming ?

Yes, use the following command to play music from stream :

  java javazoom.jl.player.jlp -url http://www.shoutcastserver.com:8000

(If JLayer returns without playing SHOUTcast stream then it might mean that the server expect a winamp like "User-Agent" in HTTP request).

Does JLayer support MPEG 2.5 ?

Yes, it works fine for all files generated with LAME.

Does JLayer support VBR ?

Yes, It supports VBRI and XING VBR header too.

How to get ID3v1 or ID3v2 tags from JLayer API ?

The API provides a getRawID3v2() method to get an InputStream on ID3v2 frames.

How to skip frames to have a seek feature ?

See javazoom.jl.player.advanced.jlap source to learn how to skip frames.

jlayer's People

Contributors

umjammer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jlayer's Issues

Is it safe to use?

In original JLayer there is RCE vulnerability when reading audio data from untrusted source (i don't know details) is it patched here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.