Proof-of-concept media player image
From OpenTom
Contents |
check it out
NB! There are no reports of this actually working on a Tom Tom GO 300. It will not break it, all you will hear is white noise. Have a bent paper-clip ready to press the reset button on the underside of the device!
perhaps recompiling kernel is possible to have a working release on TomTom Go 300.
- Get yourself a SD-Card
- Put a nice, fresh VFAT-Filesystem on it; it is usually insufficient to simply delete all files from the disk!
- you can format an SD card with FAT16/FAT32.
- Copy our ttsystem in the root directory.
- Create a subdirectory called "media"
- Put everything you want to be played there
- Boot your TomTom Go with that card.
- Have Fun!
- Tell us how you liked it here.
download
(hold down your shift key to save it) -- http://www.linux-it.nl/ttsystem-mp3 [4.360.187 bytes]
and don't forget to rename it to ttsystem
what's in it
- linux 2.6 (from our subversion repository)
- busybox
- MPlayer
have more fun
When you access the serial console of your TomTom Go you can control the MPlayer. Also busybox will gladly open you a shell.
have way more fun
Build yourself a TomTom Go USB Host Cable, connect a USB Keyboard, your MP3 collection or whatever you want. For your convenience there's a framebuffer console and support for various USB<->Ethernet dongles built in.
Feedback
If you've tried this thing and perhaps liked it, we would be happy if you'd leave a note on our feedback page.
image of a running movie
(note: the clip looks routed of 90 degrees).
Alternative method
An alternative way to run the media player within TTGO is as follows.
Place the following files in the root directory of the standard TTGO SD card:
videosplash.avi (this should be your clip...) mplayer libz.so.1 libpng12.so.0 libts-0.0.so.0 libmad.so.0 libvorbis.so.0 libncurses.so.5 libogg.so.0 libpostproc.so.0 libjpeg.so.62 ttn (this is a shell script: see below)
Example of ttn file (placed in root filesystem of the SD card):
#!/bin/sh ln /dev/fb /dev/fb0 cp /mnt/sdcard/lib* /lib /mnt/sdcard/mplayer -noconsolecontrols -vo fbdev -vf rotate=1 /mnt/sdcard/videosplash.avi /bin/ttn #EOF
mplayer and dependencies can be downloaded from: http://www.openzaurus.org/official/unstable/3.5.3/feed/ or http://oz.hentges.net/mirror/oz3.5.3/feed/ (correct machine type: c7x0 ??? TBV)
(total of about 5 MB of free space required on the SD card + media clip.)
mplayer documentation: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
Package details:
Package: mplayer Description: Open Source multimedia player. Architecture: arm mplayer: mplayer_1.0pre6a-r0_arm.ipk Version: 1.0pre6a-r0 OE: mplayer-1.0pre6a Section: opie/multimedia Download it from: mplayer (http://www.openzaurus.org/official/unstable/3.5.3/feed/opie/mplayer_1.0pre6a-r0_arm.ipk)
Example of command line:
/mnt/sdcard/mplayer -noconsolecontrols -vo fbdev -vf rotate=1 /mnt/sdcard/videosplash.avi >> /mnt/sdcard/mplayer.log 2>&1
Note: -vf rotate=1 seems to slow the playback down
Depends:
libmad0 (>= 0.15.0b), libmad.so.0: libmad0_0.15.0b-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libmad0_0.15.0b-r0_arm.ipk) libvorbis (>= 1.0.1), libvorbis.so.0: libvorbis_1.0.1-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libvorbis_1.0.1-r0_arm.ipk) libogg0 (>= 1.1), libogg.so.0: libogg0_1.1-r1_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libogg0_1.1-r1_arm.ipk) libz1 (>= 1.2.2), libz.so.1: libz1_1.2.2-r5_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libz1_1.2.2-r5_arm.ipk) ncurses (>= 5.4), libncurses.so.5: ncurses_5.4-r7_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/ncurses_5.4-r7_arm.ipk) libc6 (>= 2.3.2+cvs20040726), libpostproc0 (>= 1.0pre6a), libpostproc.so.0: libpostproc0_1.0pre6a-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/opie/libpostproc0_1.0pre6a-r0_arm.ipk) libjpeg62 (>= 6b), libjpeg.so.62: libjpeg62_6b-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libjpeg62_6b-r0_arm.ipk) libpng12-0 (>= 1.2.8), libpng12.so.0: libpng12-0_1.2.8-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/libs/libpng12-0_1.2.8-r0_arm.ipk) libts-0.0-0 (>= 0.0cvs20050403), libts-0.0.so.0: libts-0.0-0_0.0cvs20050403-r18_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/dev/libts-0.0-dev_0.0cvs20050403-r18_arm.ipk) libgcc1 (>= 3.4.3)
Sources: http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre6a.tar.bz2
Additional notes:
- Archivers like http://www.7-zip.org/ can be used to open ipk archives
- Remember to extract all the links to the libraries, other then the libraries themselves; alternately, rename the libraries (check the lib directory of each package) to the names internally referenced by mplayer
- In order to debug the mplayer startup, it useful to redirect stdout and stderr to a file

