{"id":25330855,"url":"https://github.com/mahozad/jlayer","last_synced_at":"2025-08-10T13:09:48.593Z","repository":{"id":110951528,"uuid":"106211227","full_name":"mahozad/jlayer","owner":"mahozad","description":"Mirrored from http://www.javazoom.net/javalayer/javalayer.html","archived":false,"fork":false,"pushed_at":"2022-11-21T17:24:54.000Z","size":428,"stargazers_count":12,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-01T14:07:05.430Z","etag":null,"topics":["java","jlayer","mp3","mp3-converter","mp3-decoder","mp3-files","mp3-player","mpeg"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahozad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE","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":"2017-10-08T21:28:32.000Z","updated_at":"2024-11-04T16:31:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"33b37962-35eb-42f0-864e-09e4768ecee5","html_url":"https://github.com/mahozad/jlayer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mahozad/jlayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahozad%2Fjlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahozad%2Fjlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahozad%2Fjlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahozad%2Fjlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahozad","download_url":"https://codeload.github.com/mahozad/jlayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahozad%2Fjlayer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269728424,"owners_count":24465649,"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-10T02:00:08.965Z","response_time":71,"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":["java","jlayer","mp3","mp3-converter","mp3-decoder","mp3-files","mp3-player","mpeg"],"created_at":"2025-02-14T03:55:41.842Z","updated_at":"2025-08-10T13:09:48.582Z","avatar_url":"https://github.com/mahozad.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/release/mahozad/jlayer.svg)](https://github.com/mahozad/jlayer/releases)\n[![GitHub top language](https://img.shields.io/github/languages/top/mahozad/jlayer.svg)]()\n[![GitHub last commit](https://img.shields.io/github/last-commit/mahozad/jlayer.svg)]()\n[![license](https://img.shields.io/github/license/mahozad/jlayer.svg)](https://www.gnu.org/licenses/lgpl-3.0.en.html)\n\n[//]: # ( [![Codacy Badge]\u0026#40;https://api.codacy.com/project/badge/Grade/61f2c09a2a3e49b59e863755076e9024\u0026#41;]\u0026#40;https://www.codacy.com/app/mahozad/jlayer?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=mahozad/jlayer\u0026amp;utm_campaign=Badge_Grade\u0026#41;)\n\n# JavaZOOM 1999-2008\n  - [Project Homepage](http://www.javazoom.net/javalayer/javalayer.html)\n  - [Java and MP3 online Forums](http://www.javazoom.net/services/forums/index.jsp)\n\n## DESCRIPTION\nJLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3\n(i.e. MP3) in real time for the Java\u003csup\u003etm\u003c/sup\u003e platform. This is a non-commercial project \nand anyone can add his contribution. JLayer is licensed under LGPL (see [LICENSE](LICENSE)).\n\n## FAQ\n  - How to install JLayer?  \n    Before running JLayer you must set `PATH` and `CLASSPATH` for Java\n    and you must add jl1.0.1.jar to the `CLASSPATH`.\n\n  - Do I need JMF to run JLayer player?  \n    No, JMF is not required. You just need a JVM JavaSound 1.0 compliant.\n    (i.e. JVM1.3 or higher).\n\n  - How to run the MP3TOWAV converter?  \n    `java javazoom.jl.converter.jlc -v -p output.wav yourfile.mp3`  \n    \u003e Note: MP3TOWAV converter should work under jdk1.1.x or higher\n\n  - How to run the simple MP3 player?  \n    `java javazoom.jl.player.jlp localfile.mp3`  \n    or  \n    `java javazoom.jl.player.jlp -url http://www.aserver.com/remotefile.mp3`  \n    \u003e Note: MP3 simple player only works under JVM that supports JavaSound 1.0 (i.e JDK1.3.x+)\n\n  - How to run the advanced (threaded) MP3 player?  \n    `java javazoom.jl.player.advanced.jlap localfile.mp3`\n\n  - Does simple MP3 player support streaming?  \n    Yes, use the following command to play music from stream:  \n    `java javazoom.jl.player.jlp -url http://www.shoutcastserver.com:8000`  \n    (If JLayer returns without playing SHOUTcast stream then it might mean \n     that the server expect a winamp like \"User-Agent\" in HTTP request).\n\n  - Does JLayer support MPEG 2.5?  \n    Yes, it works fine for all files generated with LAME.\n\n  - Does JLayer support VBR?  \n    Yes, It supports VBRI and XING VBR header too. \n\n  - How to get ID3v1 or ID3v2 tags from JLayer API?  \n    The API provides a getRawID3v2() method to get an InputStream on ID3v2 frames.\n\n  - How to skip frames to have a seek feature?  \n    See javazoom.jl.player.advanced.jlap source to learn how to skip frames.\n\n  - How much memory/CPU JLayer needs to run?  \n    Here are our benchmark notes:\n      + Heap use range:  \n        * 1380KB to 1900KB - 370 classes loaded. \n      + Footprint:  \n        * ~8MB under WinNT4/Win2K + J2SE 1.3 (Hotspot).\n        * ~10MB under WinNT4/Win2K + J2SE 1.4.1 (Hotspot).\n      + CPU usage:  \n        * ~12% under PIII 800Mhz/WinNT4+J2SE 1.3 (Hotspot).\n        * ~8% under PIII 1Ghz/Win2K+J2SE 1.3.1 (Hotspot).\n        * ~12% under PIII 1Ghz/Win2K+J2SE 1.4.1 (Hotspot).\n        * ~1% under PIII 1Ghz/Win2K+J2SE 1.5.0 (Hotspot).\n\n  - How to contact JLayer developers?  \n    Try to post a thread on Java\u0026MP3 online forums at:  \n    http://www.javazoom.net/services/forums/index.jsp  \n    You can also contact us at jlayer@javazoom.net for contributions. \n\n## KNOWN PROBLEMS\n99% of MP3 plays well with JLayer but some (1%) return an `ArrayIndexOutOfBoundsException`\nwhile playing. It might come from invalid audio frames.  \nWorkaround: Just `try/catch` `ArrayIndexOutOfBoundsException` in your code to\nskip non-detected invalid frames.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahozad%2Fjlayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahozad%2Fjlayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahozad%2Fjlayer/lists"}