libcamerasrc + h265enc - stream bandwidth starts to grow over time
Hello,
I have a strange issue with gstreamer. Please bear with me as I'm a noob.
I have a fairly simple pipeline that consists of libcamerasrc (on a Pi) -> capsfilter (640x480, 12FPS) -> videoconvert -> x265enc (200kbps, key-int-max 48) -> h265parse -> mpegtsmux. It works great for a few hours. After some amount of time - seems to be at least 9 hours, but I've also had it take as long as 24 hours - the stream bandwidth starts to increase.
I could not reproduce the problem when changing out libcamerasrc with videotestsrc.
I have a reproducible example here: https://gitlab.scd31.com/stephen/why-the-heck-does-my-gstreamer-stream-embiggen The output.txt file shows one of the runs, where bandwidth is stable and then starts to increase near the end.
Thanks in advance!