Server Administration & Management

“ffmpeg headers not found” error while installing ffmpeg in cPanel Servers

The error received is

checking for ffmpeg support… yes, shared
checking for ffmpeg headers… configure: error: ffmpeg headers not
found. Make sure you’ve built ffmpeg as shared libs using the –enable-shared option

This is due to missing header files in  “/usr/local/include/ffmpeg” directory.

Check whether the directory “/usr/local/include/ffmpeg” exists else create it.

# mkdir /usr/local/include/ffmpeg

The copy the header files.

# cp -p /usr/local/src/ffmpeg/libavformat/avio.h /usr/local/include/ffmpeg

# cp -p /usr/local/src/ffmpeg/libavformat/avformat.h /usr/local/include/ffmpeg

# cp -p /usr/local/src/ffmpeg/libavcodec/avcodec.h /usr/local/include/ffmpeg

You need to install your ffmpeg again. After installing the ffmpeg, install ffmpeg-php.

September 30, 2011 - Posted by | FFMPEG |

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: