Pandboard ES and gst-ducati h.264 encoding error

721 views
Skip to first unread message

Steve Turley

unread,
Dec 19, 2011, 1:35:48 PM12/19/11
to pandaboard
I'm attempting to encode video in H.264 using GStreamer on the
Pandaboard ES running Ubuntu 11.10 server. I installed the ubuntu-
omap4-extras from the tiomap-dev PPA.

Here is the GStreamer pipeline:
gst-launch -v videotestsrc num-buffers=1000 ! ducatih264enc ! 'video/x-
h264' ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.1.2 port=10000

And the error message:
videnc2_control return value is :0
assert: blk->dim.area.width (=0) !> 0 at check_block(memmgr.c:632)
Caught SIGSEGV accessing addres (nil)

What am I missing to encode h.264 using Ducati? Is there an alternate
pipeline?

Steve Turley

unread,
Dec 20, 2011, 4:39:52 PM12/20/11
to pandaboard
It looks like this is coming from line 147 in gstducatibufferpool.c

if (caps) {
GstStructure *s = gst_caps_get_structure (caps, 0);

self->caps = gst_caps_ref (caps);
gst_structure_get_int (s, "width", &self->padded_width);
gst_structure_get_int (s, "height", &self->padded_height);
} else {
self->padded_width = 0;
self->padded_height = 0;
self->caps = NULL;
}

I get the same result even if I stick a caps filter before
ducatih264enc and specifically set the height and width. Why is the
caps pointer null?

Has anyone been able to get the Ducati H264 encoder to work with
GStreamer? Can you share your pipeline?

Rob Clark

unread,
Dec 20, 2011, 5:33:29 PM12/20/11
to panda...@googlegroups.com
fwiw, you might want to rebuild gst-ducati from
git://gitorious.org/gstreamer-omap/gst-ducati.git as the one in the
PPA is a bit old. This particular bug was fixed already, but I guess
no one has had time to update the PPA yet.

BR,
-R

Rob Clark

unread,
Dec 21, 2011, 11:14:39 AM12/21/11
to AppalaRaju, panda...@googlegroups.com
I don't think there are more recent packages than what is in PPA,
although you can git clone and manually build latest from git trees on
http://gitorious.org/gstreamer-omap

Or if you are not comfortable doing that, then I guess once the
holidays are over the PPA will be updated again

BR,
-R

On Wed, Dec 21, 2011 at 4:20 AM, AppalaRaju <raj...@gmail.com> wrote:
> Hi Robdclark,
>
> It seems, ubuntu-omap4-multimedia-extra package on PPA is not latest as you
> said.
> Can you please guide me, how to install latest packages from mentioned
> repository.
> Ans also please mention, what are the latest packages than the PPA.
>
> Thanks,
> Raju

> --
> అప్పల రాజు

Steve Turley

unread,
Dec 22, 2011, 4:55:59 PM12/22/11
to pandaboard
I re-built from Gitorious and works great now. Thanks!

On Dec 21, 10:14 am, Rob Clark <robdcl...@gmail.com> wrote:
> I don't think there are more recent packages than what is in PPA,
> although you can git clone and manually build latest from git trees onhttp://gitorious.org/gstreamer-omap
>
> Or if you are not comfortable doing that, then I guess once the
> holidays are over the PPA will be updated again
>
> BR,
> -R
>
>
>
>
>
>
>
> On Wed, Dec 21, 2011 at 4:20 AM, AppalaRaju <raju...@gmail.com> wrote:
> > Hi Robdclark,
>
> > It seems, ubuntu-omap4-multimedia-extra package on PPA is not latest as you
> > said.
> > Can you please guide me, how to install latest packages from mentioned
> > repository.
> > Ans also please mention, what are the latest packages than the PPA.
>
> > Thanks,
> > Raju
>
> > On Wed, Dec 21, 2011 at 4:03 AM, Rob Clark <robdcl...@gmail.com> wrote:
>
> >> fwiw, you might want to rebuild gst-ducati from
> >> git://gitorious.org/gstreamer-omap/gst-ducati.git as the one in the
> >> PPA is a bit old.  This particular bug was fixed already, but I guess
> >> no one has had time to update the PPA yet.
>
> >> BR,
> >> -R
>
> >> On Tue, Dec 20, 2011 at 3:39 PM, Steve Turley <steve.tur...@syncbak.com>

Salvatore Novelli

unread,
Jan 4, 2012, 2:17:10 PM1/4/12
to pandaboard

I'm trying to rebuild from gitorius but i get this error:


checking for MEMMGR... configure: error: Package requirements
(libtimemmgr) were not met:

No package 'libtimemmgr' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Does anybody knows how to solve it?

Thank a lot
Salvatore Novelli




On Dec 22 2011, 10:55 pm, Steve Turley <steve.tur...@syncbak.com>

Steve Turley

unread,
Jan 4, 2012, 3:59:48 PM1/4/12
to pandaboard
Salvatore,

You can install the development package for libtimemmgr using apt-
get. sudo apt-get install libtimemmgr-dev.

There may be some other development packages you will need as well.
Look here for whatever packages the configure script can't find.
https://launchpad.net/~tiomap-dev/+archive/release/+packages

-Steve

On Jan 4, 1:17 pm, Salvatore Novelli <salvatore.nove...@gmail.com>
wrote:

trivo...@gmail.com

unread,
Jan 5, 2012, 12:48:40 AM1/5/12
to pandaboard
I am on the verge of giving up here... successfully compile gst-ducati
library, got the files installed in /usr/local/lib/gstreamer-0.10 but
somehow wasn't properly linked to gstreamer, so I overwritten
libgstducati.so over in /usr/lib/gstreamer-0.10 (where all the other
libs are) and voila, all ducati modules disappeared from gst-
inspect... help?
Tri
On Jan 4, 2:59 pm, Steve Turley <steve.tur...@syncbak.com> wrote:
> Salvatore,
>
> You can install the development package for libtimemmgr using apt-
> get.  sudo apt-get install libtimemmgr-dev.
>
> There may be some other development packages you will need as well.
> Look here for whatever packages the configure script can't find.https://launchpad.net/~tiomap-dev/+archive/release/+packages

Rob Clark

unread,
Jan 5, 2012, 4:59:22 PM1/5/12
to panda...@googlegroups.com
when building, you could use --prefix=/usr when running autogen.sh / configure

BR,
-R

salvator...@gmail.com

unread,
Jan 6, 2012, 5:02:31 AM1/6/12
to panda...@googlegroups.com
Thank you very much :)

Salvatore Novelli

unread,
Jan 6, 2012, 7:45:55 AM1/6/12
to pandaboard
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!!!!


I AM HAPPY! Finally!

Compiling from gitorius sources the gst-ducati and using the --prefix=/
usr

( ./autogen-sh --prefix=/usr )

And i received the video test!

The only problem now is that the video stops after few seconds....

Looking further to solve this also :)

Thanks again to all

On Jan 5, 10:59 pm, Rob Clark <robdcl...@gmail.com> wrote:
> when building, you could use --prefix=/usr when running autogen.sh / configure
>
> BR,
> -R
>
> On Wed, Jan 4, 2012 at 11:48 PM, trivoldu...@gmail.com

Salvatore Novelli

unread,
Jan 6, 2012, 6:03:44 AM1/6/12
to pandaboard
Ehehe, same happened to me. I builded it and when i make install it it
told me that the library was installed in the /usr/local/lib

BUT gst-inspect was referring to /usr/lib

then i tried to overwrite them and gstreamer was totally unusable.

Now i'm reinstalling ubuntu from 0, and i'll try to use that prefix.

Is it exactly --prefix=/usr??
so

./autogen-sh --prefix=/usr
make
sudo make install

?

Thanks to everybody :)

On Jan 5, 6:48 am, "trivoldu...@gmail.com" <trivoldu...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages