[spook-l] spook and mplayer

Leopold Palomo-Avellaneda lepalom at wol.es
Fri Mar 3 08:48:19 EST 2006


Well,

I answer to myself.... typically the problem is to be nervous trying to do 
something ....

mplayer  rtsp://ip_of_the_host:7070/webcam

but there are some points that probably affected me:

- for example, you have a framegrabber card and you have /dev/video0 device. 
If you have some problem in the cable of there's no input in the /dev/video0

you can run spook:
palomo at sonar:~$ ./spook -D
Mar  3 14:43:22 spook[31740]: listening on control socket spook.sock
Mar  3 14:43:22 spook[31740]: frame size is 1921600
Mar  3 14:43:22 spook[31740]: listening on tcp port 7070
Mar  3 14:43:22 spook[31740]: v4l2: using capture device "Adlink PCI-MPG24, 
channel #2"
Mar  3 14:43:22 spook[31740]: writing access logs to spook.log


no problem at all, and you run mplayer:

.......
Resolving 147.83.37.43 for AF_INET6...
Couldn't resolve name for AF_INET6: xx.yy.37.43
Connecting to server xx.yy.37.43[xx.yy.37.43]: 7070...
rtsp_session: Not a Real server. Server type is 'unknown'.
STREAM_LIVE555, URL: rtsp://xx.yy.37.43:7070/webcam
This stream is non-cacheable
Stream not seekable!
Failed to get a SDP description from URL "rtsp://xx.yy.37.43:7070/webcam": 
cannot handle DESCRIBE response: RTSP/1.0 404 Not Found

and spook says:



Mar  3 14:43:28 spook[31740]: accepted connection from xx.yy.37.85:51805
Mar  3 14:43:28 spook[31740]: client request: 'OPTIONS' 
'rtsp://xx.yy.37.43:7070' 'RTSP/1.0'
Mar  3 14:43:28 spook[31740]: client closed TCP connection
Mar  3 14:43:28 spook[31740]: accepted connection from xx.yy.37.85:51806
Mar  3 14:43:28 spook[31740]: client request: 'DESCRIBE' 
'rtsp://xx.yy.37.43:7070/webcam' 'RTSP/1.0'
Mar  3 14:43:28 spook[31740]: describing streams under 
'rtsp://xx.yy.37.43:7070/webcam'
Mar  3 14:43:28 spook[31740]: client closed TCP connection


so, maybe this is a problem because you didn't know if there's a problem or 
not. I will be investigating this issue ...

Regards,

Leo

A Dimecres 01 Març 2006 13:01, Leopold Palomo-Avellaneda va escriure:
> Hi,
>
> I'm a newbie in spook and I'm doing something wrong but I didn't understand
> what. I have compiled and configured spook with my v4l2 device.
>
> When I run spook I got all seems to be ok, but when I try to connect to
> spook, for example in a localhost connection:
>
> Mar  1 13:01:32 spook[20358]: accepted connection from 127.0.0.1:42520
> Mar  1 13:01:32 spook[20358]: client request: 'OPTIONS'
> 'rtsp://localhost:7070' 'RTSP/1.0'
> Mar  1 13:01:32 spook[20358]: client closed TCP connection
> Mar  1 13:01:32 spook[20358]: accepted connection from 127.0.0.1:42521
> Mar  1 13:01:32 spook[20358]: client request: 'DESCRIBE'
> 'rtsp://localhost:7070:/webcam' 'RTSP/1.0'
> Mar  1 13:01:32 spook[20358]: client closed TCP connection
>
>
> I have only executed, as the README said:
> mplayer rtsp://localhost:7070
>
> with the result:
>
> Connecting to server localhost[127.0.0.1]:7070 ...
> rtsp_session: Not a Real server. Server type is 'unknown'.
> STREAM_LIVE555, URL: rtsp://localhost:7070
> This stream is non-cacheable
> Stream not seekable!
> Failed to get a SDP description from URL "rtsp://localhost:7070": cannot
> handle DESCRIBE response: RTSP/1.0 404 Not Found
>
>
> Exiting... (End of file)
>
>
> also I have tried:
> rtsp://localhost:7070:/webcam
> rtsp://localhost:7070/webcam
>
>
> Any ideas?
>
>
> Regards,
>
> Leo



More information about the spook-l mailing list