• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Reading Media File Details  RSS feed

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
I want to make a Media Organizer which allows a user to edit his music file details as one of the features.
For that I need to know how to access those details (like Title, Artist, Genre).
I went through Java Media Framework and seriously all I understood was that it provides a player for playing media files.
Is JMF the package that will provide me with classes and methods to access those details?
If not, then which is it?
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMF encapsulates generic playback and editing capability, so I don't think it supports functionality that only a few file formats have. (I'm assuming you're talking about MP3).

A quick Google search finds several Java implementations purporting to be able to read and write ID3 tags.
 
Shyam Prasad Murarka
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Rancher,
Thank you very much for the links. You guessed it right, I was looking for MP3 tags itself. But I did not want third-party API's. Instead I wanted to develop my own library. Luckily I followed a link to www.id3.org where I can learn about the tagging in detail.

I am guessing I will have to use the Java Sound API for this. Isn't it?
 
Ulf Dittmer
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think the Sound API supports ID3 tags, either, so a 3rd party library -either of your own making or from someone else- seems like the way to go.
 
Ulf Dittmer
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://contributions.coremedia.com/isobox4j is another such library.
 
machines help you to do more, but experience less. Experience this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!