gst-dsp problems on BB xM

105 views
Skip to first unread message

Andrey

unread,
Feb 5, 2012, 3:22:26 AM2/5/12
to gst-dsp
Hi,

I've installed Ubuntu Oneiric 11.10 on my BB xM as described here:
http://elinux.org/BeagleBoardUbuntu (using NetIinstall method if it is
matter). In addition, I've installed gst-dsp also as described on the
same page. Everything seams to work fine:
$ uname -a
Linux t3 3.2.3-x4 #1 SMP Sat Feb 4 10:33:25 UTC 2012 armv7l armv7l
armv7l GNU/Linux
$ sudo dsp-test
copied 1000 times successfully

However, I am unable to use dsph264enc because of the errors while
trying to execute corresponding pipeline. The reason seams to be
mentioned in dmesg:

[ 4955.190002] cod_open: error status 0xfffffff7, sz_coff_path:
/lib/dsp/h264venc_sn.dll64P flags: 0x0
[ 4955.302520] procwrap_detach: deprecated dspbridge ioctl

h264venc_sn.dll64P is missing and according to the message here
http://groups.google.com/group/omapdiscuss/msg/76d928726656c5fe there
is no reasons to expect that it will be fixed soon.

So I decide to try mp4 encoder instead of h264. Unfortunately it also
does not work. The pipeline runs for several seconds producing correct
video file, but then just stopped on it's own. The following is the
complete output:

GST_DEBUG=2 gst-launch v4l2src do-timestamp=true always-copy=FALSE !
video/x-raw-yuv,width=320,height=240,framerate=25/1 ! ffmpegcolorspace
! video/x-raw-yuv,format=\(fourcc\)UYVY ! dspmp4venc ! avimux !
filesink location="ttt.avi"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:01.380645752 1693 0x1285d50 WARN bin
gstbin.c:2380:gst_bin_do_latency_func:<pipeline0> did not really
configure latency of 0:00:00.000000000
dsp_thread: failed waiting for events: 5
0:00:08.119049071 1693 0x1267ba8 ERROR dsp
gstdspbase.c:645:dsp_thread:<dspmp4venc0> failed waiting for events: 5
gstdsp_got_error: unable to get event
0:00:08.121093749 1693 0x1267ba8 ERROR dsp
gstdspbase.c:614:gstdsp_got_error:<dspmp4venc0> unable to get event
ERROR: from element /GstPipeline:pipeline0/GstDspMp4VEnc:dspmp4venc0:
unable to get event
Execution ended after 7152709961 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

In the dmesg I can see the following:
[ 5298.419525] omap-dsp omap-dsp: bridge_deh_notify: DSP_MMUFAULT,
addr=0x21f3e000
[ 5298.486724] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 5298.602966] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 5298.615417] proc_start: dsp in running state

I would kindly appreciate any hints how to fix or debug the problem. I
would prefer to use h264 for my project, but can also leave with mp4
and will appreciate any help.

Thank you,
Andrey.
Message has been deleted

Andrey Nechypurenko

unread,
Dec 5, 2012, 5:02:27 PM12/5/12
to kshri...@gmail.com, gst...@googlegroups.com
Hi Shri!

> I also have the same problem. Could you fix it ?

It was quite some time ago, and unfortunately I do not remember
exactly whether I finally made it work. I guess the folks from gst-dsp
project provided some patches which should fix the problem. I hope
someone at this mail list can provide more details.

Anyway, for several reasons I switched to Angstrom which provides
gstreamer-ti which works fine for me. Sorry, that I can not provide
more help.

Regards,
Andrey.

>
> Regards
> shri
Reply all
Reply to author
Forward
0 new messages