From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EF1DCE009C8; Tue, 2 Jun 2015 08:34:31 -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=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0ACF0E007B6 for ; Tue, 2 Jun 2015 08:34:29 -0700 (PDT) Received: from [192.168.178.14] (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id A3DAF35DC5 for ; Tue, 2 Jun 2015 17:34:16 +0200 (CEST) Message-ID: <556DCD03.9090903@pseudoterminal.org> Date: Tue, 02 Jun 2015 17:34:27 +0200 From: Carlos Rafael Giani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <555979FE.50306@satel.pl> <5559A04D.5080500@mail.bg> <5559D536.5030206@mlbassoc.com> <555A0B81.3090905@mail.bg> <555A130C.9060605@mlbassoc.com> <555A7B5B.90906@mail.bg> <555B1634.9050003@gmail.com> <555B18AB.4080403@mail.bg> <555B19AA.4010309@gmail.com> <555B1A48.9030303@pseudoterminal.org> <555B1BD6.7090704@mlbassoc.com> <555B1D37.4040300@pseudoterminal.org> <555B248D.2070401@mlbassoc.com> <555B5234.9060104@pseudoterminal.org> <555DE360.3000303@gmail.com> <555DEFAB.9040802@pseudoterminal.org> <555DF13F.1010308@mlbassoc.com> <55647A23.9020701@mlbassoc.com> <55647C3F.2060909@pseudoterminal.org> <55647D61.7000601@mlbassoc.com> <5564C129.9090905@pseudoterminal.org> <5565B306.3020805@mlbassoc.com> <5566B6BE.8030605@pseudoterminal.org> <556705EB.4060401@mlbassoc.com> <55680FF4.8010806@pseudoterminal.org> <55681459.6020807@pseudoterminal.org> <556862D1.4000008@mlbassoc.com> In-Reply-To: <556862D1.4000008@mlbassoc.com> Subject: Re: imxipuvideosink in 3.10.53 on Nitrogex6xlite 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: Tue, 02 Jun 2015 15:34:32 -0000 Content-Type: multipart/alternative; boundary="------------020200040203020207010500" --------------020200040203020207010500 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Note that the gst1.0-fsl-plugin are not by me. I wrote gstreamer-imx. gst1.0-fsl-plugin was written by Freescale. I never tried a combination of both. It is possible that this is what is causing your problems. I'll try to replicate that. Am 2015-05-29 um 15:00 schrieb Gary Thomas: > On 2015-05-29 01:25, Carlos Rafael Giani wrote: >> Ah, it is as I suspected. There is a fix for that in gstreamer-imx >> master (not meta-fsl-arm master). >> >> In the meta-fsl-arm directory, open >> recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb , and >> replace the line: >> >> SRCREV = "898e51dbdb01926d6423d0d31a9530ec6deb5192" >> >> with: >> >> SRCREV = "50bd7add0b684e966b8a7bdaad47a7e706fc00cc" >> >> then rebuild and reinstall gstreamer-imx, and check if this fixes it. > > This does fix the problem when I run gst-play manually (from the > command line), thanks. > > However, I still have no video when gst-play is started from gtk-play > (because playbin is choosing the wrong plugin). Any ideas about that? > > Finally, there is another problem I've already reported - if you run > gst-play without any specific plugin from the command line, it will > default to a full screen video overlay. Sadly this fails with the same > error: > Attempt to unlock mutex that was not locked > This can be fixed using the attached patch (but I'm not sure it's 100% > correct) > > The gst1.0-fsl-plugin does not list a maintainer - perhaps it's you > (Carlos)? > >> >> >> Am 2015-05-29 um 09:06 schrieb Carlos Rafael Giani: >>> OK, I was able to reproduce this, thanks. Working on it now. >>> >>> Am 2015-05-28 um 14:11 schrieb Gary Thomas: >>>> On 2015-05-28 00:33, Carlos Rafael Giani wrote: >>>>> Interesting. This seems familiar, although I thought it is fixed. >>>>> I will do a test run here to see if I can reproduce it. >>>>> This happens with gtk-play, right? Please double check if this >>>>> also happens with gst-play on your end. It would be somewhat >>>>> easier for me if it is also reproducible with that. >>>> >>>> I'm only using gst-play at the moment (gtk-play doesn't have a way >>>> to force the appropriate videosink yet). Here's the command I used: >>>> # GST_DEBUG_NO_COLOR=1 GST_DEBUG='2,*imx*:9' gst-play-1.0 >>>> --videosink=imxeglvivsink Vlad\+Louise.mp4 2>/tmp/gst-play.log >>>> >>>>> >>>>> Am 2015-05-27 um 14:05 schrieb Gary Thomas: >>>>>> On 2015-05-26 12:53, Carlos Rafael Giani wrote: >>>>>>> Try to re-run the playbin pipeline with the GST_DEBUG >>>>>>> environment variable set to: "2,*imx*:9", and post the log please. >>>>>> >>>>>> Here it is. >>>>>> >>>>>>> Am 2015-05-26 um 16:04 schrieb Gary Thomas: >>>>>>>> On 2015-05-26 07:59, Carlos Rafael Giani wrote: >>>>>>>>> On 05/26/2015 03:50 PM, Gary Thomas wrote: >>>>>>>>>> >>>>>>>>>> Any ideas on how to get this to work (i.e. fix the broken >>>>>>>>>> locking)? >>>>>>>>> >>>>>>>>> Try if building the current master (not 0.10.1) fixes it. >>>>>>>> >>>>>>>> That's what I'm running: >>>>>>>> meta-fsl-arm: f52c9106689f33c78b09496f4929ae1e87d13970 >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >> > > > --------------020200040203020207010500 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Note that the gst1.0-fsl-plugin are not by me. I wrote gstreamer-imx. gst1.0-fsl-plugin was written by Freescale.
I never tried a combination of both. It is possible that this is what is causing your problems. I'll try to replicate that.

Am 2015-05-29 um 15:00 schrieb Gary Thomas:
On 2015-05-29 01:25, Carlos Rafael Giani wrote:
Ah, it is as I suspected. There is a fix for that in gstreamer-imx master (not meta-fsl-arm master).

In the meta-fsl-arm directory, open recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb , and replace the line:

SRCREV = "898e51dbdb01926d6423d0d31a9530ec6deb5192"

with:

SRCREV = "50bd7add0b684e966b8a7bdaad47a7e706fc00cc"

then rebuild and reinstall gstreamer-imx, and check if this fixes it.

This does fix the problem when I run gst-play manually (from the command line), thanks.

However, I still have no video when gst-play is started from gtk-play
(because playbin is choosing the wrong plugin).  Any ideas about that?

Finally, there is another problem I've already reported - if you run
gst-play without any specific plugin from the command line, it will
default to a full screen video overlay.  Sadly this fails with the same
error:
  Attempt to unlock mutex that was not locked
This can be fixed using the attached patch (but I'm not sure it's 100% correct)

The gst1.0-fsl-plugin does not list a maintainer - perhaps it's you (Carlos)?



Am 2015-05-29 um 09:06 schrieb Carlos Rafael Giani:
OK, I was able to reproduce this, thanks. Working on it now.

Am 2015-05-28 um 14:11 schrieb Gary Thomas:
On 2015-05-28 00:33, Carlos Rafael Giani wrote:
Interesting. This seems familiar, although I thought it is fixed. I will do a test run here to see if I can reproduce it.
This happens with gtk-play, right? Please double check if this also happens with gst-play on your end. It would be somewhat easier for me if it is also reproducible with that.

I'm only using gst-play at the moment (gtk-play doesn't have a way
to force the appropriate videosink yet).  Here's the command I used:
  # GST_DEBUG_NO_COLOR=1 GST_DEBUG='2,*imx*:9' gst-play-1.0 --videosink=imxeglvivsink Vlad\+Louise.mp4 2>/tmp/gst-play.log


Am 2015-05-27 um 14:05 schrieb Gary Thomas:
On 2015-05-26 12:53, Carlos Rafael Giani wrote:
Try to re-run the playbin pipeline with the GST_DEBUG environment variable set to: "2,*imx*:9", and post the log please.

Here it is.

Am 2015-05-26 um 16:04 schrieb Gary Thomas:
On 2015-05-26 07:59, Carlos Rafael Giani wrote:
On 05/26/2015 03:50 PM, Gary Thomas wrote:

Any ideas on how to get this to work (i.e. fix the broken locking)?

Try if building the current master (not 0.10.1) fixes it.

That's what I'm running:
  meta-fsl-arm: f52c9106689f33c78b09496f4929ae1e87d13970















--------------020200040203020207010500--