Meego Wiki
Views

ARM/N900/Tips and Tricks/DSP

From MeeGo wiki
< ARM | N900(Difference between revisions)
Jump to: navigation, search
(Making TI DSP codecs work on MeeGo N900)
(categorize, wikify link)
 
Line 2: Line 2:
# Make sure you've got an SSH access to the N900
# Make sure you've got an SSH access to the N900
-
#* For USB networking, see [http://wiki.meego.com/ARM/N900/Tips_and_Tricks/N900_USB_Networking this page]
+
#* If you want it, see the article on [[ARM/N900/Tips and Tricks/N900 USB Networking|USB networking]]
# Install gst-dsp and dsp-tools
# Install gst-dsp and dsp-tools
#* Get the RPM's from [http://repo.meego.com/MeeGo/builds/trunk/daily/oss/repos/armv7l/packages/armv7l/ MeeGo Core repository]
#* Get the RPM's from [http://repo.meego.com/MeeGo/builds/trunk/daily/oss/repos/armv7l/packages/armv7l/ MeeGo Core repository]
Line 25: Line 25:
#* Test video playback with a video-only pipeline: '''gst-launch-0.10 filesrc location=<file> ! <demux> ! queue ! dspvdec ! omapfbsink'''
#* 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'''
#* For MP4/3GP files, use '''qtdemux''' as <demux>, for '''MKV''', use '''matroskademux''', for '''OGG''' use '''oggdemux'''
 +
 +
[[Category:N900]]

Latest revision as of 13:48, 17 March 2011

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