The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 ffmpeg, ffmpeg-php, ffmpeg.so
Author: matthew72 
Date:   27-05-06 19:35

We are trying to install ffmpeg on freebsd 4.11, but my sys admin says there is no ffmpeg.so for freebsd.

Can anyone help me get this installed. It's needed to make stil frames from video files in certain software.

Any help is appreciated!

http://ffmpeg-php.sourceforge.net/

Reply To This Message
 
 Re: ffmpeg, ffmpeg-php, ffmpeg.so
Author: Dan 
Date:   27-05-06 19:40

Use the ports.

I suspect your sysadmin does not know enough about FreeBSD.

Do this:

cd /usr/ports/multimedia/ffmpeg/ && make install clean

--
Webmaster

Reply To This Message
 
 Re: ffmpeg, ffmpeg-php, ffmpeg.so
Author: matthew72 
Date:   27-05-06 20:19

ffmpeg is installed its the avifile that we are having trouble with:

/usr/ports/multimedia/avifile

make install clean

then this file can't be found:

server1# make install clean
===> avifile-0.7.41,2 depends on executable: nasm - found
===> avifile-0.7.41,2 depends on file: /usr/X11R6/bin/moc - found
===> avifile-0.7.41,2 depends on executable: gmake - found
===> avifile-0.7.41,2 depends on file: /usr/local/bin/libtool15 - found
===> avifile-0.7.41,2 depends on file: /usr/local/bin/sdl11-config - found
===> avifile-0.7.41,2 depends on shared library: a52.0 - found
===> avifile-0.7.41,2 depends on shared library: faad.0 - found
===> avifile-0.7.41,2 depends on shared library: mad.2 - found
===> avifile-0.7.41,2 depends on shared library: vorbis.3 - found
===> avifile-0.7.41,2 depends on shared library: xvidcore.4 - not found
===> Verifying install for xvidcore.4 in /usr/ports/multimedia/xvid
===> xvid-1.0.3,1 depends on file: /usr/local/bin/nasm - found
===> xvid-1.0.3,1 depends on executable: gcc34 - not found
===> Verifying install for gcc34 in /usr/ports/lang/gcc34
Making GCC 3.4.5 for FreeBSD 4.11 target=i386-portbld-freebsd4.11
===> Vulnerability check disabled, database not found
=> gcc-g++-3.4-20050520.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.4-20050520/.
fetch: http://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.4-20050520/.
fetch: ftp://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp1.sinica.edu.tw/pub3/GNU/CYGNUS/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp1.sinica.edu.tw/pub3/GNU/CYGNUS/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://sourceware.urc.bl.ac.yu/gcc/snapshots/3.4-20050520/.
fetch: http://sourceware.urc.bl.ac.yu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Connection refused
=> Attempting to fetch from ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.lip6.fr/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.lip6.fr/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.uvsq.fr/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.uvsq.fr/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.club-internet.fr/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.club-internet.fr/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.fu-berlin.de/unix/gnu/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.fu-berlin.de/unix/gnu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/misc/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.gwdg.de/pub/misc/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.eos.hokudai.ac.jp/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.eos.hokudai.ac.jp/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Host not found
=> Attempting to fetch from ftp://ftp.iij.ad.jp/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.iij.ad.jp/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.dti.ad.jp/pub/lang/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.dti.ad.jp/pub/lang/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ring.aist.go.jp/pub/GNU/gcc/snapshots/3.4-20050520/.
fetch: ftp://ring.aist.go.jp/pub/GNU/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ring.etl.go.jp/pub/lang/egcs/snapshots/3.4-20050520/.
fetch: ftp://ring.etl.go.jp/pub/lang/egcs/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://ring.crl.go.jp/pub/GNU/gcc/snapshots/3.4-20050520/.
fetch: ftp://ring.crl.go.jp/pub/GNU/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Host not found
=> Attempting to fetch from ftp://core.ring.gr.jp/pub/GNU/gcc/snapshots/3.4-20050520/.
fetch: ftp://core.ring.gr.jp/pub/GNU/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.ring.gr.jp/pub/GNU/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.ring.gr.jp/pub/GNU/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.task.gda.pl/pub/gnu/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.task.gda.pl/pub/gnu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://sunsite.icm.edu.pl/pub/gnu/gcc/snapshots/3.4-20050520/.
fetch: ftp://sunsite.icm.edu.pl/pub/gnu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.nctu.edu.tw/computer-languages/C/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.nctu.edu.tw/computer-languages/C/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.softaplic.com.br/pub/sourceware/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.softaplic.com.br/pub/sourceware/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://linux.ihep.su/pub/cygnus/egcs/snapshots/3.4-20050520/.
fetch: ftp://linux.ihep.su/pub/cygnus/egcs/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://ftp.ntua.gr/pub/gnu/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.ntua.gr/pub/gnu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirror.aarnet.edu.au/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://mirror.aarnet.edu.au/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://linux.sarang.net/pub/mirror/gnu/gnu/gcc/snapshots/3.4-20050520/.
fetch: ftp://linux.sarang.net/pub/mirror/gnu/gnu/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.sun.ac.za/mirrorsites/sourceware.cygnus.com/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.sun.ac.za/mirrorsites/sourceware.cygnus.com/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
^Cfetch: transfer interrupted

server1#
server1# pwd
/usr/ports/multimedia/avifile
server1#

---

any idea how to get that file? or to make ports work?

Reply To This Message
 
 Re: ffmpeg, ffmpeg-php, ffmpeg.so
Author: matthew72 
Date:   27-05-06 20:29

g., file not found, no access)
=> Attempting to fetch from ftp://ftp.sun.ac.za/mirrorsites/sourceware.cygnus.com/pub/gcc/snapshots/3.4-20050520/.
fetch: ftp://ftp.sun.ac.za/mirrorsites/sourceware.cygnus.com/pub/gcc/snapshots/3.4-20050520/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gcc-g++-3.4-20050520.tar.bz2: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/lang/gcc34.
*** Error code 1

Stop in /usr/ports/multimedia/xvid.
*** Error code 1

Stop in /usr/ports/multimedia/avifile.
*** Error code 1

Stop in /usr/ports/multimedia/avifile.

Reply To This Message
 
 Re: ffmpeg, ffmpeg-php, ffmpeg.so
Author: Dan 
Date:   27-05-06 20:54

matthew72 wrote:

> ffmpeg is installed its the avifile that we are having trouble
> with:
>
> /usr/ports/multimedia/avifile

You should have stated that first.

>
> make install clean
>
> then this file can't be found:
>
> server1# make install clean
> ===> avifile-0.7.41,2 depends on executable: nasm - found

Your ports tree is out of date. You need to cvsup your ports tree. You should be seeing this:

$ cd /usr/ports/multimedia/avifile
[dan@polo:/usr/ports/multimedia/avifile] $ sudo make fetch
Password:
You can enable compilation optimizations by defining
WITH_OPTIMIZED_CFLAGS.
You can enable soundblaster ac3 passthrough support by
defining WITH_AC3_PASSTHROUGH.
You can disable ac3 (liba52) support by defining WITHOUT_A52.
You can disable faad support by defining WITHOUT_FAAD.
You can disable mad support by defining WITHOUT_MAD.
You can disable QT supported tools by defining WITHOUT_QT.
You can disable SDL supported tools by defining WITHOUT_SDL.
You can enable VIDIX support by defining WITH_VIDIX.
You can disable vorbis support by defining WITHOUT_VORBIS.
You can disable xvid support by defining WITHOUT_XVID.
=> avifile-0.7-0.7.43.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/avifile/.
avifile-0.7-0.7.43.tar.bz2 0% of 2910 kB 0 Bps


> any idea how to get that file? or to make ports work?

Yes, see above.

--
Webmaster

Reply To This Message
 
 Re: ffmpeg, ffmpeg-php, ffmpeg.so
Author: matthew72 
Date:   27-06-07 00:14

how would you make the port for ffmpeg using ports with these options?

./configure --enable-shared --prefix=/usr

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org