<font size=2 face="sans-serif">Thanks for the prompt answer!</font>
<br><font size=2 face="sans-serif">Unfortunately even with the "-t"
option the problem persists.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Here the RTSP protocol exchange (without
the "-t" option):</font>
<br>
<br>
<br><font size=2 face="sans-serif">$ openRTSP -S 10 rtsp://192.168.100.1:1554/profile/1/local.sdp</font>
<br>
<br><font size=2 face="sans-serif">Opening connection to 192.168.100.1,
port 1554...</font>
<br><font size=2 face="sans-serif">...remote connection opened</font>
<br><font size=2 face="sans-serif">Sending request: OPTIONS rtsp://192.168.100.1:1554/profile/1/local.sdp
RTSP/1.0</font>
<br><font size=2 face="sans-serif">CSeq: 2</font>
<br><font size=2 face="sans-serif">User-Agent: /home/c.cerbo/dev/live/testProgs/openRTSP
(LIVE555 Streaming Media v2014.07.25)</font>
<br><font size=2 face="sans-serif">EasyPassword: 123456</font>
<br>
<br>
<br><font size=2 face="sans-serif">Received 100 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received a complete OPTIONS response:</font>
<br><font size=2 face="sans-serif">RTSP/1.0 200 OK</font>
<br><font size=2 face="sans-serif">CSeq: 2</font>
<br><font size=2 face="sans-serif">Public: OPTIONS,DESCRIBE,SETUP,PLAY,PAUSE,TEARDOWN</font>
<br><font size=2 face="sans-serif">ForwardRequired: 1</font>
<br>
<br>
<br><font size=2 face="sans-serif">Sending request: DESCRIBE rtsp://192.168.100.1:1554/profile/1/local.sdp
RTSP/1.0</font>
<br><font size=2 face="sans-serif">CSeq: 3</font>
<br><font size=2 face="sans-serif">User-Agent: /home/c.cerbo/dev/live/testProgs/openRTSP
(LIVE555 Streaming Media v2014.07.25)</font>
<br><font size=2 face="sans-serif">EasyPassword: 123456</font>
<br><font size=2 face="sans-serif">Accept: application/sdp</font>
<br>
<br>
<br><font size=2 face="sans-serif">Received 435 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received a complete DESCRIBE response:</font>
<br><font size=2 face="sans-serif">RTSP/1.0 200 OK</font>
<br><font size=2 face="sans-serif">CSeq: 3</font>
<br><font size=2 face="sans-serif">Server: FaramCam/1.0.0</font>
<br><font size=2 face="sans-serif">Date: Tue, 18 Jan 2005 22:56:43 GMT</font>
<br><font size=2 face="sans-serif">Expires: Tue, 18 Jan 2005 22:56:43 GMT</font>
<br><font size=2 face="sans-serif">Content-Base: rtsp://192.168.100.1:1554/profile/1/local.sdp/</font>
<br><font size=2 face="sans-serif">Content-Type: application/sdp</font>
<br><font size=2 face="sans-serif">Content-Length: 192</font>
<br>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=- 1 1 IN IP4 192.168.100.1</font>
<br><font size=2 face="sans-serif">s=RTSP Session</font>
<br><font size=2 face="sans-serif">c=IN IP4 192.168.100.1</font>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">a=range:npt=now-</font>
<br><font size=2 face="sans-serif">a=control:*</font>
<br><font size=2 face="sans-serif">m=video 0 RTP/AVP 125</font>
<br><font size=2 face="sans-serif">b=AS:80</font>
<br><font size=2 face="sans-serif">a=rtpmap:125 MJPEG/90000</font>
<br><font size=2 face="sans-serif">a=control:trackID=0</font>
<br>
<br><font size=2 face="sans-serif">Opened URL "rtsp://192.168.100.1:1554/profile/1/local.sdp",
returning a SDP description:</font>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=- 1 1 IN IP4 192.168.100.1</font>
<br><font size=2 face="sans-serif">s=RTSP Session</font>
<br><font size=2 face="sans-serif">c=IN IP4 192.168.100.1</font>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">a=range:npt=now-</font>
<br><font size=2 face="sans-serif">a=control:*</font>
<br><font size=2 face="sans-serif">m=video 0 RTP/AVP 125</font>
<br><font size=2 face="sans-serif">b=AS:80</font>
<br><font size=2 face="sans-serif">a=rtpmap:125 MJPEG/90000</font>
<br><font size=2 face="sans-serif">a=control:trackID=0</font>
<br>
<br><font size=2 face="sans-serif">Created receiver for "video/MJPEG"
subsession (client ports 36242-36243)</font>
<br><font size=2 face="sans-serif">Sending request: SETUP rtsp://192.168.100.1:1554/profile/1/local.sdp/trackID=0
RTSP/1.0</font>
<br><font size=2 face="sans-serif">CSeq: 4</font>
<br><font size=2 face="sans-serif">User-Agent: /home/c.cerbo/dev/live/testProgs/openRTSP
(LIVE555 Streaming Media v2014.07.25)</font>
<br><font size=2 face="sans-serif">EasyPassword: 123456</font>
<br><font size=2 face="sans-serif">Transport: RTP/AVP;unicast;client_port=36242-36243</font>
<br>
<br>
<br><font size=2 face="sans-serif">Received 193 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received a complete SETUP response:</font>
<br><font size=2 face="sans-serif">RTSP/1.0 200 OK</font>
<br><font size=2 face="sans-serif">CSeq: 4</font>
<br><font size=2 face="sans-serif">Server: FaramCam/1.0.0</font>
<br><font size=2 face="sans-serif">Date: Tue, 18 Jan 2005 22:56:53 GMT</font>
<br><font size=2 face="sans-serif">Expires: Tue, 18 Jan 2005 22:56:53 GMT</font>
<br><font size=2 face="sans-serif">Session: 70706</font>
<br><font size=2 face="sans-serif">Transport: RTP/AVP/TCP;unicast;interleaved=0-1</font>
<br>
<br>
<br><font size=2 face="sans-serif">Setup "video/MJPEG" subsession
(client ports 36242-36243)</font>
<br><font size=2 face="sans-serif">Created output file: "video-MJPEG-1"</font>
<br><font size=2 face="sans-serif">Sending request: PLAY rtsp://192.168.100.1:1554/profile/1/local.sdp/
RTSP/1.0</font>
<br><font size=2 face="sans-serif">CSeq: 5</font>
<br><font size=2 face="sans-serif">User-Agent: /home/c.cerbo/dev/live/testProgs/openRTSP
(LIVE555 Streaming Media v2014.07.25)</font>
<br><font size=2 face="sans-serif">EasyPassword: 123456</font>
<br><font size=2 face="sans-serif">Session: 70706</font>
<br><font size=2 face="sans-serif">Range: npt=0.000-</font>
<br>
<br>
<br><font size=2 face="sans-serif">Received 232 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received a complete PLAY response:</font>
<br><font size=2 face="sans-serif">RTSP/1.0 200 OK</font>
<br><font size=2 face="sans-serif">CSeq: 5</font>
<br><font size=2 face="sans-serif">Server: FaramCam/1.0.0</font>
<br><font size=2 face="sans-serif">Date: Tue, 18 Jan 2005 22:56:53 GMT</font>
<br><font size=2 face="sans-serif">Expires: Tue, 18 Jan 2005 22:56:53 GMT</font>
<br><font size=2 face="sans-serif">Session: 70706</font>
<br><font size=2 face="sans-serif">RTP-info: url=rtsp://192.168.100.1:1554/profile/1/local.sdp/trackID=0;seq=0;rtptime=0</font>
<br>
<br>
<br><font size=2 face="sans-serif">Started playing session</font>
<br><font size=2 face="sans-serif">Receiving streamed data (signal with
"kill -HUP 29043" or "kill -USR1 29043" to terminate)...</font>
<br><font size=2 face="sans-serif">Received 1448 new bytes of response
data.</font>
<br><font size=2 face="sans-serif">Received 915 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received 1448 new bytes of response
data.</font>
<br><font size=2 face="sans-serif">Received 907 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received 40 new bytes of response data.</font>
<br><font size=2 face="sans-serif">Received 2371 new bytes of response
data.</font>
<br><font size=2 face="sans-serif">Received 111 new bytes of response data.</font>
<br><font size=2 face="sans-serif">[...]</font>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Von:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Ross
Finlayson <finlayson@live555.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">An:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">LIVE555
Streaming Media - development & use <live-devel@ns.live555.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Datum:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">06.08.2014
16:35</font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Betreff:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Re:
[Live-devel] Empty data file with the "-S <byte-offset>"
option</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>I'd like to use openRTPS to receive the RTSP stream of
my IP cam. <br>
<br>
The first try failed becouse of the following error: <br>
"Unable to create receiver for "video/MJPEG" subsession:
RTP payload <br>
format unknown or not supported" </font>
<br>
<br><font size=3>This appears to be a bug in your IP camera. The
IETF has not defined a RTP payload format named "MPEG". Perhaps
they meant "JPEG"?</font>
<br>
<br>
<br><font size=3><br>
Then I put the option '-S 5' and the connection was succesfully created:
<br>
Setup "video/MJPEG" subsession (client ports 55546-55547) <br>
Created output file: "video-MJPEG-1" <br>
Sending request: PLAY </font><a href=rtsp://192.168.100.1:1554/profile/1/local.sdp/><font size=3 color=blue><u>rtsp://192.168.100.1:1554/profile/1/local.sdp/</u></font></a><font size=3>
RTSP/1.0 <br>
<br>
but the output file: "video-MJPEG-1" is empty</font>
<br>
<br><font size=3>See </font><a href="http://www.live555.com/liveMedia/faq.html#openRTSP-empty-files"><font size=3 color=blue><u>http://www.live555.com/liveMedia/faq.html#openRTSP-empty-files</u></font></a>
<br>
<br><font size=3>Try adding the "-t" option to RTSP.</font>
<br>
<br><font size=3>If this still doesn't work, then please send us the complete
RTSP protocol exchange (i.e., printed by "openRTSP" to 'stderr'),
and we'll take a look at it, to see if it tells us anything.</font>
<br>
<br><font size=3>Ross Finlayson<br>
Live Networks, Inc.</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.live555.com/><font size=3 color=blue><u>http://www.live555.com/</u></font></a><font size=3>
</font>
<br><tt><font size=2>_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
</font></tt><a href="http://lists.live555.com/mailman/listinfo/live-devel"><tt><font size=2>http://lists.live555.com/mailman/listinfo/live-devel</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>