Forum Replies Created

  • Tom Pepe

    August 3, 2010 at 9:34 am in reply to: FFmpeg 0.60 Problem – unsupported codec

    [Michael Rampe]You have not installed or enabled the libfaad or libfaac libraries. This is why it is reporting:

    [tom pepe] “Unsupported codec!”

    [Michael Rampe]Your ffplay does have these libraries installed and configured. This is why it works in FFplay but not FFmpeg.

    add –enable-libfaad and –enable-libfaac to your FFmpeg configure line.

    But when you have a look at the sourcecode:


    // Get a pointer to the codec context for the video stream
    pCodecCtx=pFormatCtx->streams[videoStream]->codec;

    // Find the decoder for the video stream
    pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
    if(pCodec==NULL)
    {
    fprintf(stderr, "Unsupported codec!n");
    return -1; // Codec not found
    }

    libfaad and libfaac are en- and decoder for audiostreams.
    But I never access to the audio channel – only to the video channel.

    So why should this be the solution for my problem?

    Nice Regards,

    Tom

    PS: Thanks for your reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy