Thanks, it looks like this pipeline is correct for C920 h.264 output but, it needs:
gst-launch-0.10 -v uvch264_src device=/dev/video0 name=src mode=2 auto-start=true src.vfsrc !
queue ! 'video/x-raw-yuv,width=320,height=240' ! fakesink . src.vidsrc ! queue !
'video/x-h264,width=640,height=480' ! rtph264pay ! udpsink host=192.168.1.15 port=9000
Using Video4Linux2 v4l2-ctl will allow controling the cameras settings: In Flight, without effecting the stream!!!
- brightness (int) : min=0 max=255 step=1 default=128 value=128
- contrast (int) : min=0 max=255 step=1 default=128 value=128
- saturation (int) : min=0 max=255 step=1 default=128 value=128
- white_balance_temperature_auto (bool) : default=1 value=1 - gain (int) : min=0 max=255 step=1 default=0 value=0
- power_line_frequency (menu) : min=0 max=2 default=2 value=2
- white_balance_temperature (int) : min=2000 max=6500 step=1 default=4000 value=4000
- sharpness (int) : min=0 max=255 step=1 default=128 value=128
- backlight_compensation (int) : min=0 max=1 step=1 default=0 value=0
- exposure_auto (menu) : min=0 max=3 default=3 value=3 (0: Auto Mode 1: Manual Mode 2: Shutter Priority Mode 3: Aperture Priority Mode)
- exposure_absolute (int) : min=3 max=2047 step=1 default=250 value=250 - exposure_auto_priority (bool) : default=0 value=1 - focus_absolute (int) : min=0 max=250 step=5 default=0 value=0 - focus_auto (bool) : default=1 value=1
- zoom_absolute (int) : min=100 max=500 step=1 default=100 value=100
I could see a binary for this setup being really popular ;P
I just found this in the GST Git repository:
uvch264src: don't error out on incomplete aux data segment0.10
It appears that the Logitech C920 sometimes drops the next to last segment of RAW aux data contained within the MJPEG container. H264 data that is multiplexed with in the same container does not appear to be affected. This appears to be a bug in the Logitech C920 firmware and uvch264src should not error out in this case. Sometimes it can take 24 hours of continuous streaming for the problem to occur, but sometimes it takes only a couple of hours. https://bugzilla.gnome.org/show_bug.cgi?id=706276