BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 4th, 2005, 10:49 PM
Eric M Eric M is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 75 Eric M User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 14 m 24 sec
Reputation Power: 5
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!

Reply With Quote
  #2  
Old July 5th, 2005, 03:50 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Last edited by M.Hirsch : July 5th, 2005 at 04:06 AM.

Reply With Quote
  #3  
Old April 22nd, 2006, 02:26 PM
freebsdweb freebsdweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 1 freebsdweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 43 sec
Reputation 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?

Reply With Quote
  #4  
Old April 26th, 2006, 12:24 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,536 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 6 h 45 m 12 sec
Reputation Power: 876
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

Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month
Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements

Reply With Quote
  #5  
Old May 23rd, 2006, 06:39 AM
vardarac vardarac is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 1 vardarac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 12 sec
Reputation 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?

Reply With Quote
  #6  
Old November 14th, 2006, 11:27 PM
Alex Adao Alex Adao is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2006
Location: Baltimore
Posts: 1 Alex Adao User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 37 sec
Reputation Power: 0
Quote:
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

Reply With Quote
  #7  
Old December 18th, 2006, 05:03 PM
flashwebhost flashwebhost is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: /home
Posts: 79 flashwebhost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 53 m 18 sec
Reputation Power: 0
Send a message via Yahoo to flashwebhost
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 ?
__________________
http://www.BizHat.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Help installing ffmpeg on freebsd


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway