Gstreamer-imx plugin with Buildroot

Our i.MX6 platforms have great multimedia features and this post will describe how to leverage them using the most used multimedia framework Gstreamer along with a Buildroot filesystem. What is it? Gstreamer: This is a pipeline-based multimedia framework written in the C programming language with the type system based on GObject. Gstreamer-imx: This is a set of GStreamer 1.0 plugins for Freescale’s i.MX platform, which make use of the i.MX multimedia capabilities. Buildroot: Buildroot is a nice, simple, and efficient embedded Linux build system.¬†You can learn more about this project by looking at this presentation from the ELC2014: Dive into Buildroot core. For the impatient If you just want to …

garybissonGstreamer-imx plugin with Buildroot

Ubuntu Trusty December 2014 release

It’s the middle of December and time for an updated image with Ubuntu 14.04 (code name Trusty) for our i.MX6 boards. It’s also time that we pushed a console-only image for those using our boards in applications that don’t require X. You can download the images from here: 20141215-nitrogen-3.10.17_1.0.2_ga-trusty-en_US-lxde_armhf.img.gz 20141215-nitrogen-3.10.17_1.0.2_ga-trusty-en_US-console_armhf.img.gz In addition to general updates to our kernel and other packages, the LXDE image contains support for semi-accelerated Qt5. Note that this is based on Ubuntu’s release of Qt 5.2.1+dsfg. If you want the best-performing Qt5 release, please check out The Qt Company’s product. The detailed description of our changes is here: 20141215-nitrogen-3.10.17_1.0.2_ga-trusty-en_US-lxde_armhf.description Programming the image The images are slightly-less-than-4GiB …

ericnUbuntu Trusty December 2014 release

Rapping up Raring

To tie a string around our post about the Linaro Raring images and the post showing how to accelerate video, we’ve put together an image based on Linaro latest Raring ALIP that contains GPU acceleration and the GStreamer binaries for accelerated video playback and camera access. Jasbir showed that it could be done, and we wanted to make sure that you have an easy way to test things out. For the impatient You can download the SD card image from here: alip-gpu-gstreamer-20131219.img.gz As usual, you can write the SD card image to disk using zcat and dd under Linux. It requires a 4GB card, and can be extracted like so: …

adminRapping up Raring

i.MX6 Video acceleration on Ubuntu Raring (and Debian)

When we recently posted Linaro Raring images for i.MX6, we were surprised at the number responses regarding hardware acceleration, and especially video acceleration. For a long time now, we’ve been saying that it could be done, but leaving it as an exercise for the reader. In other words, go read the manuals and figure it out. Based on the response, it’s probably time to show some details. It’s not very pretty, but the following will show you how it can be done. I recommend a full cup of coffee and a SATA drive, because almost all of this will occur on the device, and native compilation is very slow on …

admini.MX6 Video acceleration on Ubuntu Raring (and Debian)

Yocto Dora release (for i.MX6)

In case you missed it, the Yocto Dora branch arrived late on Friday night. Please join me in thanking Otavio and the meta-freescale team for working late and getting this done. The Dora branch contains support for our latest kernel directly, so you can follow Daiane’s excellent instructions for how to build and simply replace dylan with dora in Step 1 (Download the Source Code). We built an image over the weekend and have been testing a build of fsl-image-gui today. It’s performing quite well, and contains support for both GPU X acceleration and GStreamer video acceleration. The steps to build were simple: ~/$ mkdir yocto && cd yocto ~/yocto$ …

adminYocto Dora release (for i.MX6)

LTIB 4.0.0 images

We just uploaded a couple of images of the 4.0.0. release of kernel and LTIB from Freescale that include our latest kernel. There are two images: ltib4-with-x-20130618.tar.gz – This image was built with the FSL gnome release package configuration, which includes X-Windows, gstreamer-acceleration, and GPU acceleration. ltib4-no-x-20130618.tar.gz – This image was built with gstreamer-acceleration and GPU acceleration, but without X-Windows. The precise LTIB configuration is included in each image in the file ltib-4.0.0-config.tar.gz. Each of the images can be extracted to a single-partition SD card formatted as ext2/3/4 like so (assuming that your SD card shows up as /dev/sdc): ~/$ echo ‘,,83,*’ | sudo sfdisk /dev/sdc ~/$ sudo mkfs.ext3 -L …

adminLTIB 4.0.0 images

OV5642 auto-focus on i.MX6

Before After Source is here. ‘Nuff said? Probably not. More detail is probably useful. A word of thanks Before the details, I’d first like to thank the folks at Ray Business Technologies for helping put this together. They have a strong team of embedded developers with competency in embedded Linux, i.MX6, and gstreamer and we wouldn’t have gotten this done without their help. Okay, more details For those of you using our Omnivision OV5642 parallel camera module, you may have noticed that it doesn’t do auto focus, but defaults to a long-range (infinite) focal length. This doesn’t mean that the hardware doesn’t support it, only that the drivers supplied by …

adminOV5642 auto-focus on i.MX6

Timesys 2013-03 release

Timesys has issued an updated release for our Nitrogen6X and BD-SL-i.MX6 (formerly SABRE Lite) boards. This release is primarily to update the kernel, but the folks at Timesys have also added some new features to the demo for a better out-of-the box experience that we’ll describe below. First, the demo Download We’ll begin shipping this image with new boards in the next couple of days. If you just want to try it yourself, you can download the image from Timesys here. If you haven’t already, they’ll ask you to register, but I promise, they’ll be nice to deal with. Now the details New kernel release This release is the first …

adminTimesys 2013-03 release

Playing multiple HD videos on i.MX6

This is just a quick post with some details of some gstreamer-fu to decode and play back multiple HD videos using the VPU hardware acceleration on the i.MX6. The command-lines below use the mfw_isink gstreamer element to display the output from the 1920×816 Kung Fu Panda trailer from pocketmovies.net into three windows on a display configured at 1080P. The only real trick to this is setting the display-width, display-height, axis-top, and axis-left parameters. For what it’s worth, this was tested on our LTIB-No X userspace. Window 1 at 0:0 root@boundary ~/$ gst-launch filesrc location=kungfu.flv ! ‘video/quicktime’ ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! mfw_isink disp-width=960 disp-height=408 …

adminPlaying multiple HD videos on i.MX6

LTIB on i.MX6 without X

Our previous LTIB images for i.MX6 have all been re-packaged versions of the binaries released by Freescale. We just uploaded the first that we actually built ourselves. You can download it from here: ltib-12.09-20121219.tar.gz To install it, simply download and extract onto a single-partition SD card like so: ~/$ echo ,,83 | sudo sfdisk /dev/mmcblk0 ~/$ sudo mkfs.ext3 -L ltib-12.09 /dev/mmcblk0p1 && sync ~/$ udisks –mount /dev/mmcblk0p1 ~/$ sudo tar -C /media/ltib-12.09/ -zxvf ltib-12.09-20121218.tar.gz ~/$ sync && sudo umount /media/ltib-12.09 For those of you who have gone through the process, LTIB can be quirky and has a number of host-system dependencies that can get in the way of a successful …

adminLTIB on i.MX6 without X