Fwd: [beagleboard] Re: how to let gstreamer and dsplink to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


hi. Brijesh

I want to tell you the result of the dsplink test today, and I would
like you give me some proposals.
1)  I changed the bootargs, added the mem=88M.

I have see "New beagleboard demo image, now with 100% more DSP " at
google groups mailing list.
   https://groups.google.com/group/beagleboard/browse_thread/thread/a88dccbb7acc06c?pli=1

I set the loadmodule.sh file as follow:
modprobe cmemk phys_start=0x85800000 phys_end=0x86800000
pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000
# insert DSP/BIOS Link driver
modprobe dsplinkk
# make /dev/dsplink
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
# insert Local Power Manager driver
modprobe lpm_omap3530
# insert sdma module
modprobe sdmak

2) load modules ok
root at beagleboard:~# ./loadmodule.sh
ioremap_nocache(0x85800000, 16777216)=0xc8000000
allocated heap buffer 0xc8000000 of size 0x522000
cmem initialized 6 pools between 0x85800000 and 0x86800000
DSPLINK Module (1.60) created on Date: Apr  8 2009 Time: 10:39:08

3) the first time, I use this command for playing mp4 video. this
time, an error is happened without any video display, but I could hear
its sound. with the same command, the second time, it can play this
mp4 video as normal, but with some "mmcblk0: error -84 transferring
data" errors.
except for that, it didn't play to its end of the video, and be hanged
after many(maybe fewer than 60 seconds) seconds.  the video playing
don't  go on, and stop at any point. I am confused why is this
happened.
I have read that thread, but still didn't know how to deal with this.

it seems that the gst-ti plugin and its TI codec combos is not robust
enough, is it? maybe I am wrong, please correct me.


root at beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/4.mp4  ! typefind ! qtdemux name=demux demux.aud
io_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 ! typefind
! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink v
ideoStd=D1_NTSC displayDevice=/dev/fb2  displayStd=fbdev

0:00:02.932525634  1556   0x1b17d0 ERROR      TIDmaiVideoSink gsttidmaivideosink
.c:1077:gst_tidmaivideosink_init_display: Failed to open display device

0:00:02.935852049  1556   0x1b17d0 ERROR      TIDmaiVideoSink gsttidmaivideosink
.c:1249:gst_tidmaivideosink_render: Unable to initialize display

New clock: GstAudioSinkClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:

test result: I can hear the video sound, but without any video display out.

root at beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/4.mp4  ! typefind ! qtdemux name=demux demux.aud
io_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 ! typefind
! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink v
ideoStd=D1_NTSC displayDevice=/dev/fb2  displayStd=fbdev

WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
mmcblk0: error -84 transferring data
end_request: I/O error, dev mmcblk0, sector 1420693
end_request: I/O error, dev mmcblk0, sector 1420701
end_request: I/O error, dev mmcblk0, sector 1420709
end_request: I/O error, dev mmcblk0, sector 1420773
0:01:25.549499504  1570 0x45b017c8 ERROR            TIAuddec1 gsttiauddec1.c:111
4:gst_tiauddec1_decode_thread: fatal bit error

test result: I can see the video display and the sound as well. but
only can play few seconds, and hang.
except for that, an "end_request: I/O error" shows out.

4) I test another video with the same command, this time it can't play
anything at all, instead, CMEMK Error is happened. it seems it is the
cmem modprobe and mem of bootargs problem, but the previous test show
that I can use these arguments to play video, even though, few seconds
(20~35s). any ideas, why?

root at beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/Terminato.mp4   ! typefind ! qtdemux name=demux
demux.audio_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 !
typefind ! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVi
deoSink videoStd=D1_NTSC displayDevice=/dev/fb2  displayStd=fbdev


CMEMK Error: get_phys: Unable to find phys addr for 0xbca65000
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEMK Error: GETPHYS: Failed to convert virtual 0xbca65000 to physical.
CMEM Error: getPhys: Failed to gDMA transaction error with device 0
et physical address of 0xbca65000
New clock: GstAudioSinkClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000

highly appreciated for your help


~~~~~~~~~~~~~~~~~
 /favor
~~~~~~~~~~~~~~~~~




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux