S4's rear and front cameras feature a Backside-Illuminated Sensor (BIS) for superior low-light sensitivity and support Full HD (1080p) video-recording at 30 frames per second (fps).
the nexus 4 offers an 8 megapixel rear camera with advanced camera features such as face-detection and photo sphere.