With help from a lot of sources I have this working and in keeping with the lgpl license in the next few weeks will post some sample code.
Building ffplay from the ffmpeg4iphone site will not produce good video, I have updated my bug report there. The assumption was sdl was the problem, but if you recompile using the gas-processor scipts the issue goes away.
Also
The demo player on this site is a good start for beginners, unfortunately it uses there own openframeworks framework, there are projects in the appstore that use this but there is an additional learning curve.
openframeworks.cc • View topic - ofVideoPlayer on iphone??
Works with very little changes.
Download the 006 openframework for the iphone
download the videoplayer sample and put that in the apps/examples folder (that will insue search headers are correct)
build the xcode project.
On the simulator avi, mpg and mp4 look really good. No sound in this demo
On the device the video looks a bit washed out and breaks up occassionally, otherwise is quite clear. I didn't play with this long I suspect tweaking the synch coding and adding some arm optimizations will probably correct this issue.
Looking back, If I knew what I do now. This would of been an easier task.
Under the terms of the lgpl I will have to publish these ffmpeg mods anyway, also you need to be aware of any additional license issues with certain codecs.