[FFmpeg-devel] codec type or id mismatches error

Måns Rullgård mans
Sat Nov 7 01:08:39 CET 2009

BigRedFed <bigredfed at gmail.com> writes:

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

- This was fixed aeons ago.
- Wrong mailing list.
- Don't top-post.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list