RTSP over HTTP

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

RTSP over HTTP

Nezer Zaidenberg
Hi,

I'm working on a system that needs to stream a video from Panasonic cameras (BL-C101A's). It streams rtsp over http, and I'm trying to play it with gst-launch by using:
"gst-launch -v rtspsrc location=rtsp://<ip>/nphMpeg4/nil-320x240 debug=true protocols=10 ! rtpmp4vdepay ! ffdec_mpeg4 ! queue ! ffmpegcolorspace ! autovideosink"

When I do this, it plays 10 seconds on average (somtimes 1 second, sometimes 30), and then it crashes saying 
"WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.                                                                         
Additional debug info:                                                                                                                                                  
gstrtspsrc.c(3433): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:                                                                                
The server closed the connection.                                                                                                                                       
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.                                                                           
Additional debug info:                                                                                                                                                  
gstrtspsrc.c(3540): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Network error: Resolver Error 0 (no error))".

The camera is working for sure.  (An old homegrown gstreamer component that was used instead of RTSP source plays the stream... We try to replace it and migrate to standard components)

Am I doing something wrong?
Any help would be very much appreciated.

Thanks,
   Tomer

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP over HTTP

Andrey Nikitin
В Mon, 25 Jul 2011 13:14:52 +0300
Nezer Zaidenberg <[hidden email]> пишет:

> Am I doing something wrong?
Panasonic ip-camera?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP over HTTP

Andrey Nikitin
In reply to this post by Nezer Zaidenberg
В Mon, 25 Jul 2011 13:14:52 +0300
Nezer Zaidenberg <[hidden email]> пишет:

> from Panasonic cameras
> (BL-C101A's).
from Panasonic cameras
(BL-C101A's).

http://$ip/cgi-bin/keep_alive?mode=jpeg&protocol=http&UID=xxx
This is http request for disabling connection reset by camera
for _mjpeg over http_ capture.
If he is not sent periodically,
the camera will reject connection.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP over HTTP

Nezer Zaidenberg
Thanks Andrey

Few more questions...

1) does uid=xxx in the URL stands for something? Is it possible to change this URL to support MPEG? (instead of jpeg)

2) Is it at all possible to play RTSP over HTTP (HTTP URL) http://192.168.8.179/rtpOverHttp?Url=nphMpeg4/nil-320x240
rtspsrc says it's not a valid rtsp url?

Thanks

Nezer 

On Mon, Jul 25, 2011 at 1:41 PM, Andrey Nikitin <[hidden email]> wrote:
В Mon, 25 Jul 2011 13:14:52 +0300
Nezer Zaidenberg <[hidden email]> пишет:

> from Panasonic cameras
> (BL-C101A's).
from Panasonic cameras
(BL-C101A's).

http://$ip/cgi-bin/keep_alive?mode=jpeg&protocol=http&UID=xxx
This is http request for disabling connection reset by camera
for _mjpeg over http_ capture.
If he is not sent periodically,
the camera will reject connection.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP over HTTP

Andrey Nikitin
В Mon, 25 Jul 2011 17:41:12 +0300
Nezer Zaidenberg <[hidden email]> пишет:

> 1) does uid=xxx in the URL stands for something? Is it possible to
> change this URL to support MPEG? (instead of jpeg)

UUID's meaning:
/cgi-bin/jpeg?connect=start&...&UID=<PLAYER_ID>
and after (periodically)
/cgi-bin/keep_alive?mode=jpeg&protocol=http&UID=<SAME_PLAYER_ID>

> See http://panasonic.net/pss/security/library/developer.html, file:
> CGI Common «Ref Panasonic_Network_camera ver1.25»
[1] http://www.linuxdvr.ru/rus/docs/apps-ipcam-capture.html
(i am a developer of this software AVReg.net)

> 2) Is it at all possible to play RTSP over HTTP (HTTP URL)
> http://192.168.8.179/rtpOverHttp?Url=nphMpeg4/nil-320x240
> rtspsrc says it's not a valid rtsp url?
I don't know, use tcpdump/wireshark on host with original panasonic's
viewer.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel