<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I'm attempting to add a ffmpeg film plugin with a windows 64
      machine...</p>
    <p>First I'd like to thank umläute about this wiki page: <a
href="https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-(MINGW)">https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-(MINGW)
        <br>
      </a></p>
    <p>It seems mingw packages has some improvements since this howto
      has been written...</p>
    <p>$ pacman -Ss ftgl<br>
      mingw32/mingw-w64-i686-ftgl 2.4.0-1 [installé]<br>
          OpenGL library to use arbitrary fonts (mingw-w64)</p>
    <p>Unfortunately 'mingw64/mingw-w64-x86_64-ffmpeg' package doesn't
      provide a working version of ffmpeg yet, so</p>
    <p>I'm trying out with mingw32...</p>
    <p>Anyway in both version I'm trying to get VLC plugin working first
      with mingw VLC packages, in mingw64 the VLC plugin loads during pd
      starting, but is disabled when [pix_video] is loaded. I don't why
      it is disabled...<br>
    </p>
    <p>And in mingw32 the VLC plugin doesn't load at pd starting because
      runDLL don't find some vlc libs.<br>
    </p>
    <p> After installing Gem, I go to pd/extra folder and add all the
      depencies with this bash script:</p>
    <p>#!/bin/bash<br>
      echo "Looking in mingw for DLL dependencies"<br>
      for GEM_DLL in $(ls *.dll)<br>
      do<br>
          echo "looking into" $GEM_DLL<br>
          for DLL in $(ntldd -R $GEM_DLL) <br>
          do<br>
              if [[ $DLL == *mingw* ]]; then<br>
                  for DLL_DEP in $(ntldd -R $DLL)<br>
                  do<br>
                      if [[ $DLL_DEP == *mingw* ]]; then<br>
                          FILE=Gem/$(basename $DLL_DEP)<br>
                          if [ ! -f "$FILE" ]; then<br>
                              echo "copying:" $DLL_DEP<br>
                              cp $(cygpath -u $DLL_DEP) Gem<br>
                          fi<br>
                      fi<br>
                  done<br>
                  FILE=Gem/$(basename $DLL)<br>
                  if [ ! -f "$FILE" ]; then<br>
                      cp $(cygpath -u $DLL) Gem<br>
                      echo "copying" $DLL<br>
                  fi<br>
              fi<br>
          done<br>
      done</p>
    <p>FFMPEG and VLC dependencies seems to be added to along Gem.dll
      but runDLL couldn't find modules at pd starting, while other libs
      like libassimp3 or libjpeg or libtiff are loaded.</p>
    <p>I'm probably missing something somewhere...<br>
    </p>
    <p>Do I need to compile VLC and FFMPEG to get them working in pd?</p>
    <p><br>
    </p>
    <p> <br>
    </p>
  </body>
</html>