Monday, August 25, 2008

JMF on Ubuntu

Two tweaks seem to be needed to use JMF to capture video from a webcam on Ubuntu:

1. As described in this thread, you need to edit the install script (before running it as it erases itself when run!) you get off Sun's site
- edit the file using vim -b as it is partially a binary file
- change the arguments to tail from 'tail +309' to 'tail -n+309'

2. As described in this thread, copy all the libraries (.so files) in JMFHOME/lib/ to /usr/lib, and run ldconfig (as root) to update.For distribution you would obviously want to do this differently, this is just a quick hack to get started


Post a Comment

<< Home