|
FFMpeg on Bluehost or per user installation elsewhere |
|
|
|
I noticed today that there was a new ffmpeg version ( .50 ) out and decided to get it installed on my bluehost account. It was suprisingly easy. The only thing I couldn't find out an easy way to do bluehost was get the svn checkout or the git checkout. I just sshed over to another of my servers that did and then put the file up on the web. I will leave it up, on this site if anyone wants to download the version from today, but I don't plan to keep the most recent version up.
If you want to see if my compiled binary works on your bluehost server, which it should, just download it from my web server > wget http://jibwa.com/ffmpeg.bin
On bluehost your bash configuration will by default add any files you put in the ~/bin directory or home/bin. So I put the file there and changed the permissions for my user to run it.
> mkdir ~/bin > mv ffmpeg.bin ~/bin/ffmpeg > chmod u+x ffmpeg.bin
If you want to compile it, just get onto your command line and
> wget http://jibwa.com/ffmpeg.tar
> tar -xf ffmpeg.tar
> cd ffmpeg
The first issue I hit was once I got into the ffmpeg folder. It was trying to use the system /tmp which I don't have access to because I'm on a shared server.
> cd ~/ > mkdir temporary
So I tried to change the TMPDIR=~/temporary but that didn't seem to work. So, I just edited the configuration file
> vim configure (or pico/nano/emacs/etc)
about halfway down the file I found a block of code assigning the TMPDIR to /tmp
: ${TMPDIR:=$TEMPDIR} : ${TMPDIR:=$TMP} : ${TMPDIR:=/tmp}
and renamed it to
: ${TMPDIR:=$TEMPDIR} : ${TMPDIR:=$TMP} : ${TMPDIR:=~/temporary}
or instead of ~/tempororay you can name a full path using pwd
From there now ./configure worked but I got an error on the make process about a video_somethingrather.h in the /usr/something/something folder, after a google search
To solve simply run these steps in order > ./configure --disable-demuxer=v4l --disable-demuxer=v4l2
> ./make
Now, you should have your compiled binary, which you can simply move ffmpeg to ~/bin and it will run anytime you type
> ffmpeg
If you cant get it to run, check out my instructions above to make sure its in the right folder and has the right permissions
|
|
Under Construction
Jibwa.com is under construction. Watch out for broken links, missing pages, potholes and bulldozers. We apologize for the temporary inconvenience - Jibwa.com Staff
News and Updates
Flex 4 Pediatrics One
Recently Jibwa LCC published demonstration videos and a new website design for Pediatrics One Clinical Management software built on Flex Flash Builder...
Read More ...
Eclectic Flea Simple Business Site
Using hand written materials and some photos we managed to create a simple site for Tucson's artsy thrift store. The Eclectic Flea
...
Read More ...
Flash Builder 2 Release changes from beta
I am moving from (flex) Flash Builder Beta 2 to Flash Builder Release Stable and keeping notes on changes I've had to make to my code. 1.) mx names...
Read More ...
Radiology Gallery
Jibwa and Tripwirearts have built and launched a new website with Dr Benjamin Strong. radiologygallery.com for radiology continuing medical educ...
Read More ...
|