Streaming rtpsp H264 problem sps

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

Streaming rtpsp H264 problem sps

nero88
I am trying to play video streaming for rtsp encoded using H264  but I'm being impossible. It is giving me errors and I can't find a solution.

In my Pc I have installed the two versions of gstreamer 0.10 and 1.X and in both cases the video can not be played.

With version 0.10 I get the following error:

0:00:03.728015849  1412  0x882cc08 ERROR                 ffmpeg :0:: sps_id out of range
0:00:03.728168588  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS referenced
0:00:03.728326338  1412  0x882cc08 ERROR                 ffmpeg :0:: sps_id out of range
0:00:03.728417098  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:03.728484953  1412  0x882cc08 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:03.728551138  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:03.728614436  1412  0x882cc08 ERROR                 ffmpeg :0:: decode_slice_header error

With version 1.x

0:00:33.573035521 21671 0x7f0ea401e4f0 ERROR                  libav :0:: time_scale/num_units_in_tick invalid or unsupported (0/1)
0:00:33.573618629 21671 0x7f0ea401e4f0 ERROR                  libav :0:: time_scale/num_units_in_tick invalid or unsupported (0/1)

Any idea or clue where the problem is and how I can solve it.

Versions:
gstreamer=1.5.9
gst-plugins=1.5.9
gst-libav=1.5.90

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

AW: Streaming rtpsp H264 problem sps

Thornton, Keith

Hi,

it could be that you only sent an sps and a pps at the start of your stream. Try setting rtph264pay’s config-interval parameter.

 

Von: gstreamer-devel [mailto:gstreamer-devel-bou[hidden email]] Im Auftrag von Alejandro Vázquez
Gesendet: Donnerstag, 2. März 2017 11:55
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Streaming rtpsp H264 problem sps

 

I am trying to play video streaming for rtsp encoded using H264  but I'm being impossible. It is giving me errors and I can't find a solution.

 

In my Pc I have installed the two versions of gstreamer 0.10 and 1.X and in both cases the video can not be played.

 

With version 0.10 I get the following error:

 

0:00:03.728015849  1412  0x882cc08 ERROR                 ffmpeg :0:: sps_id out of range

0:00:03.728168588  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS referenced

0:00:03.728326338  1412  0x882cc08 ERROR                 ffmpeg :0:: sps_id out of range

0:00:03.728417098  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced

0:00:03.728484953  1412  0x882cc08 ERROR                 ffmpeg :0:: decode_slice_header error

0:00:03.728551138  1412  0x882cc08 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced

0:00:03.728614436  1412  0x882cc08 ERROR                 ffmpeg :0:: decode_slice_header error

 

With version 1.x

 

0:00:33.573035521 21671 0x7f0ea401e4f0 ERROR                  libav :0:: time_scale/num_units_in_tick invalid or unsupported (0/1)

0:00:33.573618629 21671 0x7f0ea401e4f0 ERROR                  libav :0:: time_scale/num_units_in_tick invalid or unsupported (0/1)

 

Any idea or clue where the problem is and how I can solve it.

 

Versions:

gstreamer=1.5.9

gst-plugins=1.5.9

gst-libav=1.5.90


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

Re: Streaming rtpsp H264 problem sps

nero88

2017-03-02 12:11 GMT+01:00 Thornton, Keith <[hidden email]>:

Hi,

it could be that you only sent an sps and a pps at the start of your stream. Try setting rtph264pay’s config-interval parameter.


Hi, Keith.

Sorry, I forgot to say the video streaming is from an ip camera. I can't configurate when the camera send sps and pps.

Thanks!




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel