Hello,
I'm attempting to add a ffmpeg film plugin with a windows 64 machine...
First I'd like to thank umläute about this wiki page: https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-(...)
It seems mingw packages has some improvements since this howto has been written...
$ pacman -Ss ftgl mingw32/mingw-w64-i686-ftgl 2.4.0-1 [installé] OpenGL library to use arbitrary fonts (mingw-w64)
Unfortunately 'mingw64/mingw-w64-x86_64-ffmpeg' package doesn't provide a working version of ffmpeg yet, so
I'm trying out with mingw32...
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...
And in mingw32 the VLC plugin doesn't load at pd starting because runDLL don't find some vlc libs.
After installing Gem, I go to pd/extra folder and add all the depencies with this bash script:
#!/bin/bash echo "Looking in mingw for DLL dependencies" for GEM_DLL in $(ls *.dll) do echo "looking into" $GEM_DLL for DLL in $(ntldd -R $GEM_DLL) do if [[ $DLL == *mingw* ]]; then for DLL_DEP in $(ntldd -R $DLL) do if [[ $DLL_DEP == *mingw* ]]; then FILE=Gem/$(basename $DLL_DEP) if [ ! -f "$FILE" ]; then echo "copying:" $DLL_DEP cp $(cygpath -u $DLL_DEP) Gem fi fi done FILE=Gem/$(basename $DLL) if [ ! -f "$FILE" ]; then cp $(cygpath -u $DLL) Gem echo "copying" $DLL fi fi done done
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.
I'm probably missing something somewhere...
Do I need to compile VLC and FFMPEG to get them working in pd?
Am 26. Juli 2019 12:58:02 MESZ schrieb Patrice Colet colet.patrice@free.fr:
Hello,
I'm attempting to add a ffmpeg film plugin with a windows 64 machine...
First I'd like to thank umläute about this wiki page: https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-(...)
It seems mingw packages has some improvements since this howto has been
written...
the most up-to-date "documentation" is probably in .git-ci/gitlab-iem.yml
this is the actual code used to (auto)build Gem...
but is disabled when [pix_video] is loaded. I don't why it is disabled...
did you read the videoVLC section in the wiki? iirc you need to define some envvars to help libvlc find its decoding plugins.
And in mingw32 the VLC plugin doesn't load at pd starting because runDLL don't find some vlc libs.
AFAIK, recent vlc for windows only comes as 64bit binaries.
After installing Gem, I go to pd/extra folder and add all the depencies with this bash script:
#!/bin/bash
instead, use .git-ci/localdeps.win.sh
mfg.hft.fsl IOhannes
Le 26/07/2019 à 23:16, IOhannes m zmölnig a écrit :
Am 26. Juli 2019 12:58:02 MESZ schrieb Patrice Colet colet.patrice@free.fr:
Hello,
I'm attempting to add a ffmpeg film plugin with a windows 64 machine...
First I'd like to thank umläute about this wiki page: https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-Microsoft-Windows-(...)
It seems mingw packages has some improvements since this howto has been
written...
the most up-to-date "documentation" is probably in .git-ci/gitlab-iem.yml
this is the actual code used to (auto)build Gem...
So far so good...
but is disabled when [pix_video] is loaded. I don't why it is disabled...
did you read the videoVLC section in the wiki? iirc you need to define some envvars to help libvlc find its decoding plugins.
Yes I did but I couldn't find a recent vlc build with this sdk folder, I use binaries provided by pacman instead.
Following the forum discussion below I couldn't use envars on my windows machine for locating VLC plugins:
https://forum.videolan.org/viewtopic.php?t=129482
I've got gem_videoVLC loading only if I start pd like this:
pd/bin/wish86.exe pd/tcl/pd-gui.tcl
and it's enabled when I copy lib/vlc/plugins/ to the parent folder from where libvlccore.dll resides, next to Gem in external folder. I also have to launch this command line once before starting pd:
lib/vlc/vlc-cache-gen.exe lib/vlc/plugins/
At least this issue could be resolved with deken without the need of installing VLC.
And in mingw32 the VLC plugin doesn't load at pd starting because runDLL don't find some vlc libs.
AFAIK, recent vlc for windows only comes as 64bit binaries.
there are both x86 and x64 vlc binaries available, but I'm using x64 binaries since I've almost found out why gem_videoVLC doesn't load