[PD] [pix_video] multiple webcams at once on macbook
I have two webcams, internal and external. [pix_video] detects only one webcam, and it grabs always external one, but very very occasionally the internal one.(I can't choose it) Using multiple webcams works on Linux, but not on macbook. Any idea? == Macbook Pro mid 2010 15” Mac OS X 10.9.5 Pd 0.46-7 Gem 0.93.3 (compiled: Jan 24 2013) Macbook Internal Webcam, Microsoft HD-3000(USB) == deken-plugin.tcl (Pd externals search) in /Users/akntk/Library/Pd/deken-plugin loaded. Platform detected: Darwin-x86_64-32bit Image loading support: QT SGI [pix_video]: backend #0='Darwin' : darwin dv iidc analog [pix_video]: backend #0='Darwin' : darwin dv iidc analog SGSetChannelDevice returned error 704 could not set SG Rect SGSetChannelDevice returned error 704 SGSetChannelDeviceInput returned error 709 could not set SG Rect GemWinCreateMac: newDspyCnt 2 GemWinCreateMac: display 0 width 1680 height 1050 origin.x 0 origin.y 0 GemWinCreateMac: display 1 width 800 height 600 origin.x 1680 origin.y 0 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Pix_video
Yes, that's why i was talking about "recent macs's built in webcam driver", (possibly models with PCIe-based cameras such as the MacBook Air 2013, and others since), and by "macs" i DONT mean "non-apple hardware" :) QuickTime API (which is used by GEM for video capture) has been deprecated since 10.9, so it can be presumed that full compatibility with this obsolete video library was not Apple's priority for their new webcam drivers (which already had their problems on OSX 10.8 before a bug fix update : http://www.macrumors.com/2013/09/24/os-x-10-8-5-supplemental-update-being-prepared-to-address-facetime-camera-and-other-issues/ ). But compatibility problems seem to affect built-in usb cameras drivers as well, see http://stackoverflow.com/questions/20669326/sgnewchannel-error-9405-on-mac-10-9-1/ Regards, Nicolas 2015-04-13 9:29 GMT+02:00 Peter Venus : > Just want to share this: > I am working on OSX 10.9.5 with pdX-43.4 as well and i DONT have any > problems getting my webcam running (built in and USB). > > This applies to my Desktop as well as my laptop. > > The interesting part here is, that i am running OSX on non-apple hardware. > So maybe the bug is related to the apple-machines themselves??? > > regards, Peter > > Am 12.04.15 um 00:52 schrieb Nicolas Lhommet: > >> Hello, >> It's probably the same problem, related to recent macs's built in >> webcam driver incompatibility with the video library used by Gem, that has >> been discussed last month on this list, and for which i proposed a >> workaround : make use of "iGlasses" shareware as a "webcam passthrough" >> (see "GEM Motion Capture" thread for details), but a real solution will >> require a rewrite of Mac OS X video-related code in Gem. >> >> Regards, >> Nicolas >> >> 2015-04-11 17:18 GMT+02:00 Olga Isabel Medina : >> >> I am starting to work with Pd and I want to do something with video >>> editing. But I still cannot find a way for Pd to recognise my camera, >>> when I try to work with a video patch, it just shows a white image. >>> >>> Can you please help me solve this problem? >>> >>> I have a Mac OS X Version 10.9.5 >>> My version of Pd is: Pd 0.43.4-extended >>> And I'm working with the Mac's built in camera. >>> >>> ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pix_video
Just want to share this: I am working on OSX 10.9.5 with pdX-43.4 as well and i DONT have any problems getting my webcam running (built in and USB). This applies to my Desktop as well as my laptop. The interesting part here is, that i am running OSX on non-apple hardware. So maybe the bug is related to the apple-machines themselves??? regards, Peter Am 12.04.15 um 00:52 schrieb Nicolas Lhommet: Hello, It's probably the same problem, related to recent macs's built in webcam driver incompatibility with the video library used by Gem, that has been discussed last month on this list, and for which i proposed a workaround : make use of "iGlasses" shareware as a "webcam passthrough" (see "GEM Motion Capture" thread for details), but a real solution will require a rewrite of Mac OS X video-related code in Gem. Regards, Nicolas 2015-04-11 17:18 GMT+02:00 Olga Isabel Medina : I am starting to work with Pd and I want to do something with video editing. But I still cannot find a way for Pd to recognise my camera, when I try to work with a video patch, it just shows a white image. Can you please help me solve this problem? I have a Mac OS X Version 10.9.5 My version of Pd is: Pd 0.43.4-extended And I'm working with the Mac's built in camera. ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pix_video
Hello, It's probably the same problem, related to recent macs's built in webcam driver incompatibility with the video library used by Gem, that has been discussed last month on this list, and for which i proposed a workaround : make use of "iGlasses" shareware as a "webcam passthrough" (see "GEM Motion Capture" thread for details), but a real solution will require a rewrite of Mac OS X video-related code in Gem. Regards, Nicolas 2015-04-11 17:18 GMT+02:00 Olga Isabel Medina : > I am starting to work with Pd and I want to do something with video > editing. But I still cannot find a way for Pd to recognise my camera, > when I try to work with a video patch, it just shows a white image. > > Can you please help me solve this problem? > > I have a Mac OS X Version 10.9.5 > My version of Pd is: Pd 0.43.4-extended > And I'm working with the Mac's built in camera. > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Pix_video
I am starting to work with Pd and I want to do something with video editing. But I still cannot find a way for Pd to recognise my camera, when I try to work with a video patch, it just shows a white image. Can you please help me solve this problem? I have a Mac OS X Version 10.9.5My version of Pd is: Pd 0.43.4-extendedAnd I'm working with the Mac's built in camera.Thank you very much,Olga Isabel Medina Nieto https://www.youtube.com/user/efiLsIcisuMhttps://www.facebook.com/olguitarmedina ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_video + firewire problem
Hi ! Thanks for the suggestion ! It worked perfectly ! Im gonna try also the git repo best, gnd/ On 2014-08-12 16:13, Antoine Villeret wrote: I just checked 0.93.3 out on a Ubuntu 12.04 32bit system. And it suffer from the same issue reported in [1]. Note that I also give a workaround there to build DV plugin despite of the issue. [1] https://github.com/umlaeute/Gem/issues/38 -- do it yourself http://antoine.villeret.free.fr 2014-08-12 15:06 GMT+02:00 Antoine Villeret : hi, if you can `dvgrab` your camera, then your camera has a DV link interface. `dc1394` is not the same and it's intended for industrial IIDC compliant cameras. You *cannot* grab a DV camera with the DC1394 library, see [1]. To use your DV camera with Gem, you need either to compile the `videoDV4L` plugin or to use a V4L wrapper for DV camcorder [2]. You can also try the Unicap plugin, but I'm not sure if it supports DV cam. Unfortunately, I'm unable to build the videoDV4L plugin on Ubuntu 14.04. `./configure` says DV plugin is enable (but is it the same ?) but the is no gem_videoDV4L.so. I'll file a bug report for this. Maybe this plugin works in 0.93.3 release, I never tried it before. if you build Gem yourself, please consider the use of the git repo [3]. there are *lots* of improvements since 0.93.3 release. The latest build system update will give you more information about which plugins are actually enabled when configuring. + A [1] : http://damien.douxchamps.net/ieee1394/libdc1394/faq/#Can_I_use_it_for_my_DV_camcorder [2] : https://sourceforge.net/projects/dv4l.berlios/ [3] : git://git.code.sf.net/p/pd-gem/gem -- do it yourself http://antoine.villeret.free.fr 2014-08-10 23:55 GMT+02:00 : Hi, im running a clean install of Ubuntu 12.04, with Puredata 0.43.0-4 from Ubuntu repos, with a compiled Gem-0.93.3. Configure output of Gem shows: capture-support use PLUGINS : yes use v4l : yes (libv4l) use v4l2 : yes (libv4l) use ieee1394 : yes ( libdc1394 ) When i connect the dv device i see in dmesg: [14522.765477] firewire_core: phy config: card 0, new root=ffc1, gap_count=5 [14522.765695] firewire_core: phy config: card 0, new root=ffc1, gap_count=5 [14523.269924] firewire_core: created device fw1: GUID 002011010f002781, S400 Im able to dvgrab from the device without problems. When i create pix_video i see in console: [pix_video]: backend #0='v4l2' : v4l2 analog [pix_video]: backend #1='v4l' : v4l analog [pix_video]: backend #2='dc1394': dc1394 iidc When i send [driver dv( to pix_video: videoctl: driver dv [pix_video]: could not find a backend for driver 'dv' When i send [device /dev/fw1( to pix_video: videoctl: device /dev/fw1 Cannot open '/dev/fw1': 25, Inappropriate ioctl for device videoDC1394: no cameras found I try to set [driver 2(: videoDC1394: no cameras found I send now [device /dev/fw1( to pix_video: videoctl: device /dev/fw1 videoDC1394: no cameras found and so on .. The device is there (i chmoded it to 777 to make sure) # ls -la /dev|grep fw crwxrwxrwx 1 root root251, 0 Aug 10 19:41 fw0 crwxrwxrwx+ 1 root video 251, 1 Aug 10 23:43 fw1 this is my kernel: 3.2.0-65-lowlatency #68-Ubuntu SMP PREEMPT Does anyone have any idea what could be wrong ? I guess it must be sth stupid and trivial.. thx & regards, gnd/ ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_video + firewire problem
I just checked 0.93.3 out on a Ubuntu 12.04 32bit system. And it suffer from the same issue reported in [1]. Note that I also give a workaround there to build DV plugin despite of the issue. [1] https://github.com/umlaeute/Gem/issues/38 -- do it yourself http://antoine.villeret.free.fr 2014-08-12 15:06 GMT+02:00 Antoine Villeret : > hi, > > if you can `dvgrab` your camera, then your camera has a DV link interface. > `dc1394` is not the same and it's intended for industrial IIDC compliant > cameras. > You *cannot* grab a DV camera with the DC1394 library, see [1]. > > To use your DV camera with Gem, you need either to compile the `videoDV4L` > plugin or to use a V4L wrapper for DV camcorder [2]. > You can also try the Unicap plugin, but I'm not sure if it supports DV > cam. > > Unfortunately, I'm unable to build the videoDV4L plugin on Ubuntu 14.04. > `./configure` says DV plugin is enable (but is it the same ?) but the is > no gem_videoDV4L.so. > I'll file a bug report for this. > > Maybe this plugin works in 0.93.3 release, I never tried it before. > if you build Gem yourself, please consider the use of the git repo [3]. > there are *lots* of improvements since 0.93.3 release. > The latest build system update will give you more information about which > plugins are actually enabled when configuring. > > + > A > > [1] : > http://damien.douxchamps.net/ieee1394/libdc1394/faq/#Can_I_use_it_for_my_DV_camcorder > [2] : https://sourceforge.net/projects/dv4l.berlios/ > [3] : git://git.code.sf.net/p/pd-gem/gem > > -- > do it yourself > http://antoine.villeret.free.fr > > > 2014-08-10 23:55 GMT+02:00 : > > Hi, >> >> im running a clean install of Ubuntu 12.04, with Puredata 0.43.0-4 from >> Ubuntu repos, with a compiled Gem-0.93.3. >> >> Configure output of Gem shows: >> >> capture-support >> use PLUGINS : yes >> use v4l : yes (libv4l) >> use v4l2 : yes (libv4l) >> use ieee1394 : yes ( libdc1394 ) >> >> When i connect the dv device i see in dmesg: >> >> [14522.765477] firewire_core: phy config: card 0, new root=ffc1, >> gap_count=5 >> [14522.765695] firewire_core: phy config: card 0, new root=ffc1, >> gap_count=5 >> [14523.269924] firewire_core: created device fw1: GUID 002011010f002781, >> S400 >> >> Im able to dvgrab from the device without problems. >> >> When i create pix_video i see in console: >> >> [pix_video]: backend #0='v4l2' : v4l2 analog >> [pix_video]: backend #1='v4l' : v4l analog >> [pix_video]: backend #2='dc1394': dc1394 iidc >> >> When i send [driver dv( to pix_video: >> >> videoctl: driver dv >> [pix_video]: could not find a backend for driver 'dv' >> >> When i send [device /dev/fw1( to pix_video: >> >> videoctl: device /dev/fw1 >> Cannot open '/dev/fw1': 25, Inappropriate ioctl for device >> videoDC1394: no cameras found >> >> I try to set [driver 2(: >> >> videoDC1394: no cameras found >> >> I send now [device /dev/fw1( to pix_video: >> >> videoctl: device /dev/fw1 >> videoDC1394: no cameras found >> >> and so on .. >> >> The device is there (i chmoded it to 777 to make sure) >> >> # ls -la /dev|grep fw >> crwxrwxrwx 1 root root251, 0 Aug 10 19:41 fw0 >> crwxrwxrwx+ 1 root video 251, 1 Aug 10 23:43 fw1 >> >> this is my kernel: >> >> 3.2.0-65-lowlatency #68-Ubuntu SMP PREEMPT >> >> Does anyone have any idea what could be wrong ? I guess it must be sth >> stupid and trivial.. >> >> thx & regards, >> >> >> gnd/ >> >> >> >> >> >> >> >> >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ >> listinfo/pd-list >> > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_video + firewire problem
hi, if you can `dvgrab` your camera, then your camera has a DV link interface. `dc1394` is not the same and it's intended for industrial IIDC compliant cameras. You *cannot* grab a DV camera with the DC1394 library, see [1]. To use your DV camera with Gem, you need either to compile the `videoDV4L` plugin or to use a V4L wrapper for DV camcorder [2]. You can also try the Unicap plugin, but I'm not sure if it supports DV cam. Unfortunately, I'm unable to build the videoDV4L plugin on Ubuntu 14.04. `./configure` says DV plugin is enable (but is it the same ?) but the is no gem_videoDV4L.so. I'll file a bug report for this. Maybe this plugin works in 0.93.3 release, I never tried it before. if you build Gem yourself, please consider the use of the git repo [3]. there are *lots* of improvements since 0.93.3 release. The latest build system update will give you more information about which plugins are actually enabled when configuring. + A [1] : http://damien.douxchamps.net/ieee1394/libdc1394/faq/#Can_I_use_it_for_my_DV_camcorder [2] : https://sourceforge.net/projects/dv4l.berlios/ [3] : git://git.code.sf.net/p/pd-gem/gem -- do it yourself http://antoine.villeret.free.fr 2014-08-10 23:55 GMT+02:00 : > Hi, > > im running a clean install of Ubuntu 12.04, with Puredata 0.43.0-4 from > Ubuntu repos, with a compiled Gem-0.93.3. > > Configure output of Gem shows: > > capture-support > use PLUGINS : yes > use v4l : yes (libv4l) > use v4l2 : yes (libv4l) > use ieee1394 : yes ( libdc1394 ) > > When i connect the dv device i see in dmesg: > > [14522.765477] firewire_core: phy config: card 0, new root=ffc1, > gap_count=5 > [14522.765695] firewire_core: phy config: card 0, new root=ffc1, > gap_count=5 > [14523.269924] firewire_core: created device fw1: GUID 002011010f002781, > S400 > > Im able to dvgrab from the device without problems. > > When i create pix_video i see in console: > > [pix_video]: backend #0='v4l2' : v4l2 analog > [pix_video]: backend #1='v4l' : v4l analog > [pix_video]: backend #2='dc1394': dc1394 iidc > > When i send [driver dv( to pix_video: > > videoctl: driver dv > [pix_video]: could not find a backend for driver 'dv' > > When i send [device /dev/fw1( to pix_video: > > videoctl: device /dev/fw1 > Cannot open '/dev/fw1': 25, Inappropriate ioctl for device > videoDC1394: no cameras found > > I try to set [driver 2(: > > videoDC1394: no cameras found > > I send now [device /dev/fw1( to pix_video: > > videoctl: device /dev/fw1 > videoDC1394: no cameras found > > and so on .. > > The device is there (i chmoded it to 777 to make sure) > > # ls -la /dev|grep fw > crwxrwxrwx 1 root root251, 0 Aug 10 19:41 fw0 > crwxrwxrwx+ 1 root video 251, 1 Aug 10 23:43 fw1 > > this is my kernel: > > 3.2.0-65-lowlatency #68-Ubuntu SMP PREEMPT > > Does anyone have any idea what could be wrong ? I guess it must be sth > stupid and trivial.. > > thx & regards, > > > gnd/ > > > > > > > > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] pix_video + firewire problem
Hi, im running a clean install of Ubuntu 12.04, with Puredata 0.43.0-4 from Ubuntu repos, with a compiled Gem-0.93.3. Configure output of Gem shows: capture-support use PLUGINS : yes use v4l : yes (libv4l) use v4l2 : yes (libv4l) use ieee1394 : yes ( libdc1394 ) When i connect the dv device i see in dmesg: [14522.765477] firewire_core: phy config: card 0, new root=ffc1, gap_count=5 [14522.765695] firewire_core: phy config: card 0, new root=ffc1, gap_count=5 [14523.269924] firewire_core: created device fw1: GUID 002011010f002781, S400 Im able to dvgrab from the device without problems. When i create pix_video i see in console: [pix_video]: backend #0='v4l2' : v4l2 analog [pix_video]: backend #1='v4l' : v4l analog [pix_video]: backend #2='dc1394': dc1394 iidc When i send [driver dv( to pix_video: videoctl: driver dv [pix_video]: could not find a backend for driver 'dv' When i send [device /dev/fw1( to pix_video: videoctl: device /dev/fw1 Cannot open '/dev/fw1': 25, Inappropriate ioctl for device videoDC1394: no cameras found I try to set [driver 2(: videoDC1394: no cameras found I send now [device /dev/fw1( to pix_video: videoctl: device /dev/fw1 videoDC1394: no cameras found and so on .. The device is there (i chmoded it to 777 to make sure) # ls -la /dev|grep fw crwxrwxrwx 1 root root251, 0 Aug 10 19:41 fw0 crwxrwxrwx+ 1 root video 251, 1 Aug 10 23:43 fw1 this is my kernel: 3.2.0-65-lowlatency #68-Ubuntu SMP PREEMPT Does anyone have any idea what could be wrong ? I guess it must be sth stupid and trivial.. thx & regards, gnd/ ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list