For part of a private project I am working on, I want to get the height, width, bite rate, FPS of an MPEG in Java. Does anyone know how to do this?
Asked
Active
Viewed 1,179 times
1 Answers
2
Hum... I'm not an expert in the subject but I would start by taking a look in the source code of some Open Source decoders:
- http://sourceforge.net/projects/javampeg1video/
- http://vsr.informatik.tu-chemnitz.de/~jan/MPEG/MPEG_Play.html
- http://sourceforge.net/projects/h264avcjavaenco/
Cheers,

Anthony Accioly
- 21,918
- 9
- 70
- 118
-
Well I'd start by looking at the correct ISO standard (there's always some pdf floating around on the web in my experience) if I wanted to implement it myself ;) But I'd think using an existing solution such as one of those you linked is the much better approach anyhow – Voo May 29 '11 at 00:46
-
Those open source projects give me what I need, thank you very much. – jamie May 30 '11 at 16:09
-
Jamie. I'm glad to be of service. If you think this closes the question, please don't forget to accept the answer. – Anthony Accioly May 30 '11 at 18:56