1 | initial version |
You can basically use every decoder by using the specified fourcc code. You can choose them from this list:
http://www.fourcc.org/codecs.php
Be sure to have the decoder installed on your system, and it will work without problem. However, when you say your application crashes after some time, I would consider looking into memory leaks. Possibly you are allocating memory somewhere and not manually deallocating it anymore, slurping up your memory bit by bit.