Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B5C4CE00B9E; Mon, 3 Jul 2017 01:06:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (cristiano.chieppa[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.51 listed in list.dnswl.org] Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8A647E00B2E for ; Mon, 3 Jul 2017 01:06:40 -0700 (PDT) Received: by mail-wm0-f51.google.com with SMTP id i127so99438823wma.0 for ; Mon, 03 Jul 2017 01:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=0GGmgmgasWKxxL5W8RCYxHk86BELDqByM+ad7svHYe4=; b=W69Nz4nDQO1twHNQx66Tncr1t7geyRjnnDIwlYLxyvgy/zxvyiagWMlmktbtcEjIZA NUa/KbEV0SliEgHP1X0wkh1OXe7gXeGKJUUebQFmZMIxZemWV86pdkYgeckRdABslMGW BU8nbdJpR6vNsIqJnqrmsdmIcQRUruv1Bqej5ojpG6zPU8DhXuMgE1kDpXEyn06GcnHW uPW2NONUndAwQdr1QQpn1mcbbpSfjeX/2Etse/EqJf0ca4PDrtoci23lzLjld6swmraf 8jx5VBv5pyrJLBfKvGjxTicyMEgwrF3DykjSuuaeyep8cYx4eZrd5eFYcmWZQ8PYfWJ5 e+cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=0GGmgmgasWKxxL5W8RCYxHk86BELDqByM+ad7svHYe4=; b=cyl1nWMYCi6kg74Cw65ZsYfVrSVae4LgLxQ7Yi9Qdhg9osNFX5SCNuzYstudkobmpb OLH4EzblWGvXhY66BkyYW+EHsKAoczexWrtvtGB229l1iaCGdFE+ayc3+FQNaCDiqpch YOnXhl5OBHy2pkzje/y2tyyo6QJTdt+PUFamRrCGZUAhDzFyyHTczzQA062MtBrrl/Bx 85Q63KsrlyybPk66I9DHn0hQE9i1knVxo7UWnl9YIhUPCpLEks07rOpIc5xm3RsXiNhA UXSYuKaI3t6OzInSwyToYw+nKUU7v+C0gVgylsKR+WRNLLeuC3IwheT/4zRJ3KA9zs5r +CNw== X-Gm-Message-State: AIVw112jBMHlSkFeNfotIRh9WodQgrJ0va4u8RrSAIol1o5crQqUUHcB qR9LiBFQZ7tKpEFh2DE= X-Received: by 10.28.66.208 with SMTP id k77mr8926382wmi.89.1499069198701; Mon, 03 Jul 2017 01:06:38 -0700 (PDT) Received: from [192.168.1.9] (93-36-184-164.ip61.fastwebnet.it. [93.36.184.164]) by smtp.gmail.com with ESMTPSA id 5sm11685472wrq.60.2017.07.03.01.06.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 01:06:37 -0700 (PDT) From: Cristiano Chieppa Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Message-Id: <23AC9B80-76A4-49D2-9D58-00A5F2DDEB96@gmail.com> Date: Mon, 3 Jul 2017 10:06:36 +0200 To: meta-freescale@yoctoproject.org X-Mailer: Apple Mail (2.3259) Subject: img2dcompositor X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 08:06:41 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_FC05A382-56AA-4D4B-84BA-6A09BCCE9A95" --Apple-Mail=_FC05A382-56AA-4D4B-84BA-6A09BCCE9A95 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear All, I'm struggling with the imx-gstreamer on a SABRE iMX6 quad = core. I have prepare an image with Ubuntu 16 and compiled gstreamer iMX. = I would like to use the imxg2dcompositor to gather 4 h264 streams.=20 =20 The pipeline I have prepared, following some docs on the Network, is the = following: gst-launch-1.0 \ imxg2dcompositor name=3Dc background-color=3D0xFF \ sink_0::xpos=3D0 sink_0::ypos=3D0 sink_0::width=3D400 sink_0::height=3D300= \ sink_1::xpos=3D400 sink_1::ypos=3D0 sink_1::width=3D400 = sink_1::height=3D300 \ queue2 ! video/x-raw, width=3D800, height=3D600 ! imxipuvideosink \ rtspsrc location=3Drtsp://:@192.168.1.250/h264_2 ! = rtph264depay ! h264parse ! imxvpudec ! queue2 ! c.sink_0 \ rtspsrc location=3Drtsp://:@192.168.1.188/h264_2 ! = rtph264depay ! h264parse ! imxvpudec ! queue2 ! c.sink_1 I have got to face with the following problem: the video is black, none = of the streams is visible. =20 Please note that if i show the 4 streams not grouped, but arranged with = x,y coordinates in a sink like img2dvideosink, it works perfectly. Moreover, if I convert the pipe on my Ubuntu workstation (with the = "normal" compositor, and using avdec_h264 + videoconvert ) it works like = a charm. Finally, if I use the same stream (2 times the H264 from a same camera), = it works! =20 I have tried several tests to solve the problem, went to any corner of = google, but I haven't found out any interesting answer. =20 Btw, I have also tried the imxipucompositor: same problem. =20 Where I wrong? =20 Thank you for any advise. I=E2=80=99m going crazy. PS: I have tried to use on the imx pipeline above the software = =E2=80=9Ccompositor=E2=80=9D: it works and I can see the 4 streams, but = is not acceptable because is too slow. So, I come back to my question: = why it doesn=E2=80=99t work in this way?= --Apple-Mail=_FC05A382-56AA-4D4B-84BA-6A09BCCE9A95 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Dear All, I'm = struggling with the imx-gstreamer on a SABRE iMX6 quad core. I have = prepare an image with Ubuntu 16 and compiled gstreamer iMX. I would like = to use the imxg2dcompositor to gather 4 h264 streams. 

 

The = pipeline I have prepared, following some docs on the Network, is the = following:
gst-launch-1.0 \
imxg2dcompositor name=3Dc = background-color=3D0xFF \
sink_0::xpos=3D0 sink_0::ypos=3D0 = sink_0::width=3D400 sink_0::height=3D300 \
sink_1::xpos=3D40= 0 sink_1::ypos=3D0 sink_1::width=3D400 sink_1::height=3D300  \
queue2 ! video/x-raw, width=3D800, height=3D600 ! = imxipuvideosink \
rtspsrc = location=3Drtsp://<user>:<pwd>@192.168.1.250/h264_2 ! = rtph264depay ! h264parse ! imxvpudec ! queue2 ! c.sink_0 \
rtspsrc = location=3Drtsp://<user>:<pwd>@192.168.1.188/h264_2 ! = rtph264depay ! h264parse ! imxvpudec ! queue2 ! = c.sink_1
I have got to face with = the following  problem: the video is black, none of the streams is = visible.  

Please note that if i show the 4 streams = not grouped, but arranged with x,y coordinates in a sink like = img2dvideosink, it works perfectly.

Moreover, if I convert = the pipe on my Ubuntu workstation (with the "normal" compositor, and = using avdec_h264 + videoconvert ) it works like a charm.

Finally, if I use the same stream (2 times the H264 from a = same camera), it works!

 

I have tried several tests to solve the = problem, went to any corner of google, but I haven't found out any = interesting answer.

 

Btw, I have also tried = the imxipucompositor: same problem.

 

Where I wrong?

 

Thank you for any advise. I=E2=80=99m = going crazy.


PS: = I have tried to use on the imx pipeline above the software = =E2=80=9Ccompositor=E2=80=9D: it works and I can see the 4 streams, but = is not acceptable because is too slow. So, I come back to my question: = why it doesn=E2=80=99t work in this way?
= --Apple-Mail=_FC05A382-56AA-4D4B-84BA-6A09BCCE9A95--