From: A. Ö. <ali...@gm...> - 2008-09-12 11:18:58
|
Thanks Paul, it just works perfectly fine. I guess playercam needs some more refinement. /ali 2008/9/12 Paul Osmialowski <new...@ki...> > Personally, I don't trust playercam, therefore I've written something > simpler, try this: > http://king.net.pl/playercontrib/videoplayer/videoplayer2/videoplayer2-gtk2-20071212.tar.gz > > Cheers, > Paul > > > On Fri, 12 Sep 2008, Ali Özkil wrote: > > Hi, >> >> I tried to use example cfg files from player manual. here they are> >> >> driver >> ( >> name "camerauvc" >> provides ["camera:0"] >> port "/dev/video0" >> ) >> >> >> driver >> ( >> name "cvcam" >> camindex "0" >> provides ["camera:0"] >> ) >> >> >> driver >> ( >> name "camerav4l" >> provides ["camera:0"] >> ) >> >> i also tried these together with cameracompress and camerauncompress. >> >> And this is what player / playercam spits out when I use the stock >> cvcam.cfg >> file that comes in /player/config folder> >> >> ali@ali-laptop:~/player/config$ player cvcam.cfg >> >>> Registering driver >>> Player v.2.2.0 >>> >>> * Part of the Player/Stage/Gazebo Project [ >>> http://playerstage.sourceforge.net]. >>> * Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard, >>> * Nate Koenig, and contributors. Released under the GNU General Public >>> License. >>> * Player comes with ABSOLUTELY NO WARRANTY. This is free software, and >>> you >>> * are welcome to redistribute it under certain conditions; see COPYING >>> * for details. >>> >>> listening on 6665 >>> Listening on ports: 6665 >>> accepted TCP client 0 on port 6665, fd 6 >>> warning : Achieved capture size 640.0000 x 480.0000 >>> warning : skipping subscription to unknown device blobfinder:0 >>> closing TCP connection to client 0 on port 6665 >>> error : Select called failed in File Watcher: 4 Interrupted system call >>> Quitting. >>> ali@ali-laptop:~/player/config$ >>> >>> >> and playercam > >> >> ali@ali-laptop:~/player/config$ playercam >> >>> playerc error : got NACK from request >>> playerc error : failed to get response >>> blobfinder error: failed to get response >>> playercam will attempt to continue without a blobfinder >>> camera: [w 640 h 480 d 24] [921600/921600 bytes] >>> playercam: /home/ali/player/utils/playercam/playercam.c:466: >>> player_update: >>> Assertion `allocated_size > g_camera->image_count*3' failed. >>> Aborted >>> ali@ali-laptop:~/player/config$ >>> >>> >> >> I have tried the following cameras: Philips spc900, philips 740, and two >> different models of a cheap brand that are listed as "ID 0ac8:303b Z-Star >> Microelectronics Corp. ZC0303 WebCam" and "ID 0ac8:3340 Z-Star >> Microelectronics Corp." >> >> I have tried the last two with opencv and they work just fine. >> >> /ali >> >> >> >> On Fri, Sep 12, 2008 at 12:53 AM, Toby Collett >> <tco...@pl... <tcollett%2Bp...@pl...>< >> tcollett%2Bp...@pl... <tcollett%252...@pl...>>> >> >> wrote: >> >>> >>> can you post your player config and the camera model >>> >>> Toby >>> >>> 2008/9/12 Ali Özkil <ali...@gm...> >>> >>>> >>>> Hi, >>>> >>>> I am trying to get my camera work with player2.2 & playercam. >>>> I can view and capture frames using opencv, but I could not make the >>>> >>> playercam do the same thing. >> >>> >>>> Any suggestions? >>>> >>>> /ali >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> >>> challenge >> >>> Build the coolest Linux based applications with Moblin SDK & win great >>>> >>> prizes >> >>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> >>> world >> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Playerstage-users mailing list >>>> Pla...@li... >>>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >>>> >>>> >>> >>> >>> -- >>> This email is intended for the addressee only and may contain privileged >>> >> and/or confidential information >> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> >> challenge >> >>> Build the coolest Linux based applications with Moblin SDK & win great >>> >> prizes >> >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> >> world >> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Playerstage-users mailing list >>> Pla...@li... >>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >>> >>> > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > |