[Pidgin] #12923: No Videochat with Jabber

Pidgin trac at pidgin.im
Thu Jun 18 21:51:41 EDT 2015


#12923: No Videochat with Jabber
-------------------------------------+------------------------------
 Reporter:  Dogge                    |       Owner:  Maiku
     Type:  defect                   |      Status:  new
Milestone:                           |   Component:  Voice and Video
  Version:  2.7.5                    |  Resolution:
 Keywords:  jabber xmpp video fails  |
-------------------------------------+------------------------------

Comment (by drzraf):

 $ gst-launch-1.0 --gst-version

 {{{
 GStreamer Core Library version 1.4.4
 }}}

 $ gst-launch-0.10 --gst-version

 {{{
 GStreamer Core Library version 0.10.36
 }}}

 $ uvcdynctrl -f

 {{{
 Listing available frame formats for device video0:
 Pixel format: YUYV (YUV 4:2:2 (YUYV); MIME type: video/x-raw-yuv)
   Frame size: 640x480
     Frame rates: 30
   Frame size: 320x240
     Frame rates: 30
   Frame size: 176x144
     Frame rates: 30
   Frame size: 160x120
     Frame rates: 30
   Frame size: 352x288
     Frame rates: 30
 Pixel format: UYVY (YUV 4:2:2 (UYVY))
   Frame size: 640x480
     Frame rates: 30
   Frame size: 320x240
     Frame rates: 30
   Frame size: 176x144
     Frame rates: 30
   Frame size: 160x120
     Frame rates: 30
   Frame size: 352x288
     Frame rates: 30

 }}}

 Yes, using uvcvideo too.

 The GST_DEBUG='*:3' isn't enough.
 Let's try know with the highest debug level:

 A working gst-launch run:

 {{{
 GST_DEBUG_NO_COLOR=1 GST_DEBUG='*:5' gst-launch-0.10 -v v4l2src
 device=/dev/video0 \! xvimagesink 2>&1|sed -n
 '/gst_v4l2src_get_caps:/,/Set framerate/p'
 }}}

 outputs:

 {{{
 0:00:01.712928569 19242  0x9ddf400 INFO                 v4l2src
 gstv4l2src.c:612:gst_v4l2src_get_caps:<v4l2src0> probed caps: video/x-raw-
 yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)640,
 height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)352,
 height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)320,
 height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)176,
 height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)160,
 height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280,
 blue_mask=(int)255, endianness=(int)4321, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }
 0:00:01.714422891 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2263:gst_pad_get_caps_unlocked:<v4l2src0:src> pad getcaps
 returned video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640,
 height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
 endianness=(int)4321, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
 endianness=(int)4321, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
 endianness=(int)4321, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
 endianness=(int)4321, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
 endianness=(int)4321, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }
 0:00:01.715813568 19242  0x9ddf400 DEBUG        GST_PERFORMANCE
 gstcaps.c:380:gst_caps_make_writable: copy caps
 0:00:01.716192666 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:449:gst_v4l2src_negotiate:<v4l2src0> caps of src: video/x
 -raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)640,
 height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)352,
 height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)320,
 height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)176,
 height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)160,
 height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280,
 blue_mask=(int)255, endianness=(int)4321, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }
 0:00:01.717665478 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:450:gst_v4l2src_negotiate:<v4l2src0> thiscaps: video/x-raw-
 yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)UYVY,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)I420,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-yuv, format=(fourcc)YV12,
 width=(int)160, height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)640,
 height=(int)480, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)352,
 height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)320,
 height=(int)240, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)176,
 height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280,
 blue_mask=(int)16711680, endianness=(int)4321, width=(int)160,
 height=(int)120, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction){ 30/1 }; video/x-raw-rgb,
 bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280,
 blue_mask=(int)255, endianness=(int)4321, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)352, height=(int)288,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)176, height=(int)144,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
 red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255,
 endianness=(int)4321, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction){ 30/1 }
 0:00:01.719033738 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2439:gst_pad_peer_get_caps:<v4l2src0:src> get peer caps
 0:00:01.719079973 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2336:gst_pad_get_caps_reffed:<xvimagesink0:sink> get pad caps
 0:00:01.719155053 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2246:gst_pad_get_caps_unlocked:<xvimagesink0:sink> get pad caps
 0:00:01.719191859 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2250:gst_pad_get_caps_unlocked:<xvimagesink0:sink> dispatching to
 pad getcaps function
 0:00:01.719235719 19242  0x9ddf400 DEBUG               GST_CAPS
 gstpad.c:2263:gst_pad_get_caps_unlocked:<xvimagesink0:sink> pad getcaps
 returned video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2048 ],
 height=(int)[ 1, 2048 ], framerate=(fraction)[ 0/1, 2147483647/1 ];
 video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2048 ],
 height=(int)[ 1, 2048 ], framerate=(fraction)[ 0/1, 2147483647/1 ];
 video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2048 ],
 height=(int)[ 1, 2048 ], framerate=(fraction)[ 0/1, 2147483647/1 ];
 video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2048 ],
 height=(int)[ 1, 2048 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
 0:00:01.719422545 19242  0x9ddf400 DEBUG        GST_PERFORMANCE
 gstcaps.c:380:gst_caps_make_writable: copy caps
 0:00:01.719500278 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:458:gst_v4l2src_negotiate:<v4l2src0> caps of peer: video/x
 -raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2048 ], height=(int)[ 1,
 2048 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]
 0:00:01.719683053 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:459:gst_v4l2src_negotiate:<v4l2src0> peercaps: video/x-raw-
 yuv, format=(fourcc)YUY2, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)YV12, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)I420, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv,
 format=(fourcc)UYVY, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]
 0:00:01.719876723 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:469:gst_v4l2src_negotiate:<v4l2src0> peer: video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]
 0:00:01.719960742 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:470:gst_v4l2src_negotiate:<v4l2src0> ipcaps: video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ],
 framerate=(fraction)[ 0/1, 2147483647/1 ]
 0:00:01.720211402 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:482:gst_v4l2src_negotiate:<v4l2src0> intersect: video/x-raw-
 yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction)30/1; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction)30/1; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1
 0:00:01.720443485 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:483:gst_v4l2src_negotiate:<v4l2src0> icaps: video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)352, height=(int)288, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction)30/1; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1; video/x-raw-yuv, format=(fourcc)YUY2,
 width=(int)176, height=(int)144, interlaced=(boolean)false, pixel-aspect-
 ratio=(fraction)1/1, framerate=(fraction)30/1; video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)160, height=(int)120,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1
 0:00:01.720824748 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:538:gst_v4l2src_negotiate:<v4l2src0> fixated to: video/x-raw-
 yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1
 0:00:01.720924551 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:539:gst_v4l2src_negotiate:<v4l2src0> caps: video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)640, height=(int)480,
 interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1,
 framerate=(fraction)30/1
 0:00:01.721083580 19242  0x9ddf400 DEBUG                v4l2src
 gstv4l2src.c:651:gst_v4l2src_set_caps:<v4l2src0> trying to set_capture
 640x480 at 30/1 fps, format YUV 4:2:2 (YUYV)
 0:00:01.721134634 19242  0x9ddf400 DEBUG                   v4l2
 gstv4l2object.c:2118:gst_v4l2_object_set_format:<v4l2src0> progressive
 video
 0:00:01.721171650 19242  0x9ddf400 DEBUG                   v4l2
 gstv4l2object.c:2123:gst_v4l2_object_set_format:<v4l2src0> Setting format
 to 640x480, format YUYV
 0:00:01.721219491 19242  0x9ddf400 DEBUG                v4l2src
 v4l2src_calls.c:228:gst_v4l2src_set_capture:<v4l2src0> Desired framerate:
 30/1
 0:00:01.721276901 19242  0x9ddf400 LOG                  v4l2src
 v4l2src_calls.c:252:gst_v4l2src_set_capture:<v4l2src0> Setting framerate
 to 30/1
 0:00:01.721999550 19242  0x9ddf400 INFO                 v4l2src
 v4l2src_calls.c:278:gst_v4l2src_set_capture:<v4l2src0> Set framerate to
 30/1 and duration to 0:00:00.033333333
 }}}


 And then a non-working pidgin (only the interesting part up to the
 explicit failure to negociate the format)

 {{{
 GST_DEBUG_NO_COLOR=1 GST_DEBUG='*:5' pidgin -d 2>&1|sed -n
 '/gst_v4l2src_get_caps:/,/error: Could not negotiate format/p'
 }}}

 outputs 1272 lines (cf attachment)

--
Ticket URL: <https://developer.pidgin.im/ticket/12923#comment:7>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list