RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Sachchit
Hi,

I want to receive H.264 encoded RTSP stream.

I am using following pipeline.
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.125:8551/vipst_ch1 !
rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

I am getting following warning and stream can't be visualized.
gst_rtp_h264_add_sps_pps:<rtph264depay0> Invalid SPS, can't parse
seq_parameter_set_id

The above pipeline used to work for most of the RTSP servers I used. The
only difference I was able to spot that, this time server is sending RDT
packets rather than UDP packets.

Stream is coming perfectly fine with ffmpeg and vlc.

Is RDT packets are supported by rtspsrc? If yes, what will be pipeline to
get the stream working?

Thanks in advance.

I am new to Gstreamer and this question might be silly.

-Sachchit



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Martin Vachovski
Hi,

I am not experienced with the
rtspsrc

but it might help to add
rtpjitterbuffer
element before the
rtph264depay

Martin

________________________________________
From: gstreamer-devel <[hidden email]> on behalf of Sachchit <[hidden email]>
Sent: Tuesday, February 20, 2018 2:50 PM
To: [hidden email]
Subject: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Hi,

I want to receive H.264 encoded RTSP stream.

I am using following pipeline.
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.125:8551/vipst_ch1 !
rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

I am getting following warning and stream can't be visualized.
gst_rtp_h264_add_sps_pps:<rtph264depay0> Invalid SPS, can't parse
seq_parameter_set_id

The above pipeline used to work for most of the RTSP servers I used. The
only difference I was able to spot that, this time server is sending RDT
packets rather than UDP packets.

Stream is coming perfectly fine with ffmpeg and vlc.

Is RDT packets are supported by rtspsrc? If yes, what will be pipeline to
get the stream working?

Thanks in advance.

I am new to Gstreamer and this question might be silly.

-Sachchit



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Sachchit
Hi Martin,

Thanks for suggestion. But as far as I know rtpjitterbuffer is part of
rtspsrc. Still I have tried it, but no luck.

Cheers,
Sachchit Vekaria



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Thornton, Keith
In reply to this post by Martin Vachovski
Hi Jan, I am trying to test with an IPhone 7. The first link downloads a version which doesn't display any video but does show that it is receiving 60 fps when the debug window is active
I don't seem to be able to install from the second link (1.2).
Are there any further debugging options?
Grüße

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Martin Vachovski
Gesendet: Dienstag, 20. Februar 2018 15:58
An: [hidden email]
Betreff: Re: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Hi,

I am not experienced with the
rtspsrc

but it might help to add
rtpjitterbuffer
element before the
rtph264depay

Martin

________________________________________
From: gstreamer-devel <[hidden email]> on behalf of Sachchit <[hidden email]>
Sent: Tuesday, February 20, 2018 2:50 PM
To: [hidden email]
Subject: RTSP Stream not working. Invalid SPS, can't parse seq_parameter_set_id

Hi,

I want to receive H.264 encoded RTSP stream.

I am using following pipeline.
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.125:8551/vipst_ch1 !
rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

I am getting following warning and stream can't be visualized.
gst_rtp_h264_add_sps_pps:<rtph264depay0> Invalid SPS, can't parse seq_parameter_set_id

The above pipeline used to work for most of the RTSP servers I used. The only difference I was able to spot that, this time server is sending RDT packets rather than UDP packets.

Stream is coming perfectly fine with ffmpeg and vlc.

Is RDT packets are supported by rtspsrc? If yes, what will be pipeline to get the stream working?

Thanks in advance.

I am new to Gstreamer and this question might be silly.

-Sachchit



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel