aspose file tools*
The moose likes Java in General and the fly likes jar files that can read video and audio meta data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "jar files that can read video and audio meta data" Watch "jar files that can read video and audio meta data" New topic
Author

jar files that can read video and audio meta data

Tim Lim
Greenhorn

Joined: Oct 14, 2010
Posts: 22
Hi all, I am looking for a lightweight jar library that allows me to read video and audio meta data.

I wanted to read data like:
1.Video bitrate
2.Video framerate
3.Video format and codec
4.Video size (width X height)
5.Audio channels
6.Audio format
7.Audio bitrate and sampling rate

These are the video and audio formats I will be working with - mp4, mpeg, wmv, avi, wm, midi, wma, mp3, aiff, au and wav

I have google it so far, i cant find any jar files that allow me to do.
So far I have come across these postings:
1. http://stackoverflow.com/questions/7142645/java-library-to-check-video-if-its-1080p-720p-etc
2. http://stackoverflow.com/questions/2168472/media-information-extractor-for-java

However, the solutions provided are not what I am looking for. It will require an installation of the program before you can use the jar files.

So are there any jar files available that allow me to read the video and audio meta data?
Tim Lim
Greenhorn

Joined: Oct 14, 2010
Posts: 22
any solutions?
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

In my opinion there is no direct solution from java you should take help of third party tool like FFMPEG. Write a native method which will call third party tool get the metadata.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar files that can read video and audio meta data