Hi everyone , I thought gstreamer is so powerful, and i really like it. But i
got some problems. I will show you 3 pipeline and its log: (1)gst-launch-1.0 v4l2src ! videoconvert ! "video/x-raw,format=(string)BGR, width=(int)640, height=(int)480" ! autovideosink *Log:* Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error. Additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) Execution ended after 0:00:00.351345115 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... (2)gst-launch-1.0 v4l2src ! capsfilter caps="video/x-raw, format=BGR, width=640, height=480" ! autovideosink *Log:* Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error. Additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) Execution ended after 0:00:00.350847831 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... (3)gst-launch-1.0 --gst-debug="*CAPS*:7" v4l2src ! capsfilter caps="video/x-raw, format=BGR, width=640, height=480" ! xvimagesink *Log:* 0:00:00.001156958 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedc00 0:00:00.001267689 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedc50 0:00:00.011026118 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedca0 0:00:00.013824250 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedcf0 0:00:00.013916097 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedd40 0:00:00.014018282 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedd90 0:00:00.014095596 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedde0 0:00:00.014148967 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdede30 0:00:00.014202528 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdede80 0:00:00.014252456 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdeded0 0:00:00.014299741 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedf20 0:00:00.014339598 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdedf70 0:00:00.014378774 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee000 0:00:00.014455981 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee050 0:00:00.014523355 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee0a0 0:00:00.014577042 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee0f0 0:00:00.014627823 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee140 0:00:00.014680858 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee190 0:00:00.014721831 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee1e0 0:00:00.014760740 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee230 0:00:00.014817691 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee280 0:00:00.014871161 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee2d0 0:00:00.014909622 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee320 0:00:00.014947513 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xdee370 0:00:00.014994088 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55000 0:00:00.015051850 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55050 0:00:00.015096135 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe550a0 0:00:00.015162851 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe550f0 0:00:00.015232939 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55140 0:00:00.015277298 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55190 0:00:00.015339494 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe551e0 0:00:00.015382952 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55230 0:00:00.015538293 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55280 0:00:00.015583067 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe552d0 0:00:00.015629240 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55320 0:00:00.015665681 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55370 0:00:00.015700982 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55400 0:00:00.015735989 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55450 0:00:00.015770182 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe554a0 0:00:00.015803693 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe554f0 0:00:00.015847037 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55540 0:00:00.015886477 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55590 0:00:00.015923993 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe555e0 0:00:00.015958889 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55630 0:00:00.015993142 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55680 0:00:00.016039574 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe556d0 0:00:00.016079682 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55720 0:00:00.016127239 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe55770 0:00:00.016175572 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58800 0:00:00.016217603 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58850 0:00:00.016257659 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe588a0 0:00:00.016296852 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe588f0 0:00:00.016336485 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58940 0:00:00.016374699 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58990 0:00:00.016413287 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe589e0 0:00:00.016471391 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58a30 0:00:00.016510241 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58a80 0:00:00.016549279 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58ad0 0:00:00.016589085 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58b20 0:00:00.016627741 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe58b70 0:00:00.016677504 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bc00 0:00:00.016754602 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bc50 0:00:00.016800365 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bca0 0:00:00.016838924 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bcf0 0:00:00.016892349 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bd40 0:00:00.016933431 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bd90 0:00:00.017121136 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bde0 0:00:00.017165147 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5be30 0:00:00.017204106 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5be80 0:00:00.017249985 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bed0 0:00:00.017289409 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bf20 0:00:00.017326974 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5bf70 0:00:00.017376804 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c000 0:00:00.017415312 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c050 0:00:00.017452564 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c0a0 0:00:00.017503844 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c0f0 0:00:00.017548891 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c140 0:00:00.017588028 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c190 0:00:00.017624933 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c1e0 0:00:00.017686313 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c230 0:00:00.017744373 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c280 0:00:00.017807330 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c2d0 0:00:00.017867312 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c320 0:00:00.017950395 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe5c370 0:00:00.017993601 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05c00 0:00:00.018032423 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05c50 0:00:00.018073908 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05ca0 0:00:00.018108247 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05cf0 0:00:00.018146183 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05d40 0:00:00.018183547 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05d90 0:00:00.018234763 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05de0 0:00:00.018275702 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05e30 0:00:00.018313070 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05e80 0:00:00.018361486 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05ed0 0:00:00.018418559 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05f20 0:00:00.018475900 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe05f70 0:00:00.018564258 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06000 0:00:00.018632005 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06050 0:00:00.018692867 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe060a0 0:00:00.018754401 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe060f0 0:00:00.018828378 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06140 0:00:00.018903606 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06190 0:00:00.018955951 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe061e0 0:00:00.019009548 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06230 0:00:00.019056484 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06280 0:00:00.019114596 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe062d0 0:00:00.019155616 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06320 0:00:00.019198244 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe06370 0:00:00.019239547 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ac00 0:00:00.019278242 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ac50 0:00:00.019326440 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6aca0 0:00:00.019367503 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6acf0 0:00:00.019412929 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ad40 0:00:00.019481875 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ad90 0:00:00.019520879 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ade0 0:00:00.019562670 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ae30 0:00:00.019601044 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6ae80 0:00:00.019649978 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6aed0 0:00:00.019690224 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6af20 0:00:00.019728239 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6af70 0:00:00.019770130 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e000 0:00:00.019809395 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e050 0:00:00.019847045 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e0a0 0:00:00.019882974 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e0f0 0:00:00.019934091 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e140 0:00:00.019973546 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e190 0:00:00.020010152 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e1e0 0:00:00.020051436 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e230 0:00:00.020090707 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e280 0:00:00.020142033 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e2d0 0:00:00.020265859 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e320 0:00:00.020303937 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e370 0:00:00.020356584 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e400 0:00:00.041795608 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e450 0:00:00.042648454 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e4a0 0:00:00.042665517 1227 0xdec890 TRACE GST_CAPS gstcaps.c:422:gst_static_caps_get: created 0x7fad5fbb5cd0 from string ANY 0:00:00.042688063 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e4f0 0:00:00.042695422 1227 0xdec890 TRACE GST_CAPS gstcaps.c:422:gst_static_caps_get: created 0x7fad5fbb5d10 from string ANY 0:00:00.042732210 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e540 0:00:00.042753378 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e590 0:00:00.042799641 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xe6e540 0:00:00.043829918 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e5e0 0:00:00.043910779 1227 0xdec890 TRACE GST_CAPS gstcaps.c:422:gst_static_caps_get: created 0x7fad5f95c670 from string video/x-raw, framerate = (fraction) [ 0, MAX ], width = (int) [ 1, MAX ], height = (int) [ 1, MAX ] 0:00:00.044226397 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<v4l2src0:src> get pad caps with filter (NULL) 0:00:00.044277465 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<v4l2src0:src> query returned image/jpeg; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false; video/mpeg, mpegversion=(int)2; video/mpegts, systemstream=(boolean)true; video/x-bayer, format=(string){ bggr, gbrg, grbg, rggb }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-dv, systemstream=(boolean)true; video/x-h263, variant=(string)itu; video/x-h264, stream-format=(string){ byte-stream, avc }, alignment=(string)au; video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-vp8; video/x-wmv, wmvversion=(int)3, format=(string)WVC1 0:00:00.044365824 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<capsfilter0:sink> get pad caps with filter (NULL) 0:00:00.044388463 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<capsfilter0:src> get pad peer caps with filter (NULL) 0:00:00.044406155 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xe6e6d0 0:00:00.044437352 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xe6e6d0 0:00:00.044451110 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<capsfilter0:sink> query returned video/x-raw, format=(string)BGR, width=(int)640, height=(int)480 0:00:00.044538472 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<v4l2src0:src> get pad caps with filter (NULL) 0:00:00.044572816 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<v4l2src0:src> query returned image/jpeg; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false; video/mpeg, mpegversion=(int)2; video/mpegts, systemstream=(boolean)true; video/x-bayer, format=(string){ bggr, gbrg, grbg, rggb }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-dv, systemstream=(boolean)true; video/x-h263, variant=(string)itu; video/x-h264, stream-format=(string){ byte-stream, avc }, alignment=(string)au; video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-vp8; video/x-wmv, wmvversion=(int)3, format=(string)WVC1 0:00:00.044657866 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<capsfilter0:sink> get pad caps with filter (NULL) 0:00:00.044686263 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<capsfilter0:src> get pad peer caps with filter (NULL) 0:00:00.044702287 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3050 0:00:00.044719891 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3050 0:00:00.044739095 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<capsfilter0:sink> query returned video/x-raw, format=(string)BGR, width=(int)640, height=(int)480 0:00:00.044765276 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2215:gst_pad_link_check_compatible_unlocked:<v4l2src0:src> src caps image/jpeg; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false; video/mpeg, mpegversion=(int)2; video/mpegts, systemstream=(boolean)true; video/x-bayer, format=(string){ bggr, gbrg, grbg, rggb }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-dv, systemstream=(boolean)true; video/x-h263, variant=(string)itu; video/x-h264, stream-format=(string){ byte-stream, avc }, alignment=(string)au; video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-vp8; video/x-wmv, wmvversion=(int)3, format=(string)WVC1 0:00:00.044840040 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2217:gst_pad_link_check_compatible_unlocked:<capsfilter0:sink> sink caps video/x-raw, format=(string)BGR, width=(int)640, height=(int)480 0:00:00.044884563 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2235:gst_pad_link_check_compatible_unlocked: caps are compatible 0:00:00.044950174 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<capsfilter0:src> get pad caps with filter (NULL) 0:00:00.044986085 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<capsfilter0:sink> get pad peer caps with filter (NULL) 0:00:00.045009531 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<capsfilter0:sink> peer query returned image/jpeg; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false; video/mpeg, mpegversion=(int)2; video/mpegts, systemstream=(boolean)true; video/x-bayer, format=(string){ bggr, gbrg, grbg, rggb }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-dv, systemstream=(boolean)true; video/x-h263, variant=(string)itu; video/x-h264, stream-format=(string){ byte-stream, avc }, alignment=(string)au; video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-vp8; video/x-wmv, wmvversion=(int)3, format=(string)WVC1 0:00:00.045073091 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3140 0:00:00.045112559 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<capsfilter0:src> query returned video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 2147483647/1 ] 0:00:00.045147255 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<xvimagesink0:sink> get pad caps with filter (NULL) 0:00:00.045178178 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<xvimagesink0:sink> query returned video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ] 0:00:00.045208919 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3140 0:00:00.045242938 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<capsfilter0:src> get pad caps with filter (NULL) 0:00:00.045263760 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<capsfilter0:sink> get pad peer caps with filter (NULL) 0:00:00.045289175 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<capsfilter0:sink> peer query returned image/jpeg; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false; video/mpeg, mpegversion=(int)2; video/mpegts, systemstream=(boolean)true; video/x-bayer, format=(string){ bggr, gbrg, grbg, rggb }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-dv, systemstream=(boolean)true; video/x-h263, variant=(string)itu; video/x-h264, stream-format=(string){ byte-stream, avc }, alignment=(string)au; video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-vp8; video/x-wmv, wmvversion=(int)3, format=(string)WVC1 0:00:00.045386616 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3280 0:00:00.045450312 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<capsfilter0:src> query returned video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 2147483647/1 ] 0:00:00.045478827 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<xvimagesink0:sink> get pad caps with filter (NULL) 0:00:00.045503789 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<xvimagesink0:sink> query returned video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ] 0:00:00.045524399 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2215:gst_pad_link_check_compatible_unlocked:<capsfilter0:src> src caps video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 2147483647/1 ] 0:00:00.045546267 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2217:gst_pad_link_check_compatible_unlocked:<xvimagesink0:sink> sink caps video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ] 0:00:00.045569948 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3280 0:00:00.045581859 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2235:gst_pad_link_check_compatible_unlocked: caps are compatible Setting pipeline to PAUSED ... 0:00:00.046828740 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3320 0:00:00.046877202 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3370 0:00:00.046912312 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3400 0:00:00.046927502 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3370 0:00:00.046935504 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3450 0:00:00.046946178 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe34a0 0:00:00.046955184 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3450 0:00:00.046962001 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe34f0 0:00:00.046968896 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3450 0:00:00.046976087 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe34f0 0:00:00.046981565 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3370 0:00:00.046989052 1227 0xdec890 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3280 0:00:00.046995902 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3370 0:00:00.132464429 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2672:gst_pad_get_current_caps:<capsfilter0:sink> get current pad caps (NULL) 0:00:00.132496990 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2672:gst_pad_get_current_caps:<capsfilter0:src> get current pad caps (NULL) Pipeline is live and does not need PREROLL ... 0:00:00.132799533 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2840:gst_pad_query_caps:<v4l2src0:src> get pad caps with filter (NULL) 0:00:00.132860186 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe35e0 0:00:00.132880681 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3630 Setting pipeline to PLAYING ... New clock: GstSystemClock 0:00:00.394218085 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3630 0:00:00.394307628 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3680 0:00:00.482574964 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3680 0:00:00.482678836 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe36d0 0:00:00.483027824 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe36d0 0:00:00.483070831 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3720 0:00:00.483314087 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3720 0:00:00.483348757 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0xfe3770 0:00:00.483677190 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3770 0:00:00.483715011 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0x7fad58001c00 0:00:00.483958819 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0x7fad58001c00 0:00:00.484018514 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<v4l2src0:src> query returned video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)10/1; video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)15/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)I420, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)YV12, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)YV12, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)BGR, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)BGR, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)RGB, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)RGB, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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 0:00:00.484664081 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<v4l2src0:src> get pad peer caps with filter (NULL) 0:00:00.484718941 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps:<capsfilter0:src> get pad peer caps with filter (NULL) 0:00:00.484770761 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<capsfilter0:src> peer query returned video/x-raw, format=(string)YUY2, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)UYVY, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ] 0:00:00.484885089 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0x7fad58001cf0 0:00:00.484932471 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<v4l2src0:src> peer query returned EMPTY 0:00:00.484980661 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0x7fad58001cf0 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error. Additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming task paused, reason not-negotiated (-4) Execution ended after 0:00:00.352274912 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... 0:00:00.498714117 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3400 0:00:00.498807831 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe34a0 0:00:00.498850295 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3450 0:00:00.498887547 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3280 0:00:00.498928579 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe3320 0:00:00.499731575 1227 0xdec890 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0xfe35e0 Freeing pipeline ... I am so sorry for long log. I think maybe you need check the gst-device-monitor-1.0 log: Device found: name : Lenovo EasyCamera class : Video/Source caps : video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)10/1; video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)15/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; image/jpeg, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1, framerate=(fraction)30/1; video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)I420, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)YV12, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)YV12, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)BGR, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)BGR, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; video/x-raw, format=(string)RGB, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1; video/x-raw, format=(string)RGB, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/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; 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; 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; 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; properties: udev-probed = true device.bus_path = pci-0000:00:14.0-usb-0:5:1.0 sysfs.path = /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0 device.bus = usb device.subsystem = video4linux device.vendor.id = 5986 device.vendor.name = "SunplusIT\\x20Inc" device.product.id = 0703 device.product.name = "Lenovo\ EasyCamera" device.serial = SunplusIT_Inc_Lenovo_EasyCamera device.capabilities = :capture: device.api = v4l2 device.path = /dev/video0 v4l2.device.driver = uvcvideo v4l2.device.card = "Lenovo\ EasyCamera" v4l2.device.bus_info = usb-0000:00:14.0-5 v4l2.device.version = 263936 (0x00040700) v4l2.device.capabilities = 2233466881 (0x85200001) v4l2.device.device_caps = 85983233 (0x05200001) Finally it's done . First of all, as you can see from the device-monitor log, the camera have caps 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;. I try use that by *gst-launch-1.0 v4l2src ! capsfilter caps="video/x-raw, format=BGR, width=640, height=480" ! autovideosink* and *gst-launch-1.0 v4l2src ! videoconvert ! "video/x-raw,format=(string)BGR, width=(int)640, height=(int)480" ! autovideosink* it all faild by *streaming task paused, reason not-negotiated (-4)* So i found http://gstreamer-devel.966125.n4.nabble.com/Problem-with-caps-between-v4l2src-and-autovideosink-tt4668765.html#none <http://gstreamer-devel.966125.n4.nabble.com/Problem-with-caps-between-v4l2src-and-autovideosink-tt4668765.html#none> show me a new world by using --gst-debug="*CAPS*:7" my pipeline (3). But i don't understand the log info in pipeline, i think they are all *caps are compatible* by *GST_CAPS gstutils.c:2886:gst_pad_peer_query_caps*, but why it was happened at last by *0:00:00.484885089 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:248:gst_caps_new_empty: created caps 0x7fad58001cf0 0:00:00.484932471 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<v4l2src0:src> peer query returned EMPTY 0:00:00.484980661 1227 0xfe3050 TRACE GST_CAPS gstcaps.c:207:_gst_caps_free: freeing caps 0x7fad58001cf0* ? i don't understand. Please help me figure that out? Really Appreciate your reply... -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 17 Apr 2018 19:10:56 -0700 (MST)
"Erickson.LU" <[hidden email]> wrote: > Hi everyone , I thought gstreamer is so powerful, and i really like it. But i > got some problems. > > I will show you 3 pipeline and its log: > (1)gst-launch-1.0 v4l2src ! videoconvert ! "video/x-raw,format=(string)BGR, width=(int)640, height=(int)480" ! autovideosink > Put "videoconvert" right before the sink element, like: gst-launch-1.0 v4l2src ! "video/x-raw,format=(string)BGR, width=(int)640, height=(int)480" ! videoconvert ! autovideosink Or do not specify the format explicitly and let GStreamer see if there is any compatible format between the source and the sink. But in general using videoconvert is more robust. You can also use videotestsrc to split the problem space; for example, another non-working pipeline is: gst-launch-1.0 videotestsrc ! "video/x-raw,format=(string)BGR, width=(int)640, height=(int)480" ! autovideosink Which may help you to see more clearly that the problem is the sink not supporting BGR, because you eliminated v4l2src from your problem. The log might have confused you because it mentioned v4l2src0, but the meaning is that the v4l2src element caps are not compatible with the downstream elements, see https://gstreamer.freedesktop.org/documentation/design/negotiation.html [...] > (2)gst-launch-1.0 v4l2src ! capsfilter caps="video/x-raw, format=BGR, width=640, height=480" ! autovideosink [...] Same here. [...] > (3)gst-launch-1.0 --gst-debug="*CAPS*:7" v4l2src ! capsfilter caps="video/x-raw, format=BGR, width=640, height=480" ! xvimagesink [...] Same here. The logs show you that: [...] > 0:00:00.045450312 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<capsfilter0:src> query returned video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 2147483647/1 ] You requested format=(string)BGR > 0:00:00.045503789 1227 0xdec890 DEBUG GST_CAPS gstutils.c:2847:gst_pad_query_caps:<xvimagesink0:sink> query returned video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ] xvimagesink do not have a filter on format, so any format *might* be compatible. I guess what format is actually supported depends on the hardware or on some lower level detail which cannot be exposed statically in CAPS declaration. I am not sure about that. > 0:00:00.045524399 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2215:gst_pad_link_check_compatible_unlocked:<capsfilter0:src> src caps video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 2147483647/1 ] > 0:00:00.045546267 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2217:gst_pad_link_check_compatible_unlocked:<xvimagesink0:sink> sink caps video/x-raw, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ] > 0:00:00.045581859 1227 0xdec890 DEBUG GST_CAPS gstpad.c:2235:gst_pad_link_check_compatible_unlocked: caps are compatible And in fact the first check above succeeds. > 0:00:00.484770761 1227 0xfe3050 DEBUG GST_CAPS gstutils.c:2893:gst_pad_peer_query_caps:<capsfilter0:src> peer query returned video/x-raw, format=(string)YUY2, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)UYVY, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ] However, when asked what the downstream peer can *actually* do, BGR is not there. > streaming task paused, reason not-negotiated (-4) So playback cannot be started. The problem is that the caps of upstream elements have to be compatible with those of *downstream* elements. Ciao, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks a lot, and i can understand you. I think i cann't trust something like
* SINK template: 'sink' Availability: Always Capabilities: video/x-raw framerate: [ 0/1, 2147483647/1 ] width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] * Thank you again, and sorry about the typesetting of my post, it really hard to find something in the Log. There must be Newline character when i copy that from terminal. Sorry about that, I will checked again. And Thank you again. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 18 Apr 2018 18:18:57 -0700 (MST)
"Erickson.LU" <[hidden email]> wrote: > Thanks a lot, and i can understand you. I think i cann't trust something like > * SINK template: 'sink' > Availability: Always > Capabilities: > video/x-raw > framerate: [ 0/1, 2147483647/1 ] > width: [ 1, 2147483647 ] > height: [ 1, 2147483647 ] > * > I wouldn't say that you cannot "trust" it, but in this case it's true that you can't know beforehand what formats it supports and you have to let GStreamer figure that out and handle the compatibility. > Thank you again, and sorry about the typesetting of my post, it really hard > to find something in the Log. There must be Newline character when i copy > that from terminal. Sorry about that, I will checked again. And Thank you > again. > My rule is: I wrap the text I write, but I try to leave untouched the text I paste. So I enable/disable automatic text wrapping in my editor as needed. Also, if the logs are too big you can use a paste service (e.g. pastebin.ca) or upload the logs somewhere and paste the direct URL. Ciao ciao, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Erickson.LU
Hi, my last e-mail contained a few copy paste errors with newSample and newBuffer but the jist of it was OK
-----Ursprüngliche Nachricht----- Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Erickson.LU Gesendet: Donnerstag, 19. April 2018 03:19 An: [hidden email] Betreff: Re: About how to use gst-debug="*CAPS*:7" Thanks a lot, and i can understand you. I think i cann't trust something like * SINK template: 'sink' Availability: Always Capabilities: video/x-raw framerate: [ 0/1, 2147483647/1 ] width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] * Thank you again, and sorry about the typesetting of my post, it really hard to find something in the Log. There must be Newline character when i copy that from terminal. Sorry about that, I will checked again. And Thank you again. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Antonio Ospite-2
AHa, thanks a lot . And I know what your point is. I should quota "trust"...
HaHa..Thanks again. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |