<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Ok, so I am now using openRTSP to receive the video, and it is creating the video file ok, but when I actually go to play it.. no video plays. I tried VLC and MPV, is there an official video player you'd like me to use for testing playing them?</div><div><br></div><div>I'm using a new version of live555, is it possible there is some bug newly introduced? I could've sworn this was working before.. though it's certainly possible I'm doing something different.</div><div><br></div><div>Thanks again Ross</div><div><br></div><div>I see these errors in VLC's log:<br><div>main debug: <span style="color: #aaaaaa">`file:///C:/Users/Edge360/Documents/BitbucketProjects/e360.vms.modules/tools/videomodules/tools/playbackstreamer/live555_OfficialSourceOnly/Build/playbackstreamer_testvideo-H264-1-00000-00020.h264' successfully opened</span></div><div>hevc warning: <span style="color: #ffff66">Forbidden zero bit not null, corrupted NAL</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div><div>hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span></div></div><div><br></div><div>---------------------------------------------------------------------------------------------------------------------------------------------------------------------<br></div><div><div>Created new TCP socket 212 for connection</div><div>Connecting to 10.100.0.89, port 8554 on socket 212...</div><div>...remote connection opened</div><div>Sending request: OPTIONS rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1</a> RTSP/1.0</div><div>CSeq: 2</div><div>User-Agent: C:\Users\Edge360\Documents\BitbucketProjects\e360.vms.modules\tools\videomodules\tools\playbackstreamer\live555_OfficialSourceOnly\Build\Debug\live555_openRTSP_Project.exe (LIVE555 Streaming Media v2020.06.25)</div><div><br></div><div><br></div><div>Received 152 new bytes of response data.</div><div>Received a complete OPTIONS response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 2</div><div>Date: Mon, Jul 06 2020 18:25:49 GMT</div><div>Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER</div><div><br></div><div><br></div><div>Sending request: DESCRIBE rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1</a> RTSP/1.0</div><div>CSeq: 3</div><div>User-Agent: C:\Users\Edge360\Documents\BitbucketProjects\e360.vms.modules\tools\videomodules\tools\playbackstreamer\live555_OfficialSourceOnly\Build\Debug\live555_openRTSP_Project.exe (LIVE555 Streaming Media v2020.06.25)</div><div>Accept: application/sdp</div><div><br></div><div><br></div><div>Received 798 new bytes of response data.</div><div>Received a complete DESCRIBE response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 3</div><div>Date: Mon, Jul 06 2020 18:25:49 GMT</div><div>Content-Base: rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/</a></div><div>Content-Type: application/sdp</div><div>Content-Length: 530</div><div><br></div><div>v=0</div><div>o=- 1594059812669884 1 IN IP4 10.100.0.89</div><div>s=Session streamed by "Edge360 TrickPlay Streamer"</div><div>i=C:\video1\test.flv</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2020.04.06</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:Session streamed by "Edge360 TrickPlay Streamer"</div><div>a=x-qt-text-inf:C:\video1\test.flv</div><div>m=video 0 RTP/AVP 96</div><div>c=IN IP4 0.0.0.0</div><div>b=AS:1024</div><div>a=rtpmap:96 H264/90000</div><div>a=fmtp:96 packetization-mode=1;profile-level-id=DDDDDD;sprop-parameter-sets=3d3d3d3d3d3d3d3d3d3d3d3d3d0=,AP39/Q==</div><div>a=control:track1</div><div><br></div><div>Opened URL "rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1</a>", returning a SDP description:</div><div>v=0</div><div>o=- 1594059812669884 1 IN IP4 10.100.0.89</div><div>s=Session streamed by "Edge360 TrickPlay Streamer"</div><div>i=C:\video1\test.flv</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2020.04.06</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:Session streamed by "Edge360 TrickPlay Streamer"</div><div>a=x-qt-text-inf:C:\video1\test.flv</div><div>m=video 0 RTP/AVP 96</div><div>c=IN IP4 0.0.0.0</div><div>b=AS:1024</div><div>a=rtpmap:96 H264/90000</div><div>a=fmtp:96 packetization-mode=1;profile-level-id=DDDDDD;sprop-parameter-sets=3d3d3d3d3d3d3d3d3d3d3d3d3d0=,AP39/Q==</div><div>a=control:track1</div><div><br></div><div>Created receiver for "video/H264" subsession (client ports 50206-50207)</div><div>Sending request: SETUP rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1</a> RTSP/1.0</div><div>CSeq: 4</div><div>User-Agent: C:\Users\Edge360\Documents\BitbucketProjects\e360.vms.modules\tools\videomodules\tools\playbackstreamer\live555_OfficialSourceOnly\Build\Debug\live555_openRTSP_Project.exe (LIVE555 Streaming Media v2020.06.25)</div><div>Transport: RTP/AVP;unicast;client_port=50206-50207</div><div><br></div><div><br></div><div>Received 212 new bytes of response data.</div><div>Received a complete SETUP response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 4</div><div>Date: Mon, Jul 06 2020 18:25:49 GMT</div><div>Transport: RTP/AVP;unicast;destination=10.100.0.89;source=10.100.0.89;client_port=50206-50207;server_port=6970-6971</div><div>Session: E29EF1BB;timeout=65</div><div><br></div><div><br></div><div>Setup "video/H264" subsession (client ports 50206-50207)</div><div>Created output file: "playbackstreamer_testvideo-H264-1-00000-00020"</div><div>Sending request: PLAY rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/</a> RTSP/1.0</div><div>CSeq: 5</div><div>User-Agent: C:\Users\Edge360\Documents\BitbucketProjects\e360.vms.modules\tools\videomodules\tools\playbackstreamer\live555_OfficialSourceOnly\Build\Debug\live555_openRTSP_Project.exe (LIVE555 Streaming Media v2020.06.25)</div><div>Session: E29EF1BB</div><div>Range: npt=0.000-</div><div><br></div><div><br></div><div>Received 289 new bytes of response data.</div><div>Received a complete PLAY response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 5</div><div>Date: Mon, Jul 06 2020 18:25:49 GMT</div><div>Range: npt=0.000-</div><div>Session: E29EF1BB</div><div>RTP-Info: url=rtsp://<a href="http://10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1;seq=11960;rtptime=1033816537">10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1;seq=11960;rtptime=1033816537</a></div><div><br></div><div><br></div><div>Started playing session</div><div>Receiving streamed data...</div><div>Created output file: "playbackstreamer_testvideo-H264-2-00020-00040"</div></div><div>---------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 1, 2020 at 8:10 PM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You didn’t say specifically *how* you are using the “LIVE555 Streaming Media” code, and what you are trying to do with it - but from the context of your message, I assume that you are using it to develop a RTSP server.<br>
<br>
<br>
> It seems to be working fine but when I stream over RTSP, VLC is telling me that it hasn't gotten the SPS/PPS. It seems like I'm generating it ok, though clearly something is off. Perhaps you can tell me at what point the SPS & PPS are actually sent?<br>
<br>
SPS and PPS are H.264 NAL units, just like those for video frame data.  The LIVE555 code does not generate them (to insert into an outgoing RTP stream); it is up to your H.264 source (i.e., encoder) to generate them.<br>
<br>
However, the presence of "sprop-parameter-sets” in your SDP means that the LIVE555 RTSP server code *has* seen SPS and PPS NAL units - most likely at the very beginning of your stream.  So it seems that your encoder generated SPS and PPS NAL units once, at the very start, but not thereafter.<br>
<br>
This should, however, be enough for VLC (as a RTSP client), because it gets the SPS and PPS from the SDP (returned by a RTSP “DESCRIBE” command) before it starts receiving the H.264/RTP stream.  I can’t help you with problems with VLC, but you should make sure that you are using the most up-to-date version.<br>
<br>
You could also try using “openRTSP” as a RTSP client, and rename the resulting video output file to have a “.h264” video suffix before playing it with a video player.  (“openRTSP” also gets the SPS and PPS NAL units from the SDP, and prepends them to the video output file.)<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Matthew Czarnek<div>(814) 421-6770</div></div></div>