config-interval not working in h264parse

Sudhir vndkst at yahoo.com
Thu Aug 7 03:21:01 PDT 2014


Hello All,

I want to do live streaming of a stored content with SPS and PPS interval of
around 5 sec(not exactly may vary depending on I frame position). For this I
am using "config-interval" property of h264parse. 

For my experiments I have used below given pipeline. 

gst-launch filesrc location=<mp4 or ts filename> ! decodebin
caps=video/x-h264 ! h264parse config-interval=3 ! mpegtsmux ! rndbuffersize
max=13176 min=13176 ! udpsink host=192.168.2.185 port=9900

when input is mp4 or flv. h264 elementary stream format is "avc" and out put
is correct, SPS and PPS are inserted properly. 

In case of TS input. h264 elementary stream is byte-format and many of the
frames are dropped by h264parser. 
  

When I see the debug log of gstreamer, h264parser is dropping the frames. 
Why h264parser is dropping the frames ?? 
Input TS file has SPS and PPS at regular interval.

INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 1 Slice, Size: 5528 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 9 AU delimiter, Size: 2 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 6 SEI, Size: 10 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 1 Slice, Size: 4179 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 9 AU delimiter, Size: 2 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 6 SEI, Size: 10 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 1 Slice, Size: 4841 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 9 AU delimiter, Size: 2 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 6 SEI, Size: 10 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 1 Slice, Size: 6657 will be dropped
INFO   h264parse gsth264parse.c:961:gst_h264_parse_handle_frame:<h264parse0>
no SPS/PPS yet, nal Type: 9 AU delimiter, Size: 2 will be dropped

~Sudhir



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/config-interval-not-working-in-h264parse-tp4668212.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list