playerstage-users

Hello everybody,
I would like to use playercam (in player-2.0pre6), but when I install
player-2.0pre6 with the default options ( ./configure ; make ; make
install), playercam doesn't seem to be compiled. Do you know how I can
make it work ?
Thank you very much for your answer.
Benj

Benjamin de Coutard wrote:
> I would like to use playercam (in player-2.0pre6), but when I install
> player-2.0pre6 with the default options ( ./configure ; make ; make
> install), playercam doesn't seem to be compiled. Do you know how I can
> make it work ?
Do you have GTK installed? Playercam (along with a couple of other gui
apps) requires the WITH_GTK flag to be set. For this, you'll need:
libgnomecanvas-2.0
gtk+-2.0
gdk-pixbuf-2.0
Regards,
-bk

Thank you for your advise. Indeed, the problem was due to GTK.
Actually, I could install playercam. Now, the problem is that I don't
know how to make it work : when I launch playercam with the options
(host, port, etc...), nothing happens (no image, nor windows openning)
and there is no error message ; moreover, the host (the station on
which is connected the camera) displays that a client (the station on
which I launch playercam) is connected : so it seems that playercam
works well. Do you know how I can obtain the display of images ?
Thank you very much for your help.
Benjamin
2005/11/17, Brad Kratochvil <bkratochvil@...>:
> Benjamin de Coutard wrote:
> > I would like to use playercam (in player-2.0pre6), but when I install
> > player-2.0pre6 with the default options ( ./configure ; make ; make
> > install), playercam doesn't seem to be compiled. Do you know how I can
> > make it work ?
>
> Do you have GTK installed? Playercam (along with a couple of other gui
> apps) requires the WITH_GTK flag to be set. For this, you'll need:
>
> libgnomecanvas-2.0
> gtk+-2.0
> gdk-pixbuf-2.0
>
> Regards,
>
> -bk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

Benjamin de Coutard wrote:
> Thank you for your advise. Indeed, the problem was due to GTK.
> Actually, I could install playercam. Now, the problem is that I don't
> know how to make it work : when I launch playercam with the options
> (host, port, etc...), nothing happens (no image, nor windows openning)
> and there is no error message ; moreover, the host (the station on
> which is connected the camera) displays that a client (the station on
> which I launch playercam) is connected : so it seems that playercam
> works well. Do you know how I can obtain the display of images ?
> Thank you very much for your help.
It would be helpfull if you could provide a little more information. I
just tested the current CVS version w/ the camera v4l driver and
everything seems to work properly. I'm using it w/ a Logitech sphere
camera and the following config file:
driver
(
name "camerav4l"
provides ["camera:0"]
alwayson 1
port "/dev/video0"
source 0
size [320 240]
mode "YUV420P"
)
If you are only using a camera (no blobfinder), the output to the
console should look something like:
bradleyk@...:~$ 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 320 h 240 d 24] [230400/230400 bytes]
What kind of camera are you using? Is everything on localhost? Have
you tested to make sure you can get data from the camera w/ PlayerPrint?
Best regards,
Brad

In fact, I am using a camera ieee1394, connected to a firstworkstation
called "heliaut". I run on it player-1.6.5 with a config file of this
type :
driver
(
name "camera1394"
provides ["camera:0"]
mode "640x480_rgb"
framerate 10
exposure "auto"
gain "auto"
)
driver
(
name "cameracompress"
requires ["camera:0"]
provides ["camera:1"]
)
On an other workstation called "herve" I have installed player-2.0 in
order to have playercam, but the version of player active is 1.6.5
(because player-2.0 didn't seem to work well). So in this workstation
I run playercam : >playercam -h heliaut
The link between heliaut and herve is done by Wifi.
On "heliaut", player display that client "herve" is connected with
port 6665 (the message is : ** Player [port 6665] client accepted from
30.51.140.11 on socket 6 **) ; so heverything seems OK. However, on
"herve", nothing happens (no message, nothing...)
I know that there is no problem to acquire signal from camera, and no
problem with Wifi link : indeed, I can save images acquired by the
camera connected to "heliaut" in folder on "herve", by running a
little program called "test_camera1394".
So, I think that the problem is only due to playercam. Do you think
that the origin of the problem is the use of playercam with player-2.0
?
What should be the answer of "herve" to the command >playercam -h
heliaut ? A display of what the camera sees ? Should there be a window
opening with the film automatically ?
Thank you again for your help.
Benjamin
2005/11/22, Brad Kratochvil <bkratochvil@...>:
> Benjamin de Coutard wrote:
> > Thank you for your advise. Indeed, the problem was due to GTK.
> > Actually, I could install playercam. Now, the problem is that I don't
> > know how to make it work : when I launch playercam with the options
> > (host, port, etc...), nothing happens (no image, nor windows openning)
> > and there is no error message ; moreover, the host (the station on
> > which is connected the camera) displays that a client (the station on
> > which I launch playercam) is connected : so it seems that playercam
> > works well. Do you know how I can obtain the display of images ?
> > Thank you very much for your help.
>
> It would be helpfull if you could provide a little more information. I
> just tested the current CVS version w/ the camera v4l driver and
> everything seems to work properly. I'm using it w/ a Logitech sphere
> camera and the following config file:
>
> driver
> (
> name "camerav4l"
> provides ["camera:0"]
> alwayson 1
> port "/dev/video0"
> source 0
> size [320 240]
> mode "YUV420P"
> )
>
> If you are only using a camera (no blobfinder), the output to the
> console should look something like:
>
> bradleyk@...:~$ 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 320 h 240 d 24] [230400/230400 bytes]
>
>
>
> What kind of camera are you using? Is everything on localhost? Have
> you tested to make sure you can get data from the camera w/ PlayerPrint?
>
> Best regards,
>
> Brad
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

Benjamin de Coutard wrote:
> So, I think that the problem is only due to playercam. Do you think
> that the origin of the problem is the use of playercam with player-2.0
> ?
>
> What should be the answer of "herve" to the command >playercam -h
> heliaut ? A display of what the camera sees ? Should there be a window
> opening with the film automatically ?
The message format between 1.6.5 and 2.0 are not compatible. So, you
have to stick with the same version for both.
-bk

Sorry, I have done a mistake in my question :
"Do you think that the origin of the problem is the use of playercam
with player 1.6.5 (and not 2.0) ?"
Indeed, I use playercam (compiled by the installation of player 2.0),
but the version of player running on both workstations (herve and
heliaut) is player 1.6.5.
Does playercam use the message format of player 2.0 ?
Thank you for your answer.
(I hope I am understable...)
Benjamin
2005/11/22, Brad Kratochvil <bkratochvil@...>:
> Benjamin de Coutard wrote:
> > So, I think that the problem is only due to playercam. Do you think
> > that the origin of the problem is the use of playercam with player 2.0
> > ?
> >
> > What should be the answer of "herve" to the command >playercam -h
> > heliaut ? A display of what the camera sees ? Should there be a window
> > opening with the film automatically ?
>
> The message format between 1.6.5 and 2.0 are not compatible. So, you
> have to stick with the same version for both.
>
> -bk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

Benjamin de Coutard wrote:
> Sorry, I have done a mistake in my question :
> "Do you think that the origin of the problem is the use of playercam
> with player 1.6.5 (and not 2.0) ?"
Yes.
> Indeed, I use playercam (compiled by the installation of player 2.0),
> but the version of player running on both workstations (herve and
> heliaut) is player 1.6.5.
>
> Does playercam use the message format of player 2.0 ?
All of the utilities use the client libraries that they come with.
Thus, playerv if compiled in the 1.6.5 branch, it uses the 1.6.5
libraries (and likewise for 2.0). So, if you want to use the 2.0 client
libraries, you'll need to use the 2.0 server.
There is a version of playercam that runs on 1.6.5
http://www.iris.ethz.ch/research/marvin/files/
or you can check out Paul Osmialowski's camera viewer:
http://king.net.pl/playercontrib/plugins/
Hope that helps,
-bk

OK !
Thank you very much !
2005/11/22, Brad Kratochvil <bkratochvil@...>:
> Benjamin de Coutard wrote:
> > Sorry, I have done a mistake in my question :
> > "Do you think that the origin of the problem is the use of playercam
> > with player 1.6.5 (and not 2.0) ?"
>
> Yes.
>
> > Indeed, I use playercam (compiled by the installation of player 2.0),
> > but the version of player running on both workstations (herve and
> > heliaut) is player 1.6.5.
> >
> > Does playercam use the message format of player 2.0 ?
>
> All of the utilities use the client libraries that they come with.
> Thus, playerv if compiled in the 1.6.5 branch, it uses the 1.6.5
> libraries (and likewise for 2.0). So, if you want to use the 2.0 client
> libraries, you'll need to use the 2.0 server.
>
> There is a version of playercam that runs on 1.6.5
>
> http://www.iris.ethz.ch/research/marvin/files/
>
> or you can check out Paul Osmialowski's camera viewer:
>
> http://king.net.pl/playercontrib/plugins/
>
> Hope that helps,
>
> -bk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

> There is a version of playercam that runs on 1.6.5
>
> http://www.iris.ethz.ch/research/marvin/files/
>
> or you can check out Paul Osmialowski's camera viewer:
>
> http://king.net.pl/playercontrib/plugins/
>
> Hope that helps,
>
> -bk
My program is called videoplayer and is available here:
http://king.net.pl/playercontrib/videoplayer
there are two versions, one for GTK+ and one for GTK2 library. GTK2
version can be used with wider range of OS'es (Linux, *BSD, latest Cygwin,
Solaris and other Unixes with GLIB2/GTK2). It also needs libplayerc from
player-1.6.5.
Note that http://king.net.pl/playercontrib/plugins is a directory for
varius Player server plugins that I have written recently. All my Player
related goodies are there: http://king.net.pl/playercontrib
I have never seen ieee1394 camera working in RGB mode (although camera1394
driver is able to work in such a case), our firewire cameras works in
YUV422 mode only (fortunately, camera1394 does on-the-fly conversion from
YUV422 to RGB). I assume that your settings are based on experiences with
other firewire programs (i.e. coriander from sourceforge).
Cheers,
Paul

Hello Brad,
I am trying the version of playercam for player 1.6.5. I had no
problem with install (except finding CImg.h). Now, when I run >
playercam --h heliaut --p 6665 --i 1 --d 1 , I have a window opening
with time running, but the image seems to not be decompressed
(otherwise, when I use "--i=3D0" option, I have an error message). Do
you think I have to modify the source in order to decompress jpg
images (is it difficult ?) ? Or, maybe I have done a mistake ? Is
there a newer version of playercam for player 1.6.5 ?
Thank you again for your answer.
Benjamin
P.S : the format of images acquired is YUV 422.
2005/11/22, Brad Kratochvil <bkratochvil@...>:
> Benjamin de Coutard wrote:
> > Sorry, I have done a mistake in my question :
> > "Do you think that the origin of the problem is the use of playercam
> > with player 1.6.5 (and not 2.0) ?"
>
> Yes.
>
> > Indeed, I use playercam (compiled by the installation of player 2.0),
> > but the version of player running on both workstations (herve and
> > heliaut) is player 1.6.5.
> >
> > Does playercam use the message format of player 2.0 ?
>
> All of the utilities use the client libraries that they come with.
> Thus, playerv if compiled in the 1.6.5 branch, it uses the 1.6.5
> libraries (and likewise for 2.0). So, if you want to use the 2.0 client
> libraries, you'll need to use the 2.0 server.
>
> There is a version of playercam that runs on 1.6.5
>
> http://www.iris.ethz.ch/research/marvin/files/
>
> or you can check out Paul Osmialowski's camera viewer:
>
> http://king.net.pl/playercontrib/plugins/
>
> Hope that helps,
>
> -bk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

Benjamin de Coutard wrote:
> I am trying the version of playercam for player 1.6.5. I had no
> problem with install (except finding CImg.h). Now, when I run >
> playercam --h heliaut --p 6665 --i 1 --d 1 , I have a window opening
> with time running, but the image seems to not be decompressed
> (otherwise, when I use "--i=0" option, I have an error message).
What does your config file look like for Player? Are you specifically
compressing the image?
>Do
> you think I have to modify the source in order to decompress jpg
> images (is it difficult ?) ? Or, maybe I have done a mistake ? Is
> there a newer version of playercam for player 1.6.5 ?
> Thank you again for your answer.
It's been a while since I've worked on that version of Playercam (the
new one is a totally different code base), and I'm not 100% sure what
type of video it expects. It may be RGB888 and it may be planar RGB.
Have you tried using a B/W image? That shouldn't have a problem.
If it turns out to be a compression thing (because you're using the
compression driver), I'd make sure that the jpeg stuff is being compiled
into the player client libraries. If it turns out to be a color space
problem, I'd suggest looking into Paul's camera driver which uses RGB888
or the new version of Playercam (for 2.0) which also uses RGB888.
-bk