|
|||||||||
Thursday the 9th of September, 2010 |
|||||||||
ffmpeg most recent diffversion 0.5
Scroll down toward the bottom of the page to get installation instructions for ffmpeg. The raw portfile for ffmpeg 0.5 is located here: http://ffmpeg.darwinports.com/dports/multimedia/ffmpeg/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/ffmpeg # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 The ffmpeg Portfile 60613 2009-11-16 20:39:49Z jmr PortSystem 1.0 PortGroup xcodeversion 1.0 Name: ffmpeg conflicts ffmpeg-devel epoch 1 Version: 0.5 Revision: 5 Category: multimedia Maintainers: devans openmaintainer Description: FFmpeg is a complete solution to play, record, convert and stream audio and video. Long Description: FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. The project is made of several components: ffmpeg is a command line tool to convert one video file format to another. It also supports grabbing and encoding in real time from a TV card. ffserver is an HTTP (RTSP is being developped) multimedia streaming server for live broadcasts. Time shifting of live broadcast is also supported. ffplay is a simple media player based on SDL and on the ffmpeg libraries. libavcodec is a library containing all the ffmpeg audio/video encoders and decoders. Most codecs were developped from scratch to ensure best performances and high code reusability. libavformat is a library containing parsers and generators for all common audio/video formats. Platform: darwin Homepage: http://www.ffmpeg.org/ Master Sites: http://www.ffmpeg.org/releases/ use_bzip2 yes Checksums: md5 be8503f15c3b81ba00eb8379ca8dcf33 sha1 f930971bc0ac3d11a4ffbb1af439425c24f6f5b1 rmd160 23b4a591c422f98b634eba0ba82817ad27a4ff07 Patch Files: patch-libavfilter-avfilter.h.diff patch-libswscale-Makefile.diff patch-libswscale-swscale.h.diff patch-configure.diff use_parallel_build yes depends_build port:gmake depends_lib port:lame port:libvorbis port:libogg port:libtheora port:dirac port:schroedinger port:faac port:faad2 port:XviD port:x264 path:lib/pkgconfig/sdl.pc:libsdl port:bzip2 port:zlib build.cmd gmake # # enable auto configure of mmx and related Intel optimizations by default # requires Xcode 3.1 or better on Leopard # minimum_xcodeversions {9 3.1} configure.cflags-append -DHAVE_LRINTF ${configure.cppflags} configure.args --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --mandir=${prefix}/share/man --enable-shared --enable-pthreads --cc=${configure.cc} #add --enable-libopenjpeg when problems with openjpeg.h are resolved if {$build_arch != ""} { configure.args-append --arch=${build_arch} } test.run yes # # configure isn't autoconf and they do use a dep cache # universal_variant no post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/doc/TODO ${destroot}${prefix}/share/doc/${name} foreach f [glob ${worksrcpath}/doc/*.txt ${worksrcpath}/doc/*.html] { file copy $f ${destroot}${prefix}/share/doc/${name} } } platform darwin 10 { # ticket #20938 -- disable mmx for 32 bit intel only if { $build_arch == "i386" } { if { ![variant_isset no_gpl] } { configure.args-delete --enable-swscale } if { ![variant_isset no_mmx] } { configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext } } } Variant: no_mmx description {disable all x86 asm optimizations} { configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext } Variant: no_gpl description {disallow use of GPL code, license will be LGPL} { configure.args-delete --enable-gpl configure.args-delete --enable-postproc configure.args-delete --enable-swscale configure.args-delete --enable-libfaad depends_lib-delete port:faad2 configure.args-delete --enable-libx264 depends_build-delete port:x264 configure.args-delete --enable-libxvid depends_lib-delete port:XviD } # # make speex a variant since it requires speex version 1.2 # which is currently only available via port speex-devel # remove variant and make default when 1.2 is available in speex # Variant: speex description {enable Speex decoding via libspeex} { configure.args-append --enable-libspeex depends_lib-append path:lib/libspeex.dylib:speex-devel } pre-configure { if {[variant_isset speex]} { if {![file exists ${prefix}/lib/libspeexdsp.dylib]} { error " ******* ******* Variant speex requires port speex-devel but ******* port speex is active. Please deactivate port speex ******* and install/activate port speex-devel then try ******* again. ******* " } } } post-activate { if {![variant_isset no_gpl]} { ui_msg " ******* ******* This build of ${name} includes GPLed code and ******* is therefore licensed under GPL. ******* ******* The following modules are GPLed: ******* ******* postproc ******* swscale ******* libfaad ******* libx264 ******* libxvid ******* ******* To include only LGPLed code use variant +no_gpl ******* " } else { ui_msg " ******* ******* This build of ${name} includes no GPLed ******* code and is therefore licensed under LGPL. ******* " } } # #disable livecheck # livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/ffmpegYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using ffmpeg with these commands: % man ffmpeg Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current : |




