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?
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. Thanks again Ross I see these errors in VLC's log: 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> hevc warning: <span style="color: #ffff66">Forbidden zero bit not null, corrupted NAL</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> hevc error: <span style="color: #ff6666">Failed decoding VPS id 0</span> --------------------------------------------------------------------------------------------------------------------------------------------------------------------- Created new TCP socket 212 for connection Connecting to 10.100.0.89, port 8554 on socket 212... ...remote connection opened Sending request: OPTIONS rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1 RTSP/1.0 CSeq: 2 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) Received 152 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 2 Date: Mon, Jul 06 2020 18:25:49 GMT Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER Sending request: DESCRIBE rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1 RTSP/1.0 CSeq: 3 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) Accept: application/sdp Received 798 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 3 Date: Mon, Jul 06 2020 18:25:49 GMT Content-Base: rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/ Content-Type: application/sdp Content-Length: 530 v=0 o=- 1594059812669884 1 IN IP4 10.100.0.89 s=Session streamed by "Edge360 TrickPlay Streamer" i=C:\video1\test.flv t=0 0 a=tool:LIVE555 Streaming Media v2020.04.06 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:Session streamed by "Edge360 TrickPlay Streamer" a=x-qt-text-inf:C:\video1\test.flv m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:1024 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=DDDDDD;sprop-parameter-sets=3d3d3d3d3d3d3d3d3d3d3d3d3d0=,AP39/Q== a=control:track1 Opened URL "rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1", returning a SDP description: v=0 o=- 1594059812669884 1 IN IP4 10.100.0.89 s=Session streamed by "Edge360 TrickPlay Streamer" i=C:\video1\test.flv t=0 0 a=tool:LIVE555 Streaming Media v2020.04.06 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:Session streamed by "Edge360 TrickPlay Streamer" a=x-qt-text-inf:C:\video1\test.flv m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:1024 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=DDDDDD;sprop-parameter-sets=3d3d3d3d3d3d3d3d3d3d3d3d3d0=,AP39/Q== a=control:track1 Created receiver for "video/H264" subsession (client ports 50206-50207) Sending request: SETUP rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1 RTSP/1.0 CSeq: 4 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) Transport: RTP/AVP;unicast;client_port=50206-50207 Received 212 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 4 Date: Mon, Jul 06 2020 18:25:49 GMT Transport: RTP/AVP;unicast;destination=10.100.0.89;source=10.100.0.89;client_port=50206-50207;server_port=6970-6971 Session: E29EF1BB;timeout=65 Setup "video/H264" subsession (client ports 50206-50207) Created output file: "playbackstreamer_testvideo-H264-1-00000-00020" Sending request: PLAY rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/ RTSP/1.0 CSeq: 5 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) Session: E29EF1BB Range: npt=0.000- Received 289 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 5 Date: Mon, Jul 06 2020 18:25:49 GMT Range: npt=0.000- Session: E29EF1BB RTP-Info: url=rtsp:// 10.100.0.89:8554/FI25XP3AAWS1Y7XB7YZ858ZE5U3P23WQH67H582ZASDYRRR7FAPKBXEHSXADVOHH9CU29QF86A7M4BXNC6K1OMOT1ZZI7ZEWK6ZO7Z7Y4QOBZ1/track1;seq=11960;rtptime=1033816537 Started playing session Receiving streamed data... Created output file: "playbackstreamer_testvideo-H264-2-00020-00040" --------------------------------------------------------------------------------------------------------------------------------------------------------------------- On Wed, Jul 1, 2020 at 8:10 PM Ross Finlayson <finlay...@live555.com> wrote: > 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. > > > > 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? > > 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. > > 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. > > 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. > > 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.) > > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel > -- Matthew Czarnek (814) 421-6770
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel