Download and Install mpeg2vidcodec version 1.2 on Mac OS X
Tuesday the 2nd of December, 2008

    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
      Google
      Web Darwinports.com



      # -*- 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
      # $Id: Portfile 42016 2008-11-13 16:25:03Z devans macports.org $

      PortSystem 1.0

      Name: mpeg2vidcodec
      Version: 1.2
      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

      default_variants +x11

      Variant: x11 description {Enable X11 support} {
      depends_lib lib:libX11:XFree86
      build.args USE_DISP=-DDISPLAY USE_SHMEM=-DSH_MEM LIBS="-lXext -lX11" INCLUDEDIR=-I${x11prefix}/include LIBRARYDIR=-L${x11prefix}/lib }

      use_configure no

      destroot { system "install -m 0755 ${worksrcpath}/src/mpeg2dec/mpeg2decode ${destroot}${prefix}/bin/"
      system "install -m 0755 ${worksrcpath}/src/mpeg2enc/mpeg2encode ${destroot}${prefix}/bin/"
      file mkdir ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/README ${worksrcpath}/doc/ARCHITECTURE ${worksrcpath}/doc/BUGS ${worksrcpath}/doc/m2d_old.doc ${worksrcpath}/doc/mpeg2enc.doc ${destroot}${prefix}/share/doc/${name}/ }

      test.run yes

      livecheck.check 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.