Help installing ffmpeg on freebsd
The ffmpeg in ports is an old version and does not include wmv3 support
ffmpeg-dev has wmv3 but does not work with ffmpeg-php.
So im trying to compile it from source
i used cvs to download it
install instructions tell me to run 'make' next
but that errors right away
i googled and found the solution was to run 'gmake' instead
This gives me this error which i have been trying to fix for hours with no luck
gcc -O3 -g -Wall -Wno-switch -pthread -I.. -I'/usr/download/ffmpeg' -I'/usr/download/ffmpeg'/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o grab_bktr.o grab_bktr.c
In file included from grab_bktr.c:30:
/usr/include/machine/ioctl_meteor.h:33:2: warning: #warning Include dev/bktr/ioctl_meteor.h instead of this header.
In file included from grab_bktr.c:31:
/usr/include/machine/ioctl_bt848.h:33:2: warning: #warning Include dev/bktr/ioctl_bt848.h instead of this header.
grab_bktr.c:33:2: invalid preprocessing directive #elseif
grab_bktr.c:34:44: dev/video/meteor/ioctl_meteor.h: No such file or directory
grab_bktr.c:35:41: dev/video/bktr/ioctl_bt848.h: No such file or directory
gmake: *** [grab_bktr.o] Error 1
gmake: Leaving directory `/usr/download/ffmpeg/libavformat'
gmake: *** [lib] Error 2
i have tried this on 2 seperate pcs.
freebsd 5.3 and freebsd 5.4
Seems like your ffmpeg has not been ported to FreeBSD 5. You have to do it yourself...
It may be as simple as correcting the wrong paths:
But there may be much more work involved. Check the readme and website if it contains any special FreeBSD notes.
$ cd /sys
$ find . -name ioctl_meteor.h
$ find . -name ioctl_bt848.h
Also, check what the ports maintainer did. There's patch files in your /usr/ports/???/ffmpeg/ folder somewhere.
Last edited by M.Hirsch; July 5th, 2005 at 05:06 AM.
April 22nd, 2006, 03:26 PM
I'm trying to install a php video script that the programmer says needs ffmpeg on my hostbandit.com php/mysql hosting account.
Does anyone have step by step instructions on how to install ffmpeg-php on freebsd?
April 26th, 2006, 01:24 AM
Do you have root access on this box. If not, you can't install it yourself and will need to tell your provider to do it for you.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
Since my problem requiers thesame threadname, I'll use this one.
I'm running FreeBSD 6.0 and am trying to install ffmpeg using PORT.
This is fairly simple exept I don't know how to enable amr-support.
I need to know:
Where to dump the amr library from http://www.3gpp.org
How to indicate to PORT that I need amr enabled.
I've already tried following the instructions from:
(libavcodec/amr/typedefs.h doesn't understand my platform)
(compiles, but can't do audio. can't even recognize its own 3gp files unless audio disabled)
If anyone could shed some light?
November 15th, 2006, 12:27 AM
I just installed FreeBSD6.1 and I was able to find it at /usr/ports/multimedia/ffmpeg or go to freshports.org/multimedia/ffmpeg/ for more information. I hope it can help.
Originally Posted by M.Hirsch
December 18th, 2006, 06:03 PM
I have installed ffmpeg from ports on FreeBSD 5.4 cpanel server. Server run php in suexe mode. When i run script that need ffmpeg, it generate core dump.
Anyone faced this problem ? Any solution to fix with with out disasbling phpsuexe ?