[Jderobot-dev] Empezando con cameraviewer
redouane kachach
redo.robot en gmail.com
Vie Oct 5 15:44:05 CEST 2012
No, todavia no: te sale un error abajo (en rojo) de fichero no encontrado
.. tienes que:
1. Comprobar que el path del fichero es correcto, que el fichero existe
y tiene permisos de lectura
2. Al funcionar te saldrá una UI con el video ..
On Fri, Oct 5, 2012 at 3:40 PM, jgandia <jaimerodriguezgandia en gmail.com>wrote:
> bueno mirando el post de borja he visto que habia que darle la
> configuración
> al camera server entonces le puse esta:
>
> CameraSrv.Endpoints=default -h 0.0.0.0 -p 9999
> CameraSrv.DefaultMode=1
> CameraSrv.NCameras=1
> CameraSrv.Camera.0.Name=cameraA
> CameraSrv.Camera.0.Uri=file:///home/jaime/video-4.avi
> CameraSrv.Camera.0.FramerateN=15
> CameraSrv.Camera.0.FramerateD=1
> CameraSrv.Camera.0.Format=RGB8
> CameraSrv.Camera.0.ImageWidth=360
> CameraSrv.Camera.0.ImageHeight=240
>
>
> entonces ahora lanzo desde 2 terminales_:
>
>
> TERMINAL1:
>
> root en pc-jaime:/home/jaime/trunk/src/components/cameraserver# cameraserver
> --Ice.Config=cameraserver.cfg
> 05/10/12 15:36:39.968 cameraserver: warning: found unknown properties for
> object adapter `CameraSrv':
> CameraSrv.Camera.0.Format
> CameraSrv.Camera.0.FramerateD
> CameraSrv.Camera.0.FramerateN
> CameraSrv.Camera.0.ImageHeight
> CameraSrv.Camera.0.ImageWidth
> CameraSrv.Camera.0.Name
> CameraSrv.Camera.0.Uri
> CameraSrv.DefaultMode
> CameraSrv.NCameras
> info: CameraSrv: Created object adapter.
> CameraSrv: Component infrastructure thread created.
> info: CameraSrv: Application initialized.
> info: Creating camera cameraA
> info: Creating pipeline with config: GSTVideoPipeline config: name=cameraA
> srcpipeline= uri=file:///home/jaime/video-4.avi width=360 height=240 bpp=0
> framerate=15/1 format=0x9a25078
> info: Pipeline caps: video/x-raw-rgb, bpp=(int)24, depth=(int)24,
> width=(int)360, height=(int)240, framerate=(fraction)15/1
> info: Component infrastructure changed state to Initialising.
> info: Component infrastructure changed state to Working.
> Activating adapter...
> Adapter activated
> info: Component infrastructure: adapter activated.
> info: Component infrastructure: nothing left to do, quitting
> info: Starting pipeline
> * info: Starting thread for camera: cameraA
> *
> *error: Error: Recurso no encontrado.
> *
>
>
> TERMINAL 2:
> jaime en pc-jaime:~/trunk/src/components/cameraview$ cameraview
> --Ice.Config=cameraview.cfg
> Loading glade
>
>
> ¿Se supone que funciona ya? Un saludo y gracias por todo!
>
>
>
>
>
>
>
> --
> View this message in context:
> http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-dev-Empezando-con-cameraviewer-tp4640688p4640703.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20121005/18a87b5a/attachment.htm
More information about the Jde-developers
mailing list