Given the lack of response from the vidl developers, I'd be happy to add
your example program to vidl/examples.
I found the problem. Now I can decode mpeg movies.
You just need to write your own load_mpeg_codec callback function.
I suggest that an example or test program should be written for this