Previously i tried with x264enc and repeatedly facing the same problem of
crashing at the same point.
After some googling i came to know for gstreamer-1.10.4 x264 can also be
used in place of above one but still the condition is same.
however the same programme is working fine on Rhel-6.5 with
Al Though, x264 is available on the path
/usr/lib64/lib/gstreamer-1.0/libgstx264.so and which is linked with