A couple of similar questions are on stackoverflow, but I haven't been able to figure this exact problem out.
I want to get a list of the fourcc
s for the avi codecs that FFMpeg can decode.
I know how to get all the formats ffmpeg -formats
and codecs ffmpeg -codecs
but neither list gives me an accessible list of fourccs
. Neither does the documentation I can find.
I need this list, so that my application can access the fourcc
of an avi
file and determine whether to use ffmpeg
or VfW
(or DirectX
) to try decode the file.
Is there some ffmpeg
command that can give me this list?