许长法 | 15 Aug 2012 11:12
Picon

Re: live555 proxy server issue

Below is the log, FYI. Appreciate to get your response :-)



E:\DELTA\Item\VidaGrid\M2\RTSP\open-source\live555-delta\bin\Debug>proxyServer.e
LIVE555 Proxy Server
        (LIVE555 Streaming Media library version 2012.07.26)

Opening connection to 172.17.92.36, port 8557...
RTSP stream, proxying the stream "rtsp://172.17.92.36:8557/h264"
        Play this stream using the URL "rtsp://172.17.92.116/proxyStream"

(We use port 80 for optional RTSP-over-HTTP tunneling.)
...remote connection opened
Sending request: DESCRIBE rtsp://172.17.92.36:8557/h264 RTSP/1.0
CSeq: 2
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.07.26)
Accept: application/sdp


Received 632 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Sat, Jan 01 2000 00:36:39 GMT
Content-Base: rtsp://172.17.92.36:8557/h264/
Content-Type: application/sdp
Content-Length: 469

v=0
o=- 946684820211305 1 IN IP4 172.17.92.36
s=RTSP/RTP stream from IPNC
i=h264
t=0 0
a=tool:LIVE555 Streaming Media v2008.04.02
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from IPNC
a=x-qt-text-inf:h264
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=h264

a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
a=control:track2

ProxyServerMediaSession["rtsp://172.17.92.36:8557/h264/"] added new "ProxyServer
MediaSubsession" for RTP/video/H264 track
ProxyServerMediaSession["rtsp://172.17.92.36:8557/h264/"] added new "ProxyServer
MediaSubsession" for RTP/audio/PCMU track
ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 0)
        Initiated: ProxyServerMediaSubsession["H264"]
ProxyServerMediaSubsession["H264"]::createNewRTPSink()
ProxyServerMediaSubsession["H264"]::closeStreamSource()
ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 0)
        Initiated: ProxyServerMediaSubsession["PCMU"]
ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()
ProxyServerMediaSubsession["PCMU"]::closeStreamSource()
ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 3684920956)

Sending request: SETUP rtsp://172.17.92.36:8557/h264/track1 RTSP/1.0
CSeq: 3
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.07.26)
Transport: RTP/AVP;unicast;client_port=3602-3603


ProxyServerMediaSubsession["H264"]::createNewRTPSink()
ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 3684920956)

ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()
Received 196 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Sat, Jan 01 2000 00:36:42 GMT
Transport: RTP/AVP;unicast;destination=172.17.92.116;source=172.17.92.36;client_
port=3602-3603;server_port=6970-6971
Session: 24


ProxyRTSPClient["rtsp://172.17.92.36:8557/h264/"]::continueAfterSETUP(): head co
dec: H264; numSubsessions 2
        queue:  H264    PCMU
Sending request: SETUP rtsp://172.17.92.36:8557/h264/track2 RTSP/1.0
CSeq: 4
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.07.26)
Transport: RTP/AVP;unicast;client_port=3606-3607
Session: 24


Received 196 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Sat, Jan 01 2000 00:36:42 GMT
Transport: RTP/AVP;unicast;destination=172.17.92.116;source=172.17.92.36;client_
port=3606-3607;server_port=6972-6973
Session: 24


ProxyRTSPClient["rtsp://172.17.92.36:8557/h264/"]::continueAfterSETUP(): head co
dec: PCMU; numSubsessions 2
        queue:  PCMU
Sending request: PLAY rtsp://172.17.92.36:8557/h264/ RTSP/1.0
CSeq: 5
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.07.26)
Session: 24


Received 228 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Sat, Jan 01 2000 00:36:42 GMT
Session: 24


H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input
H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input

.......

2012/8/15 许长法 <jorpha-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Dear live dev team:

  i download the latest version of live555 source code and compile it successfully.
  Then i use proxy server to a ip camera(TEXAS) and use VLC to connect to the proxy to see the video(H264),
  Then i met below log :
   H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input.

   and i can only see the video active only for about 5s, After 5s i can only see a static picutre instead active video.
   but if i use VLC to connect to the ip camera directly, i can see the active video normally.

   my ip camera url : rtsp://172.17.92.36:8557/h264
   proxy server url : rtsp://172.17.92.116/proxyStream

--
Best Regards!
Jorpha




--
Best Regards!
Jorpha

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 15 Aug 2012 11:21
Favicon

Re: live555 proxy server issue

H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input

We had a similar report back in July.  See

In short: The camera is sending invalid H.264/RTP packets, violating the standard.  It needs to be fixed before it can work with the proxy server.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 15 Aug 2012 11:21
Favicon

Re: live555 proxy server issue

H264VideoStreamDiscreteFramer error: MPEG 'start code' seen in the input

We had a similar report back in July.  See

In short: The camera is sending invalid H.264/RTP packets, violating the standard.  It needs to be fixed before it can work with the proxy server.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel <at> lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Gmane