#205 [pix_video] not disposed


This is tested with GEM: ver: 0.93.3 GEM: compiled: Nov 10 2011 on os x 10.8.2

When using [pix_video] in a patch and closing and reopening it camera aquisition fails.
Steps to reproduce:
1. open pd, make new patch
2. put [gemwin], [create, 1( and [gemhead], [pix_video]
(console output: [pix_video]: backend #0='Darwin' : darwin dv iidc analog)
3. open gem window
(console output:
GemwinMac: width - 500 height - 500
GemWindow Activate err = 0
GEM: GLEW version 1.5.4
GEM: Start rendering
SG channnel Device List count 4 index 3
SG channnel Device List[0] CamTwist
SG channnel Device List[1] DV Video
SG channnel Device List[2] IIDC FireWire Video
SG channnel Device List[3] USB Video Class Video
SGSetChannelDevice trying[0] CamTwist
SGSetChannelDevice returned error -1
vdigName is FaceTime HD Camera (Built-in)
digitizer rect is top 0 bottom 1200 left 0 right 1600
active src rect is top 0 bottom 1200 left 0 right 1600
could not set SG Rect
using YUV
4. close patch (optional: close gem window before)
(console output:
GEM: Stop rendering
destroyGemWindow() DisposeWindow
5. reopen the patch or recreate
RESULT: failing to open the patch
(Tcl) UNGÜLTIGER BEFEHL NAME: invalid command name "DVFreeThread"
while executing
"DVFreeThread - CFMachPortCreateWithPort hack = 0x54a3e0, fPowerNotifyPort= 0x549d30"
("uplevel" body line 1)
invoked from within
"uplevel #0 $cmds_from_pd"


  • max

    max - 2013-01-12
    • priority: 5 --> 6
  • IOhannes m zmölnig

    Please provide as detailed information as possible including which operating system (OS), CPU type, specific hardware, and the exact distro and version of Pd itself, as well as the exact version of Gem, etc.
    If you are using Pd-extended (which comes with Gem installed), you still ought to provide the version-number of Gem (as printed out on the Pd-console).

    For example:
    > Mac OS X 10.5.7/Intel
    > Pd version 0.41.4-extended
    > Gem 0.93.3 (as packaged with PdX)
    > installed video backends: darwin, VLC
    > installed movie backends: none
    > installed image loaders: QT, ImageMagick

  • max

    max - 2013-01-12

    hi IOhannes, (most of) the info is already in the first line of my bug report.

    Mac OS X 10.8.2/Intel
    Pd version 0.43.4-extended-20130107
    Gem ver: 0.93.3 GEM: compiled: Nov 10 2011
    videoctl: enumerate
    SG channnel Device List count 3 index 2
    SG channnel Device List[0] DV Video
    SG channnel Device List[1] IIDC FireWire Video
    SG channnel Device List[2] USB Video Class Video
    info: devices 3
    info: device DV Video darwin
    info: device IIDC FireWire Video darwin
    info: device USB Video Class Video darwin

  • IOhannes m zmölnig

    • labels: Pixes (pix_ objects) --> Pixes (pix_ objects), pix_video, plugins, Darwin
    • assigned_to: IOhannes m zmölnig
    • OS: --> OSX
    • Release: osx --> 0.93.3


Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks