|
|
| FFmpeg Openbsd with chroot howto |
|
|
|
| Written by Bart Dorlandt |
| Monday, 21 April 2008 00:00 |
|
I use this program in OpenBSD for Gallery2. FFmpeg needs some X libraries. The file it uses can be found in the xbaseXX.tgz package. You don't need to install the whole package. Just extract it in /tmp and copy the files:
change it to: # be sure to be root for the following tasks After this install FFmpeg and it will be completed. pkg_add -ai ffmpeg-20070501p0 Chroot howtoFirst we will have to copy the file mentioned above to the same directory in the chroot environment. Copy these files to /var/www/usr/lib. mkdir -p /var/www/usr/lib Next, we will have to copy the program and its libraries to the chroot environment. You might want use the script I wrote. This script will copy everything you need. Execute the following command: ./script /usr/local/bin/ffmpeg After you have done this you'll need to make some symlinks in order to get ffmpeg to work. cd /var/www/usr/lib Now you may test it to see if ffmpeg works. To do this you need the program sh in /var/www/bin/. Then you may execute the following: chroot /var/www /bin/sh If it print a huge list of commands if all went well. Respond below if you have any questions. |
| Last Updated on Friday, 13 February 2009 15:40 |
| Related items: |
|---|
|


