View Full Version : ffmpeg wont run

01-05-2008, 12:09 AM
I have installed ffmpeg

When I issued the following command for testing

ffmpeg -i robot.avi -s 320x240 44100 -r robot.flv

I get segmentation fault
Can someone help what might be wrong?

01-05-2008, 07:00 AM
Did you install this on a WH account? How did you install it if you did?

A Segmentation Fault (http://en.wikipedia.org/wiki/Segmentation_fault) has to do with memory and an attempt to access it in a way that is not allowed. More then likely it is trying to write something to a directory in the system that we do not have access to. Was there anything more to the error like path information?

01-05-2008, 01:05 PM
I need to install ffmpeg on my server for some out-of-box video sharing sites.

I have had 2 seperate video sharing companies try to install it, but they have not succeeded. Does anyone have any information on how to do this on a westhost VPS?

01-05-2008, 03:37 PM
The times I have played with this in the past there has always been the problem that we do not have true root access. Even if we could get it installed I am not sure how long it would be before the account would overload the server and we would get server load notifications from West Host. :) I get the feeling that this would best be used on a dedicated server instead of a shared one.

01-05-2008, 03:45 PM
West host does not allow root access even with dedicated servers. How do people run video cms software on westhost?

I spoke to support and they said people have been able to install ffmpeg on vps.

01-05-2008, 03:56 PM
How about this type of software:

# Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
# Flv2tool (http://inlet-media.de/flvtool2)
# Libogg + Libvorbis (http://www.xiph.org/downloads)
# LAME MP3 Encoder (http://lame.sourceforge.net)

I need it for clip-share.com

I need ffmpeg for video cms


If anyone has other video cms suggestions i would be open.

01-06-2008, 02:23 PM
I believe there is a precompiled ffmpeg package for the Westhost environment. I used it to encode a bunch of jpg files to a flv file for time lapse playback. Unfortunately it used too much CPU for my liking, so I stopped using it to be nice to the other VPSes on the server.

I can try to find my ffmpeg binary if you want. Just make sure you are nice to the server (don't use too much CPU). The servers seem to be perfectly balanced for general websites and minor server side stuff. Things like video encoding and high disk usage won't run too well.


01-07-2008, 05:57 PM
yeah I've been doing some research and it seems that ffmpeg is going to take alot of CPU usage. I do not plan to use it for much, now i'm just more wanting to get the darn thing installed on my server than anything. If you can send me a precopiled package I'd be very appreciative.

01-08-2008, 11:05 AM
You can download the precompiled binary I use at: http://files.fwdweb.com/uploads/ffmpeg.zip .


01-09-2008, 07:26 PM
Thanks for your help. I have had three developers attempt to install ffmpeg and they all have the same barrier. They need root access. Is the only way to get it install to have westhost do it?

01-09-2008, 10:48 PM
For now you can just use the precompiled binary. Just place it in your /usr/local/bin directory and it should work.

I can't remember if I downloaded this binary or compiled it by hand. I generally try to compile things like this on a separate redhat box then copy it to my VPS.