Using motion


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Using motion
# 1  
Old 04-17-2013
Using motion

I am using motion on my Raspberry Pi with an HP webcam. When I begin motion, and from another computer, type in the address of the server with the webcam, then the port (8000/8001), it just says that the page could not be found. When I type in just the IP address, i come to a page that says "It works!", which I believe, to be the default Apache page.
Is there a service that motion needs to stream the video, to allow remote connections to view it? I had it working before, and it prompted me for a username/password.

EDIT: I tried accessing it locally on the same machine with the webcam, and still get the error that the page could not be located. It says that it cannot resolve the hostname (localhost). It can display just the localhost page, which is that "It works!" page.

Last edited by droidus; 04-17-2013 at 11:28 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
XvQueryBestSize(3)					     Library Functions Manual						XvQueryBestSize(3)

Name
       XvQueryBestSize - determine the optimum drawable region size

Syntax
       #include <X11/extensions/Xvlib.h>

       XvQueryBestSize(Display *dpy, XvPort port, Bool motion,
		       unsigned int vw, unsigned int vh,
		       unsigned int dw, unsigned int dh,
		       unsigned int *p_dw, unsigned int *p_dh);

Arguments
       dpy	      Specifies the connection to the X server.

       port	      Defines the port associated with the display and adaptor for which the optimum size is to be calculated.

       motion	      Specifies  True  if  the	destination size needs to support full motion, and False if the destination size need only support
		      still images.

       vw,vh	      Specifies the size of the source video region desired.

       dw,dh	      Specifies the size of the destination drawable region desired.

       p_dw,p_dh      Pointers to where the closest destination sizes supported by the server are returned.

Description
       Some ports may be able to scale incoming or outgoing video.  XvQueryBestSize(3) returns the size of the closest destination region that	is
       supported by the adaptor.  The returned size is guaranteed to be smaller than the requested size if a smaller size is supported.

Returned Values
       [Success]
	       Returned if XvQueryBestSize(3) completed successfully.

       [XvBadExtension]
	       Returned if the Xv extension is unavailable.

       [XvBadAlloc]
	       Returned if XvQueryBestSize(3) failed to allocate memory to process the request.

Diagnostics
       [XvBadPort]
	       Generated if the requested port does not exist.

X Version 11							    libXv 1.0.4 						XvQueryBestSize(3)