Mpeg2vidcodec version 1.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    mpeg2vidcodec  most recent diff


    version 1.2

      View the most recent changes for the mpeg2vidcodec port at: mpeg2vidcodec.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mpeg2vidcodec.
      The raw portfile for mpeg2vidcodec 1.2 is located here:
      http://mpeg2vidcodec.darwinports.com/dports/multimedia/mpeg2vidcodec/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mpeg2vidcodec


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The mpeg2vidcodec Portfile 59444 2009-10-15 06:05:05Z blb macports.org $

      PortSystem 1.0

      Name: mpeg2vidcodec
      Version: 1.2
      Revision: 4
      Category: multimedia
      Maintainers: nomaintainer

      Description: MPEG-2 Video Encoder / Decoder

      Long Description: Contains an implementation of an ISO/IEC DIS 13818-2 codec. It converts uncompressed video frames into MPEG-1 and MPEG-2 video coded bitstream sequences, and vice versa.

      Homepage: http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html
      Master Sites: http://www.mpeg.org/pub_ftp/mpeg/mssg/ http://fresh.t-systems-sfr.com/unix/src/misc/
      distname mpeg2
      distfiles ${name}_v12${extract.suffix}
      Checksums: md5 4a66565979be0818bd8a41d948943451
      Platform: darwin

      Variant: no_x11 {}
      if {![variant_isset no_x11]} {
      depends_lib port:xorg-libXext
      build.args USE_DISP=-DDISPLAY USE_SHMEM=-DSH_MEM LIBS="-lXext -lX11" INCLUDEDIR="-I${prefix}/include" LIBRARYDIR="-L${prefix}/lib"
      }

      configure {
      reinplace "s|CC = gcc|CC = ${configure.cc}|" ${worksrcpath}/Makefile
      set my_extra_cflags "-DVERIFY -DVERBOSE -DTRACE"
      if {[variant_isset universal]} {
      set my_extra_cflags "${my_extra_cflags} ${configure.universal_cflags}"
      }
      reinplace "s|CFLAGS = -O2|CFLAGS = -O2 ${my_extra_cflags}|" ${worksrcpath}/Makefile
      }

      destroot {
      xinstall -m 0755 -W ${worksrcpath}/src mpeg2dec/mpeg2decode mpeg2enc/mpeg2encode ${destroot}${prefix}/bin
      xinstall -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 -W ${worksrcpath} README doc/ARCHITECTURE doc/BUGS doc/m2d_old.doc doc/mpeg2enc.doc ${destroot}${prefix}/share/doc/${name}
      }

      test.run yes

      livecheck.type moddate
      livecheck.url http://www.mpeg.org/pub_ftp/mpeg/mssg/${distfiles}

    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/mpeg2vidcodec
      % sudo port install mpeg2vidcodec
      Password:
    You 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:

      ---> Fetching mpeg2vidcodec
      ---> Verifying checksum for mpeg2vidcodec
      ---> Extracting mpeg2vidcodec
      ---> Configuring mpeg2vidcodec
      ---> Building mpeg2vidcodec with target all
      ---> Staging mpeg2vidcodec into destroot
      ---> Installing mpeg2vidcodec
    - 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 mpeg2vidcodec with these commands:
      %  man mpeg2vidcodec
      % apropos mpeg2vidcodec
      % which mpeg2vidcodec
      % locate mpeg2vidcodec

     Where to find more information:

    Darwin Ports



    Lightbox this page.