[FFmpeg-devel] codec type or id mismatches error

BigRedFed bigredfed
Sat Nov 7 00:13:23 CET 2009

I am using fobs4fmj for a project.  I am attempting to update it to use the
latest version of ffmpeg due to some exceptions that we were getting.  When
attempting to play a MPEG2 Video I am getting the following output:

Setting size - 640x480
Encoding: mpeg
Codec Found: 2
[mpeg2video @ 0x3bfc10]codec type or id mismatches

after that the program crashes due to the codec-context not being opened
correctly.  I am trying to fix the crashing, but it wouldn't be an issue if
the other error did not occur.  I have search the ffmpeg code for the
string: "codec type or id mismatches" and been unable to find it.  Can
anyone point me in the direction of where to find that in the code so I can
see what is occurring to cause the error.  As far as I can tell, Codec 2
should be CodecID.MPEG12VIDEO.

Thanks in advance.

More information about the ffmpeg-devel mailing list