Camerabin - how to specify size of image for capture

Ian Davidson id012c3076 at blueyonder.co.uk
Wed Jan 29 02:47:34 PST 2014


I commented out the unref, but the program fails with an "not 
negotiated" error.  I ran the program with --gst-debug=9 and picked out 
this section of the resulting trace.

I have a whole lot more of the trace if you can suggest what I might 
want to look at.

I have tried setting video-capture-caps, viewfinder-caps and 
preview-caps to the same values as image-capture-caps - but it did not 
seem to make any difference.

0:01:20.035570850  2648       0xe30320 DEBUG             capsfilter 
gstcapsfilter.c:220:gst_capsfilter_transform_caps:<zoom-capsfilter> 
input:     video/x-raw, format=(string)YUY2, width=(int)800, 
height=(int)600, framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, 
format=(string)YV12, width=(int)800, height=(int)600, 
framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, 
format=(string)I420, width=(int)800, height=(int)600, 
framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, 
format=(string)UYVY, width=(int)800, height=(int)600, 
framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, width=(int)800, 
height=(int)600, framerate=(fraction)[ 0/1, 2147483647/1 ], 
format=(string){ I420, YV12, YUY2, UYVY, RGBx, BGRx, xRGB, xBGR, RGB, 
BGR, Y41B, Y42B, YVYU, Y444, GRAY8 }; video/x-raw, width=(int)800, 
height=(int)600, framerate=(fraction)[ 0/1, 2147483647/1 ], 
format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, 
RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, GRAY8, 
GRAY16_BE, GRAY16_LE, v308, RGB16, RGB15, ARGB64, AYUV64 }; video/x-raw, 
width=(int)800, height=(int)600, framerate=(fraction)[ 0/1, 2147483647/1 
], format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, 
xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, 
v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, 
RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, 
I420_10LE, I420_10BE, I422_10LE, I422_10BE }
0:01:20.064991803  2648       0xe30320 DEBUG             capsfilter 
gstcapsfilter.c:221:gst_capsfilter_transform_caps:<zoom-capsfilter> 
filter:    (NULL)
0:01:20.065004220  2648       0xe30320 DEBUG             capsfilter 
gstcapsfilter.c:223:gst_capsfilter_transform_caps:<zoom-capsfilter> caps 
filter:    video/x-raw, format=(string)YUY2, framerate=(fraction)25/1, 
width=(int)[ 48, 924 ], height=(int)[ 32, 576 ], 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)UYVY, framerate=(fraction)25/1, width=(int)[ 
48, 924 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)Y42B, 
framerate=(fraction)25/1, width=(int)[ 48, 924 ], height=(int)[ 32, 576 
], interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)I420, framerate=(fraction)25/1, width=(int)[ 
48, 920 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)YV12, 
framerate=(fraction)25/1, width=(int)[ 48, 920 ], height=(int)[ 32, 576 
], interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)Y41B, framerate=(fraction)25/1, width=(int)[ 
48, 924 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)YVU9, 
framerate=(fraction)25/1, width=(int)[ 48, 924 ], height=(int)[ 32, 576 
], interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)YUV9, framerate=(fraction)25/1, width=(int)[ 
48, 924 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)RGBx, 
framerate=(fraction)25/1, width=(int)[ 48, 924 ], height=(int)[ 32, 576 
], interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)BGRx, framerate=(fraction)25/1, width=(int)[ 
48, 924 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)BGR, 
framerate=(fraction)25/1, width=(int)[ 48, 920 ], height=(int)[ 32, 576 
], interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)RGB16, framerate=(fraction)25/1, 
width=(int)[ 48, 924 ], height=(int)[ 32, 576 ], 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)RGB15, framerate=(fraction)25/1, 
width=(int)[ 48, 924 ], height=(int)[ 32, 576 ], 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)GRAY8, framerate=(fraction)25/1, 
width=(int)[ 48, 924 ], height=(int)[ 32, 576 ], 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1; 
video/x-raw, format=(string)RGB, framerate=(fraction)25/1, width=(int)[ 
48, 920 ], height=(int)[ 32, 576 ], interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1; video/x-raw, framerate=(fraction)25/1, 
width=(int)[ 48, 924 ], height=(int)[ 32, 576 ], 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1, 
format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, 
RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, 
NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, 
BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, 
I420_10LE, I420_10BE, I422_10LE, I422_10BE }
0:01:20.065166894  2648       0xe30320 DEBUG             capsfilter 
gstcapsfilter.c:224:gst_capsfilter_transform_caps:<zoom-capsfilter> 
intersect: EMPTY
0:01:20.065179278  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400d050 unref 2->1
0:01:20.065194207  2648       0xe30320 LOG            basetransform 
gstbasetransform.c:520:gst_base_transform_transform_caps:<zoom-capsfilter> 
to: EMPTY
0:01:20.065206903  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:543:gst_base_transform_transform_caps:<zoom-capsfilter> 
to: EMPTY
0:01:20.065219188  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:715:gst_base_transform_query_caps:<zoom-capsfilter:sink> 
transformed  EMPTY
0:01:20.065230302  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400d0f0 unref 2->1
0:01:20.065244139  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:722:gst_base_transform_query_caps:<zoom-capsfilter:sink> 
our template  ANY
0:01:20.065255603  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 1->2
0:01:20.065269120  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:725:gst_base_transform_query_caps:<zoom-capsfilter:sink> 
intersected EMPTY
0:01:20.065280118  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec0002b20 unref 1->0
0:01:20.065293010  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:180:_gst_caps_free: freeing caps 0x7f3ec0002b20
0:01:20.065305818  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:749:gst_base_transform_query_caps:<zoom-capsfilter> 
returning  EMPTY
0:01:20.065328648  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400d0f0 unref 1->0
0:01:20.065344040  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec400d740
0:01:20.065356033  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001cc0
0:01:20.065367394  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0xe35c00
0:01:20.065378370  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001d60
0:01:20.065391037  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec400d440
0:01:20.065404898  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001f80
0:01:20.065419745  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec400d880
0:01:20.065430601  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:180:_gst_caps_free: freeing caps 0x7f3ec400d0f0
0:01:20.065442152  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xd638f0 unref 3->2
0:01:20.065454656  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xd638a0 unref 3->2
0:01:20.065467452  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.065480621  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.065494517  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-capsfilter> 0xd73910 unref 2->1
0:01:20.065508354  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:3424:gst_pad_query:<zoom-capsfilter:sink> sent query 
0x7f3ec400d1e0 (caps), result 1
0:01:20.095073144  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-capsfilter:sink> 0xe2ee30 unref 2->1
0:01:20.095087194  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095098351  2648       0xe30320 DEBUG               GST_CAPS 
gstutils.c:2815:gst_pad_peer_query_caps:<zoom-scale:src> peer query 
returned EMPTY
0:01:20.095108187  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400d1e0 unref 1->0
0:01:20.095118209  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.095128752  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001c40
0:01:20.095138321  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:702:gst_base_transform_query_caps:<zoom-scale:sink> 
peer caps  EMPTY
0:01:20.095147336  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:705:gst_base_transform_query_caps:<zoom-scale:sink> 
our template  video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, 
AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, 
Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, RGB15, 
ARGB64, AYUV64, NV12 }, width=(int)[ 1, 32767 ], height=(int)[ 1, 32767 
], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:01:20.095175316  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095186091  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:707:gst_base_transform_query_caps:<zoom-scale:sink> 
intersected EMPTY
0:01:20.095195487  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:516:gst_base_transform_transform_caps:<zoom-scale> 
transform caps (direction = 1)
0:01:20.095204211  2648       0xe30320 LOG            basetransform 
gstbasetransform.c:518:gst_base_transform_transform_caps:<zoom-scale> 
from: EMPTY
0:01:20.095213722  2648       0xe30320 DEBUG             videoscale 
gstvideoscale.c:446:gst_video_scale_transform_caps:<zoom-scale> 
Transforming caps EMPTY in direction src
0:01:20.095223194  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 3->4
0:01:20.095233171  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:220:gst_caps_new_empty: created caps 0x7f3ec400d320
0:01:20.095242183  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 4->3
0:01:20.095252188  2648       0xe30320 DEBUG             videoscale 
gstvideoscale.c:494:gst_video_scale_transform_caps:<zoom-scale> 
returning caps: EMPTY
0:01:20.095261197  2648       0xe30320 LOG            basetransform 
gstbasetransform.c:520:gst_base_transform_transform_caps:<zoom-scale> 
to: EMPTY
0:01:20.095270034  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:543:gst_base_transform_transform_caps:<zoom-scale> 
to: EMPTY
0:01:20.095278835  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:715:gst_base_transform_query_caps:<zoom-scale:sink> 
transformed  EMPTY
0:01:20.095287183  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.095297223  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:722:gst_base_transform_query_caps:<zoom-scale:sink> 
our template  video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, 
AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, 
Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, RGB15, 
ARGB64, AYUV64, NV12 }, width=(int)[ 1, 32767 ], height=(int)[ 1, 32767 
], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:01:20.095321428  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095332116  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:725:gst_base_transform_query_caps:<zoom-scale:sink> 
intersected EMPTY
0:01:20.095340655  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400d320 unref 1->0
0:01:20.095350164  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:180:_gst_caps_free: freeing caps 0x7f3ec400d320
0:01:20.095359681  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 3->4
0:01:20.095369111  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 4->3
0:01:20.095379161  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:749:gst_base_transform_query_caps:<zoom-scale> 
returning  EMPTY
0:01:20.095397377  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.095407568  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xdad230 unref 6->5
0:01:20.095416631  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xdad230 unref 5->4
0:01:20.095425950  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095435813  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.095445905  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-scale> 0xe34dd0 unref 2->1
0:01:20.095456123  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:3424:gst_pad_query:<zoom-scale:sink> sent query 0xe30190 
(caps), result 1
0:01:20.095467054  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-scale:sink> 0xe2e9d0 unref 2->1
0:01:20.095476974  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095487412  2648       0xe30320 DEBUG               GST_CAPS 
gstutils.c:2815:gst_pad_peer_query_caps:<zoom-crop:src> peer query 
returned EMPTY
0:01:20.095496490  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xe30190 unref 1->0
0:01:20.095506070  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.095515530  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0xe62720
0:01:20.095524705  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:702:gst_base_transform_query_caps:<zoom-crop:sink> 
peer caps  EMPTY
0:01:20.095533756  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:705:gst_base_transform_query_caps:<zoom-crop:sink> 
our template  video/x-raw, format=(string){ RGBx, xRGB, BGRx, xBGR, 
RGBA, ARGB, BGRA, ABGR, RGB, BGR, AYUV, YUY2, YVYU, UYVY, I420, RGB16, 
RGB15, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 
2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:01:20.095556231  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.095566891  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:707:gst_base_transform_query_caps:<zoom-crop:sink> 
intersected EMPTY
0:01:20.095576336  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:516:gst_base_transform_transform_caps:<zoom-crop> 
transform caps (direction = 1)
0:01:20.095584948  2648       0xe30320 LOG            basetransform 
gstbasetransform.c:518:gst_base_transform_transform_caps:<zoom-crop> 
from: EMPTY
0:01:20.095594935  2648       0xe30320 LOG                videocrop 
gstvideocrop.c:466:gst_video_crop_transform_caps:<zoom-crop> l=0,r=0,b=0,t=0
0:01:20.095604287  2648       0xe30320 LOG                videocrop 
gstvideocrop.c:477:gst_video_crop_transform_caps:<zoom-crop> 
transforming caps EMPTY
0:01:20.125687599  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:220:gst_caps_new_empty: created caps 0x7f3ec4003190
0:01:20.125706516  2648       0xe30320 LOG            basetransform 
gstbasetransform.c:520:gst_base_transform_transform_caps:<zoom-crop> to: 
EMPTY
0:01:20.125719872  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:543:gst_base_transform_transform_caps:<zoom-crop> to: 
EMPTY
0:01:20.125732000  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:715:gst_base_transform_query_caps:<zoom-crop:sink> 
transformed  EMPTY
0:01:20.125743274  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.125756882  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:722:gst_base_transform_query_caps:<zoom-crop:sink> 
our template  video/x-raw, format=(string){ RGBx, xRGB, BGRx, xBGR, 
RGBA, ARGB, BGRA, ABGR, RGB, BGR, AYUV, YUY2, YVYU, UYVY, I420, RGB16, 
RGB15, GRAY8 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 
2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:01:20.125788718  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.125803115  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:725:gst_base_transform_query_caps:<zoom-crop:sink> 
intersected EMPTY
0:01:20.125814190  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4003190 unref 1->0
0:01:20.125826721  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:180:_gst_caps_free: freeing caps 0x7f3ec4003190
0:01:20.125838149  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 3->4
0:01:20.125850821  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 4->3
0:01:20.125864149  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:749:gst_base_transform_query_caps:<zoom-crop> 
returning  EMPTY
0:01:20.125875249  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.125887416  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xe11a80 unref 3->2
0:01:20.125899373  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xe30400 unref 3->2
0:01:20.125911964  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.125925440  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.125939066  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-crop> 0xe345b0 unref 3->2
0:01:20.125952921  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:3424:gst_pad_query:<zoom-crop:sink> sent query 0x7f3ec4003720 
(caps), result 1
0:01:20.125966722  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0xb696d0 ref 2->3
0:01:20.125980360  2648       0xe30320 DEBUG               GST_CAPS 
gstutils.c:2769:gst_pad_query_caps:<zoom-crop:sink> query returned EMPTY
0:01:20.125992407  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4003720 unref 1->0
0:01:20.126004917  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 3->2
0:01:20.126017562  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001c20
0:01:20.126036883  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:1249:gst_base_transform_acceptcaps_default:<zoom-crop> allowed 
caps EMPTY
0:01:20.126048969  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0xb696d0 unref 2->1
0:01:20.126062447  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:1286:gst_base_transform_acceptcaps_default:<zoom-crop> transform 
could not transform video/x-raw, format=(string)YUY2, 
framerate=(fraction)25/1, width=(int)320, height=(int)200, 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1 in 
anything we support
0:01:20.126089537  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-crop> 0xe345b0 unref 2->1
0:01:20.126117854  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:3424:gst_pad_query:<zoom-crop:sink> sent query 0x7f3ec4003140 
(accept-caps), result 1
0:01:20.126134771  2648       0xe30320 DEBUG                default 
gstutils.c:2850:gst_pad_query_accept_caps:<zoom-crop:sink> query returned 0
0:01:20.126145895  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4003140 unref 1->0
0:01:20.126158694  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4003680 unref 2->1
0:01:20.126171625  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4002080
0:01:20.126183841  2648       0xe30320 DEBUG          basetransform 
gstbasetransform.c:1203:gst_base_transform_find_transform:<src-capsfilter> 
FAILED to get peer of <src-capsfilter:src> to accept video/x-raw, 
format=(string)YUY2, framerate=(fraction)25/1, width=(int)320, 
height=(int)200, interlace-mode=(string)mixed, 
pixel-aspect-ratio=(fraction)1/1
0:01:20.126210223  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<zoom-crop:sink> 0xe2e570 unref 2->1
0:01:20.126223242  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4003680 unref 1->0
0:01:20.126236937  2648       0xe30320 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001a60
0:01:20.126248163  2648       0xe30320 TRACE               GST_CAPS 
gstcaps.c:180:_gst_caps_free: freeing caps 0x7f3ec4003680
0:01:20.126260568  2648       0xe30320 WARN           basetransform 
gstbasetransform.c:1348:gst_base_transform_setcaps:<src-capsfilter> 
transform could not transform video/x-raw, format=(string)YUY2, 
framerate=(fraction)25/1, width=(int)320, height=(int)200, 
interlace-mode=(string)mixed, pixel-aspect-ratio=(fraction)1/1 in 
anything we support
0:01:20.126284512  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec0002ad0 unref 5->4
0:01:20.126297677  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec400f190 unref 1->0
0:01:20.126310118  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstminiobject.c:360:gst_mini_object_ref: 0x7f3ec400f190 ref 0->1
0:01:20.126322632  2648       0xe30320 LOG               GST_BUFFER 
gstbuffer.c:492:_gst_buffer_dispose: release 0x7f3ec400f190 to pool 
0x7f3ec4006100
0:01:20.126346362  2648       0xe30320 DEBUG                   v4l2 
gstv4l2bufferpool.c:823:gst_v4l2_buffer_pool_release_buffer:<v4l2bufferpool0> 
release buffer 0x7f3ec400f190
0:01:20.126360201  2648       0xe30320 LOG                     v4l2 
gstv4l2bufferpool.c:571:gst_v4l2_buffer_pool_qbuf:<v4l2bufferpool0> 
enqueue buffer 0x7f3ec400f190, index:1, queued:3, flags:00002000
0:01:20.126373295  2648       0xe30320 LOG                     v4l2 
gstv4l2bufferpool.c:576:gst_v4l2_buffer_pool_qbuf:<v4l2bufferpool0> 
doing QBUF
0:01:20.126399383  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<v4l2bufferpool0> 0x7f3ec4006100 unref 3->2
0:01:20.126416502  2648       0xe30320 WARN           basetransform 
gstbasetransform.c:2090:gst_base_transform_handle_buffer:<src-capsfilter> warning: 
not negotiated
0:01:20.126428663  2648       0xe30320 WARN           basetransform 
gstbasetransform.c:2090:gst_base_transform_handle_buffer:<src-capsfilter> warning: 
not negotiated
0:01:20.155810156  2648       0xe30320 DEBUG            GST_MESSAGE 
gstelement.c:1797:gst_element_message_full:<src-capsfilter> start
0:01:20.155828661  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<src-capsfilter> 0xd735f0 ref 1->2
0:01:20.155844592  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<camerasrc> 0xdf61f0 ref 5->6
0:01:20.155858829  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<cambin1> 0xd66010 ref 2->3
0:01:20.155873131  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<camera> 0xa442d0 ref 1->2
0:01:20.155889167  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<camera> 0xa442d0 unref 2->1
0:01:20.155906331  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<cambin1> 0xd66010 unref 3->2
0:01:20.155922333  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<camerasrc> 0xdf61f0 unref 6->5
0:01:20.155938784  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<src-capsfilter> 0xd735f0 unref 2->1
0:01:20.155956753  2648       0xe30320 INFO        GST_ERROR_SYSTEM 
gstelement.c:1828:gst_element_message_full:<src-capsfilter> posting 
message: not negotiated
0:01:20.155970647  2648       0xe30320 TRACE              structure 
gststructure.c:148:gst_structure_new_id_empty_with_size: created 
structure 0x7f3ec4001c40
0:01:20.155985868  2648       0xe30320 LOG              GST_MESSAGE 
gstmessage.c:282:gst_message_new_custom: source src-capsfilter: creating 
new message 0x7f3ec4002810 warning
0:01:20.156001464  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<src-capsfilter> 0xd735f0 ref 1->2
0:01:20.156016335  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<bus7> 0xd6a090 ref 9->10
0:01:20.156038249  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:316:gst_bus_post:<bus7> [msg 0x7f3ec4002810] posting on bus 
warning message from element 'src-capsfilter': GstMessageWarning, 
gerror=(GError)NULL, debug=(string)"gstbasetransform.c\(2090\):\ 
gst_base_transform_handle_buffer\ \(\):\ 
/GstPipeline:camera/GstCameraBin:cambin1/GstWrapperCameraBinSrc:camerasrc/GstCapsFilter:src-capsfilter:\012not\ 
negotiated";
0:01:20.156073066  2648       0xe30320 DEBUG                    bin 
gstbin.c:3270:gst_bin_handle_message_func:<camerasrc> [msg 
0x7f3ec4002810] handling child src-capsfilter message of type warning
0:01:20.156087709  2648       0xe30320 DEBUG                    bin 
gstbin.c:3563:gst_bin_handle_message_func:<camerasrc> posting message upward
0:01:20.156099975  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<bus2> 0xcf2330 ref 14->15
0:01:20.156113875  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:316:gst_bus_post:<bus2> [msg 0x7f3ec4002810] posting on bus 
warning message from element 'src-capsfilter': GstMessageWarning, 
gerror=(GError)NULL, debug=(string)"gstbasetransform.c\(2090\):\ 
gst_base_transform_handle_buffer\ \(\):\ 
/GstPipeline:camera/GstCameraBin:cambin1/GstWrapperCameraBinSrc:camerasrc/GstCapsFilter:src-capsfilter:\012not\ 
negotiated";
0:01:20.156144545  2648       0xe30320 DEBUG                    bin 
gstbin.c:3270:gst_bin_handle_message_func:<cambin1> [msg 0x7f3ec4002810] 
handling child src-capsfilter message of type warning
0:01:20.156158041  2648       0xe30320 DEBUG                    bin 
gstbin.c:3563:gst_bin_handle_message_func:<cambin1> posting message upward
0:01:20.156169818  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<bus0> 0xcf2170 ref 2->3
0:01:20.156183636  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:316:gst_bus_post:<bus0> [msg 0x7f3ec4002810] posting on bus 
warning message from element 'src-capsfilter': GstMessageWarning, 
gerror=(GError)NULL, debug=(string)"gstbasetransform.c\(2090\):\ 
gst_base_transform_handle_buffer\ \(\):\ 
/GstPipeline:camera/GstCameraBin:cambin1/GstWrapperCameraBinSrc:camerasrc/GstCapsFilter:src-capsfilter:\012not\ 
negotiated";
0:01:20.156210140  2648       0xe30320 DEBUG                    bin 
gstbin.c:3270:gst_bin_handle_message_func:<camera> [msg 0x7f3ec4002810] 
handling child src-capsfilter message of type warning
0:01:20.156222969  2648       0xe30320 DEBUG                    bin 
gstbin.c:3563:gst_bin_handle_message_func:<camera> posting message upward
0:01:20.156234772  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:247:gst_object_ref:<bus1> 0xcf2250 ref 3->4
0:01:20.156248260  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:316:gst_bus_post:<bus1> [msg 0x7f3ec4002810] posting on bus 
warning message from element 'src-capsfilter': GstMessageWarning, 
gerror=(GError)NULL, debug=(string)"gstbasetransform.c\(2090\):\ 
gst_base_transform_handle_buffer\ \(\):\ 
/GstPipeline:camera/GstCameraBin:cambin1/GstWrapperCameraBinSrc:camerasrc/GstCapsFilter:src-capsfilter:\012not\ 
negotiated";
0:01:20.156290796  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:351:gst_bus_post:<bus1> [msg 0x7f3ec4002810] pushing on async queue
0:01:20.156305156  2648       0xe30320 LOG                 GST_POLL 
gstpoll.c:186:raise_wakeup: 0xd56d40: raise
0:01:20.156333723  2648       0xa56ec0 LOG                  GST_BUS 
gstbus.c:502:gst_bus_timed_pop_filtered:<bus1> have 1 messages
0:01:20.156347989  2648       0xa56ec0 LOG                 GST_POLL 
gstpoll.c:201:release_wakeup: 0xd56d40: release
0:01:20.156362527  2648       0xa56ec0 DEBUG                GST_BUS 
gstbus.c:510:gst_bus_timed_pop_filtered:<bus1> got message 
0x7f3ec4002810, warning from src-capsfilter, type mask is 4294967295
0:01:20.156377191  2648       0xa56ec0 DEBUG                GST_BUS 
gstbus.c:771:gst_bus_source_dispatch:<bus1> source 0xd79960 calling 
dispatch with warning message from element 'src-capsfilter': 
GstMessageWarning, gerror=(GError)NULL, 
debug=(string)"gstbasetransform.c\(2090\):\ 
gst_base_transform_handle_buffer\ \(\):\ 
/GstPipeline:camera/GstCameraBin:cambin1/GstWrapperCameraBinSrc:camerasrc/GstCapsFilter:src-capsfilter:\012not\ 
negotiated";
0:01:20.156405827  2648       0xa56ec0 TRACE        GST_REFCOUNTING 
gstminiobject.c:440:gst_mini_object_unref: 0x7f3ec4002810 unref 1->0
0:01:20.156419369  2648       0xa56ec0 LOG              GST_MESSAGE 
gstmessage.c:184:_gst_message_free: finalize message 0x7f3ec4002810, 
warning from src-capsfilter
0:01:20.156433461  2648       0xa56ec0 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<src-capsfilter> 0xd735f0 unref 2->1
0:01:20.156447232  2648       0xa56ec0 TRACE              structure 
gststructure.c:386:gst_structure_free: free structure 0x7f3ec4001c40
0:01:20.156459393  2648       0xa56ec0 DEBUG                GST_BUS 
gstbus.c:776:gst_bus_source_dispatch:<bus1> source 0xd79960 handler 
returns 1
0:01:20.156492703  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:354:gst_bus_post:<bus1> [msg 0x7f3ec4002810] pushed on async queue
0:01:20.156506850  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<bus1> 0xcf2250 unref 4->3
0:01:20.156520620  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:347:gst_bus_post:<bus0> [msg 0x7f3ec4002810] dropped
0:01:20.156533146  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<bus0> 0xcf2170 unref 3->2
0:01:20.156546751  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:347:gst_bus_post:<bus2> [msg 0x7f3ec4002810] dropped
0:01:20.156558903  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<bus2> 0xcf2330 unref 15->14
0:01:20.156572298  2648       0xe30320 DEBUG                GST_BUS 
gstbus.c:347:gst_bus_post:<bus7> [msg 0x7f3ec4002810] dropped
0:01:20.156584495  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<bus7> 0xd6a090 unref 10->9
0:01:20.156597862  2648       0xe30320 INFO        GST_ERROR_SYSTEM 
gstelement.c:1851:gst_element_message_full:<src-capsfilter> posted 
warning message: not negotiated
0:01:20.156614175  2648       0xe30320 LOG           GST_SCHEDULING 
gstpad.c:3659:gst_pad_chain_data_unchecked:<src-capsfilter:sink> called 
chainfunction &gst_base_transform_chain with buffer 0x7f3ec400f190, 
returned not-negotiated
0:01:20.186711542  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<src-capsfilter:sink> 0xe2e110 unref 2->1
0:01:20.186726230  2648       0xe30320 LOG           GST_SCHEDULING 
gstpad.c:3659:gst_pad_chain_data_unchecked:<src-videoconvert:sink> 
called chainfunction &gst_base_transform_chain with buffer 
0x7f3ec400f190, returned not-negotiated
0:01:20.186737820  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<src-videoconvert:sink> 0xdfba40 unref 2->1
0:01:20.186749121  2648       0xe30320 LOG           GST_SCHEDULING 
gstpad.c:3128:do_probe_callbacks:<camerasrc-real-src:src> do probes 
cookie 69
0:01:20.186759038  2648       0xe30320 LOG           GST_SCHEDULING 
gstpad.c:3072:probe_hook_marshal:<camerasrc-real-src:src> hook 1, cookie 
69 with flags 0x00003040 does not match 00001001
0:01:20.186770228  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<camerasrc-real-src:src> 0xd6da30 unref 
2->1
0:01:20.186781541  2648       0xe30320 LOG           GST_SCHEDULING 
gstpad.c:3659:gst_pad_chain_data_unchecked:<src:proxypad11> called 
chainfunction &gst_proxy_pad_chain_default with buffer 0x7f3ec400f190, 
returned not-negotiated
0:01:20.186794000  2648       0xe30320 TRACE        GST_REFCOUNTING 
gstobject.c:273:gst_object_unref:<src:proxypad11> 0xd6f8e0 unref 2->1
0:01:20.186805686  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:1386:gst_pad_needs_reconfigure:<camerasrc-real-src-actual-src-v4l:src> 
peeking RECONFIGURE flag 0
0:01:20.186816941  2648       0xe30320 DEBUG                basesrc 
gstbasesrc.c:2757:gst_base_src_loop:<camerasrc-real-src-actual-src-v4l> 
Not negotiated
0:01:20.186826128  2648       0xe30320 DEBUG                basesrc 
gstbasesrc.c:2773:gst_base_src_loop:<camerasrc-real-src-actual-src-v4l> 
pausing task, reason not-negotiated
0:01:20.186835522  2648       0xe30320 DEBUG               GST_PADS 
gstpad.c:5251:gst_pad_pause_task:<camerasrc-real-src-actual-src-v4l:src> 
pause task
0:01:20.186846101  2648       0xe30320 DEBUG                   task 
gsttask.c:662:gst_task_set_state:<camerasrc-real-src-actual-src-v4l:src> 
Changing task 0xe58240 to state 2
0:01:20.186856475  2648       0xe30320 DEBUG              GST_EVENT 
gstevent.c:300:gst_event_new_custom: creating new event 0x7f3ec4004120 
eos 28174
0:01:20.186881066  2648       0xe30320 WARN                 basesrc 
gstbasesrc.c:2812:gst_base_src_loop:<camerasrc-real-src-actual-src-v4l> 
error: Internal data flow error.
0:01:20.186890745  2648       0xe30320 WARN                 basesrc 
gstbasesrc.c:2812:gst_base_src_loop:<camerasrc-real-src-actual-src-v4l> 
error: streaming task paused, reason not-negotiated (-4)




More information about the gstreamer-devel mailing list