Share

JMF wrapper for ffmpeg

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Register codecs

You are viewing a single message from this topic. View all messages.

  1. 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
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.