Memory Leak?

killerrats koreysjunkmail at gmail.com
Wed Aug 1 18:45:09 UTC 2018


Before Pipeline:
gst-launch-1.0 --gst-debug=3 -e rtspsrc location=rtsp://10.64.52.18:554/s2
name=source ! rtpjitterbuffer ! rtph264depay ! h264parse config-interval=1 !
tee name=vtee ! queue2 max-size-time=0 ! mux.video splitmuxsink
async-handling=true max-size-bytes=1048576 max-files=360 muxer=avimux
location=D:/VideoStorageSplit2/video%06d.avi name=mux source. !
rtpjitterbuffer ! rtpmp4gdepay ! aacparse ! tee name=atee ! queue2
max-size-time=0 ! mux.audio_0
New Pipeline (being applied):
gst-launch-1.0 --gst-debug=3 -e rtspsrc location=rtsp://10.64.52.18:554/s2
name=source ! rtpjitterbuffer ! rtph264depay ! h264parse config-interval=1
disable-passthrough=TRUE ! tee name=vtee ! queue2 max-size-time=0 !
mux.video splitmuxsink async-handling=true max-size-bytes=1048576
max-files=360 muxer=avimux location=D:/VideoStorageSplit2/video%06d.avi
name=mux source. ! rtpjitterbuffer ! rtpmp4gdepay ! aacparse ! tee name=atee
! queue2 max-size-time=0 ! mux.audio_0
I used the before pipeline but got errors that are provided below. I
searched around the internet for answers.
I came across a post about the disable-passthrough because of timing for the
mp4mux. I am now going to add the disable-passthrough to see if it works. I
only tried this because of this post.
Timing is lost when converting h264 video
<https://stackoverflow.com/questions/35962787/timing-is-lost-when-converting-h264-video-to-non-segmented-mp4-using-gstreamer>  

The memory seems to increase and can't seem to figure out why. The timestamp
on the video seems to be few minutes off. could that make the pipeline halt?
I can only stop the pipeline otherwise it will just keep going but never
record. It will only have the last buffering of the when it stopped working
which would be hours ago if left for long time unless you catch it early
enough. It seemed to catch the same buffer early on but I didn't make the
code stop it I just kept it going and went on the record but it stopped
again for some reason. I do realize that h264parse is in the gst-plugin-bad.
could this be apart of why it doesn't seem to work or no?
Errors in h264parse
19:08:57.925500807  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2195:gst_h264_parser_parse_slice_hdr: value greater than
max. value: 11, max 219:08:57.926098941  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr:
error parsing "Slice header"19:08:59.054359882  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2198:gst_h264_parser_parse_slice_hdr:
value not in allowed range. value: -7, range -6-619:08:59.054928453  2748  
033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.194109996  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:655:slice_parse_ref_pic_list_modification_1: value greater
than max. value: 268, max 25519:08:59.194640849  2748   033EEBB8 WARN      
codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.195001718  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.256414589  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.256962008  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.321378548  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.321879075  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.392479818  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.393050429  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.458530205  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.459103364  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.621852723  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2182:gst_h264_parser_parse_slice_hdr: value greater than
max. value: 4, max 219:08:59.622374912  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr:
error parsing "Slice header"19:08:59.622795925  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2195:gst_h264_parser_parse_slice_hdr:
value greater than max. value: 4, max 219:08:59.623287532  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.659856040  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2182:gst_h264_parser_parse_slice_hdr: value greater than
max. value: 7, max 219:08:59.660320378  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr:
error parsing "Slice header"19:08:59.660712593  2748   033EEBB8 WARN      
codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.661063012  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.661463128  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2182:gst_h264_parser_parse_slice_hdr: value greater than
max. value: 4, max 219:08:59.661887454  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr:
error parsing "Slice header"19:08:59.662281453  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2195:gst_h264_parser_parse_slice_hdr:
value greater than max. value: 4, max 219:08:59.662650731  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.663051357  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.663482564  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:08:59.663894402  2748   033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2195:gst_h264_parser_parse_slice_hdr: value greater than
max. value: 3, max 219:08:59.664264445  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr:
error parsing "Slice header"19:08:59.664646211  2748   033EEBB8 WARN      
codecparsers_h264
gsth264parser.c:674:slice_parse_ref_pic_list_modification_1: error parsing
"Reference picture list 0 modification"19:08:59.664995102  2748   033EEBB8
WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:09:00.923643711  2748   033EEBB8 WARN               h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 1
Slice, Size: 2150 will be dropped19:09:00.924338943  2748   033EEBB8 WARN              
h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid
nal Type: 1 Slice, Size: 2946 will be dropped19:09:00.924752311  2748  
033EEBB8 WARN               h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 1
Slice, Size: 1581 will be dropped19:09:00.925140193  2748   033EEBB8 WARN              
h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid
nal Type: 1 Slice, Size: 1655 will be dropped19:09:00.925528841  2748  
033EEBB8 WARN               h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 1
Slice, Size: 1886 will be dropped19:09:00.925892512  2748   033EEBB8 WARN              
h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid
nal Type: 1 Slice, Size: 1966 will be dropped19:09:00.926293902  2748  
033EEBB8 WARN               h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 1
Slice, Size: 2103 will be dropped19:09:01.136799454  2748   033EEBB8 WARN      
codecparsers_h264 gsth264parser.c:2198:gst_h264_parser_parse_slice_hdr:
value not in allowed range. value: 10, range -6-619:09:01.137318585  2748  
033EEBB8 WARN       codecparsers_h264
gsth264parser.c:2219:gst_h264_parser_parse_slice_hdr: error parsing "Slice
header"19:09:03.937139578  2748   033EEBB8 WARN               h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 1
Slice, Size: 893 will be dropped




-----
------------------------------
Gstreamer 1.14.1
------------------------------
Windows
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180801/459e9d9f/attachment.html>


More information about the gstreamer-devel mailing list