From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E0378E013A2 for ; Thu, 11 Jul 2013 01:39:38 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id e49so5341656eek.34 for ; Thu, 11 Jul 2013 01:39:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type:x-gm-message-state; bh=5WoqfqZfCPV+dRzPsFnlkKhkkqJaw8jyOQFvYlIriSs=; b=YFLQijnteVWr4L/K0SQkOClwIgnWSVAzFrmzR5kkfPCfhOhVGv5753YFDqjejAzsU7 F4C6f+y7vYY9or2yp2xF9lVDsBMGhzrcielOupTnSdxBdMSNfvDSmUvQpz6FHmmPJtWV rpEYSfqkXq8lDlZ3GDfGuXID+knBZGe8waW3urzt6rpQl4aQ3Zx6GLb97i6R4jJnewmy A+f+QjepE9t4c/1un95WEelGPFnVeat6ciWIyE9J7AKN2oo1aJqaJxQ9cPMuZK3+l1FX sKa7tjZFpdsxk1nSR1jxqoki7J3sB2ssfYH/VQjAIpk03+WZnF47UmJ3zC+32JuvjFJ5 y/Fw== X-Received: by 10.15.91.69 with SMTP id r45mr40522305eez.79.1373531978202; Thu, 11 Jul 2013 01:39:38 -0700 (PDT) Received: from rudolf.localnet (ppp-82-135-84-132.dynamic.mnet-online.de. [82.135.84.132]) by mx.google.com with ESMTPSA id cg12sm67210542eeb.7.2013.07.11.01.39.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Jul 2013 01:39:37 -0700 (PDT) From: Thomas Senyk To: meta-freescale@yoctoproject.org Date: Thu, 11 Jul 2013 10:39:14 +0200 Message-ID: <1445523.dnBZldpQsA@rudolf> Organization: Pelagicore AG User-Agent: KMail/4.10.4 (Linux/3.9.8-1-ARCH; KDE/4.10.4; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlSXfLOAei6aDrIxN1MW1Eew0nWPZvLnqPrZ4ATbexEWCVQ91kJW89AeawOPQJfyKT6A1mA Subject: Re: Gstreamer pipeline problem 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: Thu, 11 Jul 2013 08:39:40 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday, 10 July, 2013 20:53:58 Chris Tapp wrote: > On 10 Jul 2013, at 20:19, Chris Tapp wrote: > > I've got an application which uses playbin2 to capture video. The pipeline > > is of the form: > > > > playbin2 uri=... video-sink="queue2 ! videoscale ! video/x-raw-rgb, > > pixel-aspect-ratio=1/1, width=, height= ! > > fakesink" > > > > I then get the "frame" property from the pipeline and use this to grab the > > latest frame. > > > > This works on my development system (Ubuntu 11.10) and a Cedar Trail / > > Yocto system, but the pipeline fails on the Wandboard Quad. I think this > > is related to: > > > > 0:00:13.028151336 1349 0x4442d520 WARN basetransform > > /media/SSD-RAID/build-danny-wandboard/tmp/work/armv7a-vfp-neon-poky-linux > > -gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasetrans > > form.c:1304:gst_base_transform_setcaps: transform > > could not transform video/x-raw-yuv, width=(int)854, height=(int)480, > > framerate=(fraction)24/1, format=(fourcc)I420, interlaced=(boolean)false > > in anything we support > > > > I added an ffmpegcolorspace element betwween the queue2 and the videoscale > > to get round this and the pipeline now builds, but only a few frames are > > captured. There are different diagnostics showing: > > > > 0:00:02.881403000 1361 0x28da60 WARN vpudec > > vpudec.c:914:gst_vpudec_core_create_and_register_frames: Allocate > > Internal framebuffers!!!! Message Callback : Element playbin0x250b68 > > changed state from READY to PAUSED. 0:00:03.237675000 1361 0x28da60 > > WARN vpudec vpudec.c:1578:gst_vpudec_chain: Got no frame > > buffer message, return 0x89, 8 frames in displaying queue!! > > 0:00:03.242324334 1361 0x28da60 WARN vpudec > > vpudec.c:1578:gst_vpudec_chain: Got no frame buffer message, return 0x89, > > 8 frames in displaying queue!! > > > > > > > > 0:00:08.499914334 1382 0x28d860 WARN vpudec > > vpudec.c:1655:gst_vpudec_chain: Retry too many times, maybe BUG!! > > 0:00:08.500784667 1382 0x28d860 WARN vpudec > > vpudec.c:1578:gst_vpudec_chain: Got no frame buffer message, return 0x88, > > 8 frames in displaying queue!! > > > > > > > > Message Callback : Element playbin0x250aa0 changed state from PAUSED to > > PLAYING. 0:00:09.253202667 1382 0x28d860 WARN vpudec > > vpudec.c:1578:gst_vpudec_chain: Got no frame buffer message, return 0x88, > > 8 frames in displaying queue!! > > > > 0:00:13.364523335 1460 0x142ec0 WARN mfw_v4lsink > > mfw_gst_v4l_buffer.c:435:mfw_gst_v4l2_new_buffer: Try new buffer failed, > > ret 2 No such file or directory queued 0 > > > > > > The "Message Callback" events are my own logging to try and see what's > > happening in my app. > > > > Is this something I'm doing wrong, or are these messages a real issue > > somewhere? > This is when playing a .webm. The results for an .flv are as expected. is it the same when you use v4l2 sink instead of fakesink? Is playbin (without defining the pipeline) behaving the same? > > Chris Tapp > > opensource@keylevel.com > www.keylevel.com > > > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale