Saturday, October 17, 2009

Video Playback on Micro Famework using RLP - last part!

This took a while for me to post...sorry, I have been very busy! Which worked out very well because GHI made some enhancements on RLP. Now, there are extensions available that give access to the system resources, for example malloc and free. In my example, I use my own malloc and free because if I do something wrong or cause memory leakage, it will only harm my own RLP but not the system plus I wanted to prove that it is possible to have our own memory allocation in RLP. I am still using the delay extension in my code. When I ran it the first time it was too fast so I had to slow it down!!
So to play a video, first you have to remove the audio from it like I described before. Then place the video on the internal flash of ChipworkX. In latest firmware this flash is accessible from windows, just like any external media so just drop the video there! I also put the libmpeg elf file right in the internal flash. This allwed me to update libmpeg library by simply changing elf file on the internal flash.

You can use this elf file in any project but to compile the elf file there are many things they you will need. I do not explain it because it is just too much work. I will clean up the project and make it compile easily with YAGARTO, like other RLP examples in SDK. This will happen when I have some free time...if I ever will!!!

So, if you have ever thought that .NET Micro Framework is slow or not real time then think again! With RLP extensions from GHI Electronics, you can now run time critical procedure VERY fast through native code. www.chipworkx.com

Here is the project with details and source code




0 comments:

Post a Comment