[Live-devel] **EXTERNAL**Re: Adding UDP Video to an Audio RTSP URL coming from an AXIS encoder in the same stream doesn't work

Eric Eastman Eric.Eastman at AITEngineering.com
Wed Nov 8 12:49:05 PST 2023


I was able to update to the latest live555. Here is the output from openRTSP and the audio file output. Every player I use says it's corrupted and doesn't understand the compression. I also tested with the -4 option and piped it to a test.mp4. The test.mp4 has video but no audio.


Thanks,



Eric Eastman

________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: Tuesday, November 7, 2023 3:21 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] **EXTERNAL**Re: Adding UDP Video to an Audio RTSP URL coming from an AXIS encoder in the same stream doesn't work

Also, FWIW, the following FFMPEG command will generate a WAV file - from your raw PCM u-law audio file - that plays OK:
        ffmpeg -f mulaw -ar 8000 -ac 1 -i audio-PCMU-2 test.wav


Ross Finlayson
Live Networks, Inc.
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=05%7C01%7Ceric.eastman%40aitengineering.com%7C8aa7481b1afe41369a7308dbdfe854d5%7C96108be3d6734e76aee49c7bb49a433a%7C0%7C0%7C638349961180204013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yCGvHCwem%2B3z%2BGqcwelUDIbdqHe5CgDUp78vDT9LT%2FE%3D&reserved=0<http://www.live555.com/>


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=05%7C01%7Ceric.eastman%40aitengineering.com%7C8aa7481b1afe41369a7308dbdfe854d5%7C96108be3d6734e76aee49c7bb49a433a%7C0%7C0%7C638349961180204013%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8zT3RjRN5L6yS6AzgbwqF2KZGG8N55HP02OegS%2F%2FPwo%3D&reserved=0<http://lists.live555.com/mailman/listinfo/live-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20231108/7eefb5de/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audio-PCMU-2
Type: application/octet-stream
Size: 79872 bytes
Desc: audio-PCMU-2
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20231108/7eefb5de/attachment-0001.obj>
-------------- next part --------------
Created new TCP socket 260 for connection
Connecting to 192.168.0.1, port 554 on socket 260...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.0.1/uas1 RTSP/1.0
CSeq: 2
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)


Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Nov 09 2023 03:08:56 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: DESCRIBE rtsp://192.168.0.1/uas1 RTSP/1.0
CSeq: 3
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)
Accept: application/sdp


Received 654 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Thu, Nov 09 2023 03:08:56 GMT
Content-Base: rtsp://192.168.0.1/uas1/
Content-Type: application/sdp
Content-Length: 495

v=0
o=- 1699498841025449 1 IN IP4 169.254.197.162
s=LIVE555 Streaming Media v2023.10.30
i=LIVE555 Streaming Media v2023.10.30
t=0 0
a=tool:LIVE555 Streaming Media v2023.10.30
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:LIVE555 Streaming Media v2023.10.30
a=x-qt-text-inf:LIVE555 Streaming Media v2023.10.30
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
b=AS:5000
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:64
a=rtpmap:97 PCMU/8000
a=control:track2

Opened URL "rtsp://192.168.0.1/uas1", returning a SDP description:
v=0
o=- 1699498841025449 1 IN IP4 169.254.197.162
s=LIVE555 Streaming Media v2023.10.30
i=LIVE555 Streaming Media v2023.10.30
t=0 0
a=tool:LIVE555 Streaming Media v2023.10.30
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:LIVE555 Streaming Media v2023.10.30
a=x-qt-text-inf:LIVE555 Streaming Media v2023.10.30
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
b=AS:5000
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:64
a=rtpmap:97 PCMU/8000
a=control:track2

Created receiver for "video/MP2T" subsession (client ports 58994-58995)
Created receiver for "audio/PCMU" subsession (client ports 58996-58997)
Sending request: SETUP rtsp://192.168.0.1/uas1/track1 RTSP/1.0
CSeq: 4
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)
Transport: RTP/AVP;unicast;client_port=58994-58995


Received 217 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Nov 09 2023 03:08:56 GMT
Transport: RTP/AVP;unicast;destination=192.168.60.101;source=192.168.0.1;client_port=58994-58995;server_port=6970-6971
Session: BB0831C2;timeout=65


Setup "video/MP2T" subsession (client ports 58994-58995)
Sending request: SETUP rtsp://192.168.0.1/uas1/track2 RTSP/1.0
CSeq: 5
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)
Transport: RTP/AVP;unicast;client_port=58996-58997
Session: BB0831C2


Received 217 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Nov 09 2023 03:08:56 GMT
Transport: RTP/AVP;unicast;destination=192.168.60.101;source=192.168.0.1;client_port=58996-58997;server_port=6972-6973
Session: BB0831C2;timeout=65


Setup "audio/PCMU" subsession (client ports 58996-58997)
Created output file: "video-MP2T-1"
Created output file: "audio-PCMU-2"
Sending request: PLAY rtsp://192.168.0.1/uas1/ RTSP/1.0
CSeq: 6
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)
Session: BB0831C2
Range: npt=0.000-10.000


Received 244 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Thu, Nov 09 2023 03:08:56 GMT
Range: npt=0.000-
Session: BB0831C2
RTP-Info: url=rtsp://192.168.0.1/uas1/track1;seq=5094;rtptime=4214643631,url=rtsp://192.168.0.1/uas1/track2;seq=56037;rtptime=441642569


Started playing session
Receiving streamed data (for up to 10.000000 seconds)...
Sending request: TEARDOWN rtsp://192.168.0.1/uas1/ RTSP/1.0
CSeq: 7
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2023.10.30)
Session: BB0831C2


Received 65 new bytes of response data.
Received a complete TEARDOWN response:
RTSP/1.0 200 OK
CSeq: 7
Date: Thu, Nov 09 2023 03:09:06 GMT


More information about the live-devel mailing list