2008-02-14 07:01:35 UTC
Hi,
but the registration of the Audio-Codec seems not to work for me:
|> String JFFMPEG_AUDIO = "net.sourceforge.jffmpeg.AudioDecoder";
|> Codec audio = (Codec)Class.forName( JFFMPEG_AUDIO ).newInstance();
|>
[...]
|> PlugInManager.addPlugIn(
|> JFFMPEG_AUDIO,
|> audio.getSupportedInputFormats(),
|> audio.getSupportedOutputFormats(null),
|> PlugInManager.CODEC
|> );
I always get the following events from JMF:
|> javax.media.ResourceUnavailableEvent[
|> source=com.sun.media.content.unknown.Handler@1b90b39,
|> message=Failed to prefetch: cannot open the audio device.]
and the following error messages:
|> Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo,
|> LittleEndian, Signed, 16000.0 frame rate, FrameSize=32768
|> Failed to prefetch: com.sun.media.PlaybackEngine@14fe5c
|> Error: Unable to prefetch com.sun.media.PlaybackEngine@14fe5c
Any ideas how I can get around this problem? Thanks.
Regards,
Martin