[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.