hello last year we was trying to run firewire A/D video converter DFG/1394-1e with unicap in gem whitout success. there are three sources Composite 1, Composite 2, and S-video. im giving it next try. i have: libunicap-0.9.12-1 tcl-8.5.11-1 tk-8.5.11-1 gem-git-201201010 - today pd-git-201201010 - today
ls -l /usr/local/lib/pd/extra/Gem/*.so -rwxr-xr-x 1 root root 31368 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_filmAVIPLAY.so -rwxr-xr-x 1 root root 31360 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_filmQT4L.so -rwxr-xr-x 1 root root 35520 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_imageJPEG.so -rwxr-xr-x 1 root root 43728 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_imageMAGICK.so -rwxr-xr-x 1 root root 35200 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_imageSGI.so -rwxr-xr-x 1 root root 47840 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_imageTIFF.so -rwxr-xr-x 1 root root 56192 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_recordQT4L.so -rwxr-xr-x 1 root root 18864 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_recordV4L.so -rwxr-xr-x 1 root root 18872 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_recordV4L2.so -rwxr-xr-x 1 root root 64544 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoDC1394.so -rwxr-xr-x 1 root root 48064 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoDV4L.so -rwxr-xr-x 1 root root 60416 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoUNICAP.so -rwxr-xr-x 1 root root 80672 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoV4L.so -rwxr-xr-x 1 root root 76704 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoV4L2.so -rwxr-xr-x 1 root root 43712 jan 5 12:40 /usr/local/lib/pd/extra/Gem/gem_videoVLC.so
connecting device to firewire: [ 1925.300583] firewire_core: created device fw1: GUID 0007480029010454, S400 [ 1925.300595] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
ls -l /dev/fw* crwxr-xr-x 1 root root 252, 0 jan 10 13:32 /dev/fw0 crwxr-xr-x 1 root root 252, 1 jan 10 14:05 /dev/fw1
///but anyway i have to run pd as root, otherwise i dont even get device properties ///i will work with pix_video-help.pd
[pix_video]: backend #0='v4l2' : v4l2 analog [pix_video]: backend #1='v4l' : v4l analog [pix_video]: backend #2='dv4l' : dv4l dv [pix_video]: backend #3='dc1394' : dc1394 iidc [pix_video]: backend #4='unicap' : unicap analog libvid21394 [pix_video]: backend #5='vlc' : vlc
///this error is displayed only if i run pd as root
videoctl: enumerate info: devices 3 info: device /dev/fw1 dv4l info: device DFG/1394-1 29010454 unicap info: device vlc vlc
videoctl: driver unicap (Tcl) INVALID COMMAND NAME: invalid command name ".x262c5d0.c" while executing ".x262c5d0.c delete 262cfa0BASE0" ("uplevel" body line 6) invoked from within "uplevel #0 $cmd_from_pd"
///this error is related to the [pd properties] subpatch in pix_video-help.pd, as when not present, error dissaperars.. ///when i enter "driver unicap" 2nd time, it gives no error, but property list:
videoctl: driver unicap info: proplist numread 16 info: proplist read Auto Exposure Mode symbol Full Auto info: proplist read Focus float 50000 info: proplist read Gain float 255 info: proplist read Iris float 16 info: proplist read Shutter float 255 info: proplist read White Balance float 2 info: proplist read Zoom float 50000 info: proplist read brightness float 1 info: proplist read contrast float 1 info: proplist read firmware version float 99999 info: proplist read force odd/even float 1 info: proplist read link speed float 2 info: proplist read rs232 baud rate float 4 info: proplist read rs232 io bang info: proplist read source symbol Composite 1 info: proplist read video norm symbol NTSC info: proplist numwrite 16 info: proplist write Auto Exposure Mode symbol Full Auto info: proplist write Focus float 50000 info: proplist write Gain float 255 info: proplist write Iris float 16 info: proplist write Shutter float 255 info: proplist write White Balance float 2 info: proplist write Zoom float 50000 info: proplist write brightness float 1 info: proplist write contrast float 1 info: proplist write firmware version float 99999 info: proplist write force odd/even float 1 info: proplist write link speed float 2 info: proplist write rs232 baud rate float 4 info: proplist write rs232 io bang info: proplist write source symbol Composite 1 info: proplist write video norm symbol NTSC
/// adjusting properties: videoctl: get video norm info: prop video norm PAL videoctl: set video norm PAL videoctl: get source info: prop source Composite 1
///start render GEM: Direct Rendering enabled! GEM: GLEW version 1.5.4 GEM: Start rendering
sending "dimen 720 576" in any time doesnt change situation, picture remains white am i doing something wrong, or there is some error?
kubriel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-10 15:27, kubro bubro wrote:
hello last year we was trying to run firewire A/D video converter DFG/1394-1e with unicap in gem whitout success. there are three
unicap backend is highly experimental (mainly because i never managed to have a proper installation of unicap on my system...even the applications that are bundled with unicap don't work properly!)
however, do you really need the unicap backend? Gem has built in support for dv (videoDV4L) and iidc (videoDC1394), one of which should work with your device (presumably dv4l)
maybe it will just work if you remove the unicap plugin entirely (so it cannot claim the device), and use [device /dev/fw1(
fgmasrd IOhannes
PS: and yes, Pd bails out because of the GOPs inside the [pd properties] subpatch; this is a bug in Pd (and should not create a real problem)