-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR: sdp: invalid syntax `o=- 1 1 IN IPV4 10.10.10.10 #2128
Comments
Thanks for reporting the issue, this is fixed by bluenviron/gortsplib#341 |
@aler9 May I know if only for the address of rtsp:///10.10.10.10:5556/vurix/1413/0 ~ 1415/0 has a bug fix applied or all ip range like rtsp://10.10.10.10:5556/vurix/[any number]/0? |
Lastly, if the bug has been fixed for all cases, such as rtsp://10.10.10.10:5556/vurix/[any number]/0, may I ask when the Windows standalone binary file release with the error fixed will be distributed? |
If you have an urgency my advice is to build the server from source, by following instructions here: https://github.com/bluenviron/mediamtx#compile-from-source Before running
this updates gortsplib in order to include the fix. |
That's one of the advantages of open source, that is that you don't have to wait anyone in order to get fixes, features or binaries, as long as you're willing to perform some additional steps by yourself. |
@aler9 |
i've updated the library, now you can compile without any issue. |
@aler9 INF [HLS] [muxer test2] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 18.695555555s, now is 18.695555555s) --WHOLE LOG-- (body of 854 bytes) 2023/08/02 19:09:26 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:27 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:27 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1005 bytes) 2023/08/02 19:09:27 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:28 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:28 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1188 bytes) 2023/08/02 19:09:28 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:29 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:29 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1342 bytes) 2023/08/02 19:09:29 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:30 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:30 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1184 bytes) 2023/08/02 19:09:30 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 522276 bytes) 2023/08/02 19:09:30 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:31 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:31 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1338 bytes) 2023/08/02 19:09:31 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:32 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:32 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1179 bytes) 2023/08/02 19:09:32 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:33 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:33 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1333 bytes) 2023/08/02 19:09:33 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 404 Not Found 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] GET /test2/stream.m3u8 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1232 bytes) 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 528280 bytes) 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 550708 bytes) 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 492702 bytes) 2023/08/02 19:09:34 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 534963 bytes) 2023/08/02 19:09:36 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1161 bytes) 2023/08/02 19:09:36 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 513937 bytes) 2023/08/02 19:09:38 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1214 bytes) 2023/08/02 19:09:38 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 503360 bytes) 2023/08/02 19:09:40 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1215 bytes) 2023/08/02 19:09:40 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 512070 bytes) 2023/08/02 19:09:42 INF [HLS] [muxer test2] created (requested by 192.168.10.52) (body of 899 bytes) 2023/08/02 19:09:48 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1280 bytes) 2023/08/02 19:09:50 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1276 bytes) 2023/08/02 19:09:52 DEB [HLS] [conn 192.168.10.52:53552] [s->c] HTTP/1.1 200 OK (body of 1270 bytes) |
The other video cannot be checked at all, and only the MUXER ERROR log is checked continuously. --WHOLE LOG-- 2023/08/02 19:12:36 INF [HLS] [muxer test1] created (requested by 192.168.10.52) 2023/08/02 19:12:36 DEB [path test1] [rtsp source] s->c RTSP/1.0 200 OK 2023/08/02 19:12:36 DEB [path test1] [rtsp source] c->s DESCRIBE rtsp://10.10.10.10:5556/vurix/973/0 RTSP/1.0 2023/08/02 19:12:36 DEB [path test1] [rtsp source] s->c RTSP/1.0 200 OK v=0 2023/08/02 19:12:36 DEB [path test1] [rtsp source] c->s SETUP rtsp://10.10.10.10:5556/vurix/973/0/video RTSP/1.0 2023/08/02 19:12:36 DEB [path test1] [rtsp source] s->c RTSP/1.0 200 OK 2023/08/02 19:12:36 INF [path test1] [rtsp source] ready: 1 track (H264) 2023/08/02 19:12:36 INF [HLS] [muxer test1] is converting into HLS, 1 track (H264) 2023/08/02 19:12:36 DEB [HLS] [conn 192.168.10.52:53564] [s->c] HTTP/1.1 200 OK (body of 158 bytes) 2023/08/02 19:12:36 INF [HLS] [muxer test1] created (requested by 192.168.10.52) 2023/08/02 19:12:40 INF [HLS] [muxer test1] destroyed (muxer error: unable to extract DTS: DTS is not monotonically increasing, was 3.503966667s, now is 3.503966667s) 2023/08/02 19:12:45 INF [HLS] [muxer test1] created (requested by 192.168.10.52) (body of 944 bytes) 2023/08/02 19:12:58 DEB [HLS] [conn 192.168.10.52:53564] [c->s] GET /test1/init.mp4 HTTP/1.1 2023/08/02 19:12:58 INF [HLS] [muxer test1] created (requested by 192.168.10.52) 2023/08/02 19:12:59 DEB [HLS] [conn 192.168.10.52:53564] [s->c] HTTP/1.1 200 OK (body of 674 bytes) 2023/08/02 19:13:00 INF [HLS] [muxer test1] created (requested by 192.168.10.52) |
That's issue #1002, provide a sample video in mp4 or MPEG-TS format in that other thread. |
@aler9 |
Use the other thread as instructed to. I don't know if VLC is suitable since the video doesn't have to be converted, the best way consists in using FFmpeg with the |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.23.8
Which operating system are you using?
Describe the issue
Each camera information is received from the video streaming server and RTSP images are transmitted. I'm using the video by requesting an RTSP video from the streaming server.
This is part of the YML file that is currently set.
Where 10.10.10.10 is the IP of the streaming server, where the URL parameter is changed to load the videos.
Mediamtx has the following error. I also attach the log that came out after changing the log level to debug.
2023/07/31 13:59:18 INF MediaMTX v0.23.8
2023/07/31 13:59:18 DEB [path test1] created
2023/07/31 13:59:18 DEB [path test2] created
2023/07/31 13:59:18 DEB [path test3] created
2023/07/31 13:59:18 DEB path manager created
2023/07/31 13:59:18 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2023/07/31 13:59:18 INF [RTMP] listener opened on :1935
2023/07/31 13:59:18 INF [HLS] listener opened on :8888
2023/07/31 13:59:18 INF [WebRTC] listener opened on :8889 (HTTP)
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52745] GET /test1/index.m3u8
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52745] [c->s] GET /test1/index.m3u8 HTTP/1.1
Host: 192.168.10.52:8888
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Origin: null
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
2023/07/31 13:59:20 INF [HLS] [muxer test1] created (requested by 192.168.10.52)
2023/07/31 13:59:20 INF [path test1] [rtsp source] started
2023/07/31 13:59:20 DEB [path test1] [rtsp source] connecting
2023/07/31 13:59:20 DEB [path test1] [rtsp source] c->s OPTIONS rtsp://10.10.10.10:5556/vurix/1413/0 RTSP/1.0
CSeq: 1
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52747] GET /test2/index.m3u8
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52747] [c->s] GET /test2/index.m3u8 HTTP/1.1
Host: 192.168.10.52:8888
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Origin: null
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
2023/07/31 13:59:20 INF [HLS] [muxer test2] created (requested by 192.168.10.52)
2023/07/31 13:59:20 INF [path test2] [rtsp source] started
2023/07/31 13:59:20 DEB [path test2] [rtsp source] connecting
2023/07/31 13:59:20 DEB [path test2] [rtsp source] c->s OPTIONS rtsp://10.10.10.10:5556/vurix/1414/0 RTSP/1.0
CSeq: 1
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52749] GET /test3/index.m3u8
2023/07/31 13:59:20 DEB [HLS] [conn 192.168.10.52:52749] [c->s] GET /test3/index.m3u8 HTTP/1.1
Host: 192.168.10.52:8888
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Origin: null
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
2023/07/31 13:59:20 INF [HLS] [muxer test3] created (requested by 192.168.10.52)
2023/07/31 13:59:20 INF [path test3] [rtsp source] started
2023/07/31 13:59:20 DEB [path test3] [rtsp source] connecting
2023/07/31 13:59:20 DEB [path test3] [rtsp source] c->s OPTIONS rtsp://10.10.10.10:5556/vurix/1415/0 RTSP/1.0
CSeq: 1
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [path test2] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY
2023/07/31 13:59:20 DEB [path test2] [rtsp source] c->s DESCRIBE rtsp://10.10.10.10:5556/vurix/1414/0 RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [path test1] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY
2023/07/31 13:59:20 DEB [path test1] [rtsp source] c->s DESCRIBE rtsp://10.10.10.10:5556/vurix/1413/0 RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [path test3] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY
2023/07/31 13:59:20 DEB [path test3] [rtsp source] c->s DESCRIBE rtsp://10.10.10.10:5556/vurix/1415/0 RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: gortsplib
2023/07/31 13:59:20 DEB [path test1] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://10.10.10.10:5556/vurix/1413/0
Content-Length: 380
Content-Type: application/sdp
v=0
o=- 1 1 IN IPV4 10.10.10.10
s=Media Presentation
c=IN IPV4 0.0.0.0
t=0 0
a=control:*
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:rtsp://10.10.10.10:5556/vurix/1413/0/video
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAKKwbGoB4AiflwFuAgICgAAB9AAATiB0MAEr4AAL68F3lxoYAJXwAAX14LvLhQA==,aO48MA==
a=recvonly
2023/07/31 13:59:20 INF [path test1] [rtsp source] ERR: sdp: invalid syntax
o=- 1 1 IN IPV4 10.10.10.10
2023/07/31 13:59:20 DEB [path test2] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://10.10.10.10:5556/vurix/1414/0
Content-Length: 380
Content-Type: application/sdp
v=0
o=- 1 1 IN IPV4 10.10.10.10
s=Media Presentation
c=IN IPV4 0.0.0.0
t=0 0
a=control:*
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:rtsp://10.10.10.10:5556/vurix/1414/0/video
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAKKwbGoB4AiflwFuAgICgAAB9AAATiB0MAEr4AAL68F3lxoYAJXwAAX14LvLhQA==,aO48MA==
a=recvonly
2023/07/31 13:59:20 INF [path test2] [rtsp source] ERR: sdp: invalid syntax
o=- 1 1 IN IPV4 10.10.10.10
2023/07/31 13:59:20 DEB [path test3] [rtsp source] s->c RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://10.10.10.10:5556/vurix/1415/0
Content-Length: 380
Content-Type: application/sdp
v=0
o=- 1 1 IN IPV4 10.10.10.10
s=Media Presentation
c=IN IPV4 0.0.0.0
t=0 0
a=control:*
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:rtsp://10.10.10.10:5556/vurix/1415/0/video
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAKKwbGoB4AiflwFuAgICgAAB9AAATiB0MAEr4AAL68F3lxoYAJXwAAX14LvLhQA==,aO48MA==
a=recvonly
2023/07/31 13:59:20 INF [path test3] [rtsp source] ERR: sdp: invalid syntax
o=- 1 1 IN IPV4 10.10.10.10
Currently, the video is coming out normally through VLC PLAYER. What should I do to solve this problem?
Describe how to replicate the issue
Did you attach the server logs?
yes / no
Did you attach a network dump?
yes / no
The text was updated successfully, but these errors were encountered: