IP Camera Jetson tk1

I have been trying to run the same opencv application on tk1, which was working fin on other systems.

But at tk1 it hardly captures any frame from IP camera. Almost all the video is distorted.

and the console displays messages:

[h264 @ 0xxxxx] cabac decode of qscale diff failed at 0 29
[h264 @ 0xxxxx] error while decoding MB 0 29, bytestream (-1)
[h264 @ 0xxxxx] left block unavailable for requested intra mode at 0 19

These numbers 0, 29, 19 etc are different over time in the constantly popping warnings.

Any help will be highly appreciated.