[PD] VLC 2.1.x and Gem

Etienne Landon landon.etienne at gmail.com
Thu Mar 5 17:15:28 CET 2015

Ok so I tried with gem 0.93.git b8b6549, both ubuntu 14.04 and 14.10, still
crashing even with only gem_videoVLC and gemglutwindow plugins.
I'm going to try again from a fresh install, perhaps some crap of my
yesterdays tries is still here and there. I guess I still have to try with
pd0.46 and/or lua 5.2.

One thing, with gem0.93.git b8b6549 I need to manually add gem path when
starting pd, it doesn't find it automatically and adding the path in
preferences is not saved. Is it a normal behaviour ?

I put below the process I aways make when installing a fresh pd-extended,
perhaps there is some old line that doesn't work anymore that could explain
why I can't have it work here when it's working nice with others.

So :
**install ubuntu (or mint) then upgrade*
sudo apt-get update
sudo apt-get upgrade

**install pd-extended (from pure data site)*
sudo add-apt-repository "deb http://apt.puredata.info/releases `lsb_release
-c | awk '{print $2}'` main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
sudo apt-get update
sudo apt-get install pd-extended

When trying with 14.10 I manually change unicorn to trusty
in /etc/apt/sources.list

*compile gem (from labomedia wiki)
sudo apt-get install git-core automake autotools-dev build-essential libtool
sudo apt-get build-dep puredata gem pd-pdp
sudo apt-get install libdc1394-22-dev libgl1-mesa-dev libglu1-mesa-dev
ftgl-dev libmagic++-dev libgmerlin-dev libmpeg3-dev libavifile-0.7-dev
libquicktime-dev libdv4-dev libv4l-dev libvlc-dev libvlccore-dev
libgmerlin-avdec-dev libassimp-dev     <- used to have libglut3-dev but
it's not present anymore so I removed it

git clone git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem    *or git
clone git://git.code.sf.net/p/pd-gem/gem
<http://git.code.sf.net/p/pd-gem/gem> pd-gem-gem for *b8b6549
cd Gem
sudo make install    *this puts Gem in /usr/local/lib/pd/extra, I move it
in pd-extended extra folder manually*
sudo mv /usr/lib/pd-extended/extra/Gem /usr/lib/pd-extended/extra/Gem-old
sudo cp -R /usr/local/lib/pd/extra/Gem /usr/lib/pd-extended/extra

With mint it's enough, with ubuntu I have to add a "sudo apt-get install
vlc" else the plugin is loaded but disabled in Gem

Is there anything wrong with my procedure ?


2015-03-05 11:41 GMT+01:00 IOhannes m zmoelnig <zmoelnig at iem.at>:

> Hash: SHA256
> On 2015-03-05 11:02, Antoine Villeret wrote:
> > hi,
> >
> > it works here, I can open the two streams you linked to. I can
> > change the size and open screen:// too. My configuration is :
> > Pd-vanilla 0.46.5 GEM: ver: 0.93.git b8b6549 Ubuntu 14.10 64bit
> > libvlc-dev 2.2.0-pre2
> >
> > and I do have imagemagick plugin loaded.
> i have no idea why it crashes, but some random notes:
> - - make sure that the VLC-headers used for compiling match the
> VLC-library used when running Gem (if this is a stock ubuntu/mint/...
> thenthere shouldn't be a problem; but maybe you have some weirdo
> things in /usr/local/...)
> - - i think antoines original lead about imagematick might be worth
> considering and expanding: try disabling *all* Gem-plugins but
> gem-videoVLC (deleting the links is enough; no need to recompile Gem).
> - - i had crashes (iirc on w32, but nevertheless...) when VLC could not
> find it's plugins (that is: the VLC-plugins); VLC_PLUGIN_PATH might help.
> fgmasr
> IOhannes
> Version: GnuPG v1
> xndD5ctE7iNhcjzlZkvXzFqhbH981CP02DhQbVkMWBxwEtr7iWCFFERs47EMqz+T
> ontciotR3Rt5i8I+Clbc7aEZMFrO2dA4sZPfOoHtsBmdlbIA09uTiDPYlMw5GE8C
> V2qHdO0bG9osOMw/hX4HKKjrSNXxki+OxVFeLmdUbRso3S51u/plUXdnqD3N7j3D
> dCK4HDjHNVWI6kqV4sDSSL4WblmhX0L2WR17Q0+P5mEHlt8syIhVTDceS8JHPAer
> 0QgnvnqdDCz9oJSZFmuQrN1C+qoRSeyy2FdR0LAUHi8u+m40UJ+SGeEXpKVd2SMW
> XzNfLxRySTfmEWYxIql4PWPknJoZIFJTT/TwFQ44B5bTM+73v1RD0fr/UwJ6NAFr
> 2estxA6yUMZBDckRmSxFg0dhvMjcUmwQwB2ksgx8SHbanvFsu9RvZBwBOvAXdbhT
> Uk/CXdpgskAej5q6bgfUKa1TMo72PHNxBvGiXhxvrwV0SDso8xTRPBsbAN1yqAmo
> aN5EcxHcCYlr/LyYAyGxpqT+Sg8xuUDB7L9zOLnqvfPt42NZTNoEa/lKzuaFUZP/
> jx6QdiNh2eOQ3It1CwVLiiUX4rGtAKghfxGAHz8NycTPBLgBSiQwl76TXHpvssEU
> WFiConwr37OhHuaf5oyI
> =YWLi
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150305/eb626940/attachment.html>

More information about the Pd-list mailing list