ServerTune Logo Dedicated Servers Colocation VPS Server Management ServerTune.com
 
ServerTune HomeAbout usContact usHelp DeskKnowledgebaseSpecialLIVE Chat ServerTune
DirectAdmin VPS Server Management

Value, Power, and Performance :: Dedicated Servers starting $89 /month

Dedicated Server Hosting

Click here to view photos from the conferences we attended.   *** Follow ServerTune on: ServerTune is on Facebook ServerTune is on Twitter
 
Browse by category   Search
 


FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1
Printer Friendly
email to a friend
Email to friend
Add comment Add comment
Views: 1461
Votes: 0
Comments: 0
Posted: 05 Dec, 2009
by: Customer Service :: S.
* * * * *
Updated: 30 Apr, 2010
by: Customer Service :: S.

If you get the following error when running the command make to compile FFmpeg:

make: *** [ffmpeg_frame.lo] Error 1

There are two ways to fix this problem:

*** First solution (highly recommended)

In the latest version of ffmpeg-php (0.6.0), you need to modify the file: ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32

Using Linux text editor, vi run the following commands:

  • vi ffmpeg_frame.c
  • :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
  • :wq!

Here, you should be back to the command line. Run these commands to compile and install FFmpeg-Php:

  • ./configure
  • make
  • make install


*** Second solution

Run the following commands:

  • cd /path/to/ffmpeg-php-0.6.0
  • cp -aP ffmpeg_frame.loT ffmpeg_frame.lo
  • make clean
  • ./configure

Then recompile and install ffmpeg.

Other articles in this Category
document HowTo: Tweak php for maximum execution time for scripts
document HowTo :: Install and configure FFmpeg and FFpeg-Php
document Call to unsupported or undefined function mysql_connect
document Php scripts returning errors when using: php_flag and php_value
document FFmpeg :: make: *** [libavcodec/imgresample.o] Error 1
document FFmpeg :: headers not found. Make sure you've built ffmpeg as shared libs
document Fatal error: Allowed memory size of 22468 bytes exhausted (tried to allocate 446810 bytes) in /path/file.php
document FFmpeg :: libamrnb.so.2: cannot open shared object file: No such file or directory
document HowTo secure your vBulletin Forum



RSS

Control Panel Licensing
cPanel Plesk Miva Merchant