I'm looking for a way to convert mpeg2 to h264 using the RPi GPU. Despite lots of searching, I haven't found any programs that do this in hardware. The OpenMAX examples have a video decode example and the video encode example -- has anyone looked at "hooking" those together? Finding good OpenMAX docs has also been a challenge, but I'm wondering if I could create a tunnel from the video_decode component to the video_encode component? I'm a programmer, but haven't worked much with C or audio/video. Any pointers to existing work, examples, documentation, information, etc will be much appreciated.