From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: Joshua Kurland <joshua.kurland@adtecdigital.net>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Regarding GStreamer-1.x status on iMX6Q
Date: Mon, 09 Dec 2013 22:31:11 +0100 [thread overview]
Message-ID: <52A6369F.70809@pseudoterminal.org> (raw)
In-Reply-To: <CAPuotkepebkkK8JK0tBWu9+p-EAEcZ7Lw-3nu8Nn4H1Q8tZ3+w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3803 bytes --]
Try: DISPLAY=:0 gst-launch-1.0 playbin uri=file:///myfile
video-sink=eglvivsink
This assumes you have X11 built and running on your machine.
egvivsink support for Wayland and rendering to framebuffer will come in
a later version.
Please also check your CPU usage. If it is much higher with some videos,
I'd like to know. There is one area where an unfortunate design
limitation of the VPU libraries (and potentially the VPU itself) can
cause this problem. I am thinking about workarounds, but its uncertain
if it can be overcome. Worst case, some videos require tweaking of one
GStreamer element property.
cheers
On 2013-12-09 22:26, Joshua Kurland wrote:
> Ah, okay. Gst-inspect-1.0 now shows imxvpu, imxipu, etc. In order to
> decode a simple video from a file, what would the new pipeline look
> like? Normally I would run something like 'gst-launch-0.10 playbin2
> uri=file:///myfile video-sink=mfw_v4lsink'. Can I make a one-to-one
> conversion from the old mfw_v4lsink to some other custom element?
>
>
> On Mon, Dec 9, 2013 at 4:17 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org <mailto:dv@pseudoterminal.org>> wrote:
>
> Thats because they have different names. They all start with "imx"
> (with the exception of the eglvivsink).
> These are entirely different plugins, written from scratch.
>
>
> On 2013-12-09 22:14, Joshua Kurland wrote:
>> Thanks Carlos, that script helped out a lot and I am able to
>> compile the binaries. I modified your script to use the
>> wandboard-quad sysroots and ran the script. I then ran ./waf and
>> sudo ./waf install. I copied the binaries from /usr/local/lib
>> to my board in /usr/lib and /usr/lib/gstreamer-1.0. Everything
>> seemed fine, but when I use gst-inspect-1.0 to find mfw_v4lsink
>> nothing is found. The same can be said for other Freescale
>> elements that I had been using in Gstreamer-0.10.
>>
>> Thanks,
>> Josh Kurland
>>
>>
>> On Mon, Dec 9, 2013 at 3:31 PM, Carlos Rafael Giani
>> <dv@pseudoterminal.org <mailto:dv@pseudoterminal.org>> wrote:
>>
>> On 2013-12-09 21:05, Joshua Kurland wrote:
>>
>> I am having a bit of difficulty compiling the
>> gstreamer-imx binaries using waf. I set up the
>> environment variables and ran waf, but it was unable to
>> find 'libfslvpuwrap'. But libfslvpuwrap.pc is found in
>> my
>> sysroot/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/pkgconfig/libfslvpuwrap.pc.
>> I am adding libfslvpuwrap as a package under the
>> IMAGE_INSTALL section of my image recipe, is this not the
>> correct way? I've attached my environment script as well
>> as the error log, I would appreciate any help I can get.
>>
>> Thanks,
>> Josh Kurland
>>
>>
>> The environment variables look wrong to me.
>> 1. export
>> CFLAGS="--sysroot=/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin/cortexa9-vfp-neon-poky-linux-gnueabi"
>> : sysroot is not supposed to point to the cross compiler
>> directory, but to the sysroot of the *device* (same goes for
>> the LDFLAGS, the PKG_CONFIG_SYSROOT_DIR, and the kernel
>> headers path)
>> 2. the "/build" part of the kernel headers path needs to be
>> removed
>> 3. do you use hardfloat or softfloat? In one place, you use
>> cortexa9, in another, cortexa9hf
>>
>> I attached an example script that may be clearer (at
>> successfully builds the plugins). It builds for the Sabre SD
>> DualLite platform.
>>
>> cheers
>>
>>
>
>
[-- Attachment #2: Type: text/html, Size: 7412 bytes --]
next prev parent reply other threads:[~2013-12-09 21:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 15:48 Regarding GStreamer-1.x status on iMX6Q Joshua Kurland
2013-11-18 16:07 ` Otavio Salvador
2013-11-18 16:54 ` Carlos Rafael Giani
2013-11-18 18:20 ` Joshua Kurland
2013-11-20 13:24 ` Carlos Rafael Giani
2013-11-20 15:25 ` Joshua Kurland
2013-11-20 18:52 ` Carlos Rafael Giani
2013-11-21 1:59 ` Philip Craig
2013-12-02 1:36 ` Carlos Rafael Giani
2013-12-09 20:05 ` Joshua Kurland
2013-12-09 20:31 ` Carlos Rafael Giani
2013-12-09 21:14 ` Joshua Kurland
2013-12-09 21:17 ` Carlos Rafael Giani
2013-12-09 21:26 ` Joshua Kurland
2013-12-09 21:31 ` Carlos Rafael Giani [this message]
2013-12-10 18:52 ` Joshua Kurland
2013-12-10 19:01 ` Carlos Rafael Giani
2013-12-10 19:15 ` Joshua Kurland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A6369F.70809@pseudoterminal.org \
--to=dv@pseudoterminal.org \
--cc=joshua.kurland@adtecdigital.net \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.