• digithree

    Hi, I'm pretty new to pd but understand many of the concepts as I've been a written language programmer for quite some time.

    I'm wondering if anyone knows a way to stream or grab video from other applications / programs running on a system for mixing with other videos in pd? I can mix videos, got those examples to work and have been playing with them.

    However I want to mix in video from a program called IBNIZ (http://pelulamu.net/ibniz/), which is a live visual/audio coding lauguage. Any ideas?

    I found this and it seems like it's up the right alley but not specifically to do with streaming / grabbing video from programs, right? http://puredata.info/community/conventions/convention09/zmolnig.pdf

    Thanks for any help in this,
    d3

    posted in pixel# read more
  • digithree

    Thanks for the ideas.

    Tried them out and couldn't get every piece working together. I'm using Virtual Box to run linux so I've tried several different distros.

    It seems vloopback 1.3 doesn't work with newer linux distros (I think it's the new kernal, 2.6, but I'm no expert) because vloopback.c includes /linux/videodev.h, which has been upgraded to videodev2.h Simply changing this doesn't work as the code also needs V4L1 to be supported, which it's not on new linux distros.

    I was able to compile vloopback on Ubuntu 9.04 though and add the module. However I was unable to compile Ibniz (the program I want to generate the video signal) because I can't get SDL for it! Also couldn't find a PureData release to compile for it.

    So it's a kind of catch 22. I was thinking though, even if I got it all working, Ibniz outputs video as such "Dump raw video to stdout and raw audio to stderr. 30 fps, non-realtime, yuv4mpeg2 and pcm_s16." So I wonder if puredata could even use it.

    Any other ideas? Otherwise think I'm going to have to give up, maybe use Ibniz to create videos instead of doing live coding, or use a second laptop and send a video signal in if I purchased some extra hardware...

    Thanks again
    D3

    posted in pixel# read more
  • digithree

    Hi, thought I'd post here even thought the thread is old before starting a new topic because my problem is exactly that as described here, though none of the suggestions have help and no one seems to have my exact error console output, which is as follows:

    WARNING: Font family 'Courier' not found, using default (DejaVu Sans Mono)
    tried ./gem.l_i386 and failed
    tried /usr/lib/pd/extra/Gem/gem.l_i386 and failed
    tried /usr/lib/puredata/extra/gem.l_i386 and failed
    tried /home/digithree/pd-externals/gem.l_i386 and failed
    tried /usr/local/lib/pd-externals/gem.l_i386 and failed
    tried /usr/lib/puredata/extra/gem.l_i386 and failed
    tried /usr/lib/pd/extra/gem.l_i386 and failed
    tried ./gem.pd_linux and failed
    tried /usr/lib/pd/extra/Gem/gem.pd_linux and failed
    tried /usr/lib/puredata/extra/gem.pd_linux and failed
    tried /home/digithree/pd-externals/gem.pd_linux and failed
    tried /usr/local/lib/pd-externals/gem.pd_linux and failed
    tried /usr/lib/puredata/extra/gem.pd_linux and failed
    tried /usr/lib/pd/extra/gem.pd_linux and failed
    tried ./gem/gem.l_i386 and failed
    tried /usr/lib/pd/extra/Gem/gem/gem.l_i386 and failed
    tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
    tried /home/digithree/pd-externals/gem/gem.l_i386 and failed
    tried /usr/local/lib/pd-externals/gem/gem.l_i386 and failed
    tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
    tried /usr/lib/pd/extra/gem/gem.l_i386 and failed
    tried ./gem/gem.pd_linux and failed
    tried /usr/lib/pd/extra/Gem/gem/gem.pd_linux and failed
    tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
    tried /home/digithree/pd-externals/gem/gem.pd_linux and failed
    tried /usr/local/lib/pd-externals/gem/gem.pd_linux and failed
    tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
    tried /usr/lib/pd/extra/gem/gem.pd_linux and failed
    gem: can't load library
    input channels = 2, output channels = 2
    audio buffer set to 25
    opened input device name hw:0
    configuring sound input...
    Sample width set to 2 bytes
    configuring sound output...
    Sample width set to 2 bytes
    tried but couldn't sync A/D/A

    So I've added the word "gem" (with no quotes) to the Startup list, and the external library locations (whose paths can be seen in the above output) yet it doesn't work.

    Any ideas? I've verified that both pd and gem are installed and at the lastest version. I'm using Ubuntu 11.10

    Thanks

    posted in pixel# read more
  • digithree

    What about pipes? I'm a linux novice too, so now well up on this stuff. Asked a friend of mine a suggested I look into using pipes. Can pd take input from a pipe?

    Do you have any more information about this videoloopback kernal module?

    Thanks a lot husk

    posted in pixel# read more

Internal error.

Oops! Looks like something went wrong!