Improve default resolution for a Logitech C920 webcam?

Christian Kreibich christian at whoop.org
Sat Mar 1 12:20:11 PST 2014


On 02/28/2014 01:47 AM, Stefan Sauer wrote:
> Can you run
> GST_DEBUG="v4l2*:4" gst-launch-1.0 v4l2src num-buffers=1 ! autovideosink
> and post the log.

Here you go Stefan -- attached.

Thanks!
-C.
-------------- next part --------------
Setting pipeline to PAUSED ...
0:00:00.032727765  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'brightness'
0:00:00.032807524  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'contrast'
0:00:00.032833155  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'saturation'
0:00:00.032859555  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_temperature__auto'
0:00:00.032888260  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gain'
0:00:00.032919060  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'power_line_frequency'
0:00:00.032941758  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_temperature'
0:00:00.032966692  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'sharpness'
0:00:00.032989251  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'backlight_compensation'
0:00:00.033013136  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure__auto'
0:00:00.033035416  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure__absolute_'
0:00:00.033064051  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure__auto_priority'
0:00:00.033086051  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'pan__absolute_'
0:00:00.033109168  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'tilt__absolute_'
0:00:00.033131378  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'focus__absolute_'
0:00:00.033154565  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'focus__auto'
0:00:00.033176565  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:324:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'zoom__absolute'
0:00:00.033199473  1200      0x1dac300 INFO                    v4l2 v4l2_calls.c:545:gst_v4l2_open:<v4l2src0> Opened device 'HD Pro Webcam C920' (/dev/video0) successfully
Pipeline is live and does not need PREROLL ...
0:00:00.033701492  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1247:gst_v4l2_object_fill_format_list:<v4l2src0> got 7 format(s):
0:00:00.033755060  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YUYV
0:00:00.033781251  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   MJPG
0:00:00.033803949  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YU12 (emulated)
Setting pipeline to PLAYING ...
0:00:00.033854724  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   BGR3 (emulated)
0:00:00.033874140  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   RGB3 (emulated)
0:00:00.033891041  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   H264
New clock: GstSystemClock
0:00:00.035280813  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:2727:gst_v4l2_object_get_caps:<v4l2src0> probed caps: video/x-raw, format=(string)YUY2, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YUY2, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YUY2, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; image/jpeg, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)I420, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)YV12, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)BGR, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-raw, format=(string)RGB, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)960, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)1024, height=(int)576, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)864, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)800, height=(int)448, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)320, height=(int)180, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }; video/x-h264, width=(int)160, height=(int)90, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 24/1, 20/1, 15/1, 10/1, 15/2, 5/1 }
0:00:00.041907214  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:2478:gst_v4l2_object_set_format:<v4l2src0> Set framerate to 15/1
0:00:00.041945348  1200      0x1dd4940 INFO                    v4l2 gstv4l2object.c:2290:gst_v4l2_object_setup_pool:<v4l2src0> accessing buffers via mode 2
0:00:00.368016491  1200      0x1dd4940 INFO                 v4l2src gstv4l2src.c:809:gst_v4l2src_fill:<v4l2src0> sync to 0:00:00.066666666 out ts 0:00:00.235893609
Got EOS from element "pipeline0".
Execution ended after 0:00:00.369318333
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


More information about the gstreamer-devel mailing list