#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    86
    Rep Power
    11

    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
    ran ./configure
    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[1]: *** [grab_bktr.o] Error 1
    gmake[1]: 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

    Please help!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    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:
    Code:
    $ cd /sys
    $ find . -name ioctl_meteor.h
    ./alpha/include/ioctl_meteor.h
    ./dev/bktr/ioctl_meteor.h
    ./i386/include/ioctl_meteor.h
    $ find . -name ioctl_bt848.h 
    ./alpha/include/ioctl_bt848.h
    ./dev/bktr/ioctl_bt848.h
    ./i386/include/ioctl_bt848.h
    $
    But there may be much more work involved. Check the readme and website if it contains any special FreeBSD notes.

    Also, check what the ports maintainer did. There's patch files in your /usr/ports/???/ffmpeg/ folder somewhere.

    HTH,
    M.
    Last edited by M.Hirsch; July 5th, 2005 at 04:06 AM.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2006
    Posts
    1
    Rep Power
    0
    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?
  6. #4
  7. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    2
    Rep Power
    0
    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:
    http://julian.coccia.com/blog/index.php?m=200409&more=1
    (libavcodec/amr/typedefs.h doesn't understand my platform)
    and:
    http://www.niemueller.de/wiki/index.php?ConvertVideoTo3GP
    (compiles, but can't do audio. can't even recognize its own 3gp files unless audio disabled)

    If anyone could shed some light?
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2006
    Location
    Baltimore
    Posts
    1
    Rep Power
    0
    Originally Posted by M.Hirsch
    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:
    Code:
    $ cd /sys
    $ find . -name ioctl_meteor.h
    ./alpha/include/ioctl_meteor.h
    ./dev/bktr/ioctl_meteor.h
    ./i386/include/ioctl_meteor.h
    $ find . -name ioctl_bt848.h 
    ./alpha/include/ioctl_bt848.h
    ./dev/bktr/ioctl_bt848.h
    ./i386/include/ioctl_bt848.h
    $
    But there may be much more work involved. Check the readme and website if it contains any special FreeBSD notes.

    Also, check what the ports maintainer did. There's patch files in your /usr/ports/???/ffmpeg/ folder somewhere.

    HTH,
    M.
    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.
    Alex Adao
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    /home
    Posts
    80
    Rep Power
    0
    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 ?

IMN logo majestic logo threadwatch logo seochat tools logo