Perhaps here is the place to describe what was the reason for getting gstreamer with USB webcam working.
I wanted to create a robot that should be competitive in line following competitions.
This is the winner video from a line following competition in 2013:
https://www.youtube.com/watch?v=cvkveIf2o9g

The first race in that video (the winner) did finish with 3.1m/s on average!
I seem to have the motor speed side under control.
This is a very long thread on my Motor Test Station:
https://forum.arduino.cc/index.php?topic=331722.0
Starting slowly, with better motors I finally ended up with 17m/s or 61km/h radial speed!
Right click for details, the Lipos did drive for more than 5 minutes:
https://www.youtube.com/edit?video_id=5O_qYfm3O9A
From a previous version I know that 9.8m/s radial speed translated to 3.1m/s linear speed:
https://www.youtube.com/watch?v=w9oJbcUV9bU
My hope is that a similar factor applies to the 17m/s motors.
OK, now why I do want to bring a camera into play?
Because the two or more photo resistors used by others do locate the black line only just before the robot.
A camera picture will show the situation before the robot as well as further away.
This will provide information on the "present" as well as the "near future".
This is artificial setup to test out the idea (right click for details):

The camera is fixated by a soldering "third hand".
In the background you see my current robot
Arduebot based on Arduino Due.
In front you see 2 Mosfet motor controllers which can be controlled by 3.3V logic (Arduino Due or Pi Zero).
And this is the 240x320 webcam view demonstrating what I described:

Turning the camera gives a bit more of the future, 240 width should be enough for following the line.
There is a lot to do
- reduce webcam color picture to black&white for line extraction with some gstreamer plugins
- (saturation=0.0 reduces frame to greyscale and not black&white)
- perhaps writing my own gstreamer plugin to deliver functionality not yet available
- effect of high speed vibrations on camera picture
- is 5m/s (or less) with 30fps or a picture each 1.7cm (or less) good enough for high speed robot control
- will infrared light sent out to front help the camera pictures
- is a PID controller the right choice for control
- ...
My interest and work with Pi Zero started with this Arduino forum thread:
"Raspberry Pi Zero as horse power coprocessor for Due?"
http://forum.arduino.cc/index.php?topic ... msg2841082
Given that Pi Zero can do the motor contol via the Mosfet modules alone it is currently not clear whether an Arduino Due in addition to Pi Zero is needed for my project ...
Hermann.