A
Antti Nummiaho
JMF has a javax.media.Codec interface which seems to have nice methods
for converting a video from one format to another:
codec.setInputFormat(inputFormat);
codec.setOutputFormat(outputFormat);
codec.process(inputBuffer, outputBuffer);
Only problem is that Codec is an interface. How can I get a class that
implements the Codec interface in JMF? JMF supports many media formats
(http://java.sun.com/products/java-media/jmf/2.1.1/formats.html) so
one could assume that it would be possible to use JMF to convert
between them.
for converting a video from one format to another:
codec.setInputFormat(inputFormat);
codec.setOutputFormat(outputFormat);
codec.process(inputBuffer, outputBuffer);
Only problem is that Codec is an interface. How can I get a class that
implements the Codec interface in JMF? JMF supports many media formats
(http://java.sun.com/products/java-media/jmf/2.1.1/formats.html) so
one could assume that it would be possible to use JMF to convert
between them.