Home > Davinci, Education, Gstreamer, LeopardBoard > Using Gstreamer with Leopard Board Camera

Using Gstreamer with Leopard Board Camera

October 22nd, 2009

Maria and Cristina has been working hard this semester on the Leopard Board. They are interns from the Costa Rica Institute of Technology (and soon full time members of our team).

Maria has modified (hacked?) the Leopard camera driver for 2.6.29 to play nicely with the v4l2src. The original driver is actually a hack in the way it works (YUV sensor attached to the Bayesian interface), so we require a bit of creativity to make it respond properly to the v4l2 APIS.

Cristina has added support for the DM355s codecs to gstreamer on Diego’s branch, providing DM355 gstreamer support for AAC and MP3 encoding (finally!). We are on the final test stages for the audio decoding as well. WMA was on the plans, but the Ittiams codecs haven’t been very cooperative. Cristina also added the support for the audio codec for the Leopard to the kernel.

So, as a proof of concept they just recorded the following video. The video was recorded with:

gst-launch -e v4l2src num-buffers=100 always-copy=false ! dmaiaccel ! queue
! dmaienc_mpeg4 ! qtmux ! filesink location=/test.mp4

One more thing. The camera currently have a bug, so as you will notice is recording only at 10fps.

Updated: I forgot to mention a couple things: it uses the VGA camera (we don’t have support for the other sensors yet), and we also have a demo for RTSP streaming, blogging on that later tonight.

Download the video here.

If you have a browser with HTML5 support, you may see the video below:

Enjoy.

Davinci, Education, Gstreamer, LeopardBoard

  1. October 22nd, 2009 at 12:02 | #1

    That’s awesome. Does it work with the VGA camera?

  2. October 22nd, 2009 at 12:04 | #2

    roberto :
    That’s awesome. Does it work with the VGA camera?

    Um. Ignore the question above. The mailing list message says it uses the VGA camera… which I own :)

  3. tunca
    October 24th, 2009 at 13:25 | #3

    Thanks Maria and Cristina. Great job!

  4. tunca
    October 25th, 2009 at 09:38 | #4

    And you’re using RidgeRun SDK for leopardboard right?

  5. October 25th, 2009 at 16:26 | #5

    @tunca
    Yes, this is using the RidgeRun SDK. However this SDK is not the current available version. We will be releasing an updated SDK that will have this capabilities out of the box next week

  1. October 25th, 2009 at 16:45 | #1
Comments are closed.