Below is the Pipeline i used in my Ubuntu 16.04 Dell laptop:
gst-launch-1.0 -e v4l2src device="/dev/video0" ! videoconvert ! queue ! x264enc tune=zerolatency