Meego Wiki
Views

ARM/N900/Tips and Tricks/DSP

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "== Making TI DSP codecs work on MeeGo 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_US…")
(Making TI DSP codecs work on MeeGo N900)
Line 20: Line 20:
# Test video playback
# Test video playback
#* Have a video clip with an MPEG4, DivX, XVid, 3ivc, H.263 or H.264 video stream in it.
#* Have a video clip with an MPEG4, DivX, XVid, 3ivc, H.263 or H.264 video stream in it.
 +
#* Try e.g. [http://koti.kapsi.fi/~sh8dfwk/bbb_mpeg4_vorbis_854x480.mkv this clip]
#* (If logged in as root, '''cp /home/meego/.Xauthority /root''')
#* (If logged in as root, '''cp /home/meego/.Xauthority /root''')
#* '''export DISPLAY=:0.0 && xhost +'''
#* '''export DISPLAY=:0.0 && xhost +'''
#* 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'''

Revision as of 12:45, 14 February 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