Meego Wiki
Views

ARM/N900/Tips and Tricks/DSP

From MeeGo wiki
< ARM | N900
Jump to: navigation, search

Making TI DSP codecs work on MeeGo N900

  1. Make sure you've got an SSH access to the N900
  2. Install gst-dsp and dsp-tools
  3. Install gst-omapfb from devel:devices:n900
  4. Get TI DSP binaries
  5. Copy the DSP binaries into N900 under /lib/dsp
    • on N900: mkdir -p /lib/dsp
    • on the folder with the unpacked binaries: scp * root@192.168.2.15:/lib/dsp
  6. Verify that the DSP codecs work on the device
    • (As root) Load the mailbox_mach module: modprobe mailbox_mach
    • (As root) Load the bridgedriver module: modprobe bridgedriver base_img=/lib/dsp/baseimage.dof
    • Test that the binaries work by running dsp-test on the device. If the binaries work, it should return copied 1000 times successfully
  7. Test video playback
    • Have a video clip with an MPEG4, DivX, XVid, 3ivc, H.263 or H.264 video stream in it.
    • Try e.g. this clip
    • (If logged in as root, cp /home/meego/.Xauthority /root)
    • export DISPLAY=:0.0 && xhost +
    • Test video playback with a video-only pipeline: gst-launch-0.10 filesrc location=<file> ! <demux> ! queue ! dspvdec ! omapfbsink
    • For MP4/3GP files, use qtdemux as <demux>, for MKV, use matroskademux, for OGG use oggdemux
Personal tools