I do not know. It is the first time that I use this configuration: omx for encoding and decoding. The only thing that I know for sure is that the effect gets worse and worse if I increase the frequency of key frames.