optimize frame copy

TODO: use sse(lavf, vlc...)
http://software.intel.com/en-us/articles/copying-accelerated-video-