Hello Everybody,
I'm looking for some documentation about the package com.sun.media.*. I see it's bundled in jmf.jar, but I can't find any javadoc or similar documentation about it.
I'm trying to implement a simple Java wrapper that integrates an MPEG decoder in JMF, something like a subset of what FOBS does with ffmpeg (but more simple) and I don't understand very well which could be a good starting point.
For example, I see in FOBS Audio NativeDecoder source code that NativeDecoder.java extends com.sun.media.codec.audio.AudioCodec class: I can't really find anywhere some definition of that class!
How did you get to know how this class was composed?
(the problem is representig also in other classes...)
Thanks for your eventual answers,
Andrea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
first of all, I would recommend you to use fobs. It does what you want to achieve and it is already coded ;)
About coding your own codec, it's quite difficult to do it from scracth. I would begin from fobs classes and replace ffmpeg calls to your own library calls. My main documentation came from:
- Javadocs and tutorials at the JMF site
- Sample apps at the JMF site
- I'm ashamed to accept it, but I did take a look at JMF sourcecode to debug some issues. Anyway, that wasn't too helpfull.
- jffmpeg project for the JNI part.
All of these sources are available from the internet.
Good luck!!
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Everybody,
I'm looking for some documentation about the package com.sun.media.*. I see it's bundled in jmf.jar, but I can't find any javadoc or similar documentation about it.
I'm trying to implement a simple Java wrapper that integrates an MPEG decoder in JMF, something like a subset of what FOBS does with ffmpeg (but more simple) and I don't understand very well which could be a good starting point.
For example, I see in FOBS Audio NativeDecoder source code that NativeDecoder.java extends com.sun.media.codec.audio.AudioCodec class: I can't really find anywhere some definition of that class!
How did you get to know how this class was composed?
(the problem is representig also in other classes...)
Thanks for your eventual answers,
Andrea
Hi,
first of all, I would recommend you to use fobs. It does what you want to achieve and it is already coded ;)
About coding your own codec, it's quite difficult to do it from scracth. I would begin from fobs classes and replace ffmpeg calls to your own library calls. My main documentation came from:
- Javadocs and tutorials at the JMF site
- Sample apps at the JMF site
- I'm ashamed to accept it, but I did take a look at JMF sourcecode to debug some issues. Anyway, that wasn't too helpfull.
- jffmpeg project for the JNI part.
All of these sources are available from the internet.
Good luck!!
Jose San Pedro