encoder with hls output based on gstreamer.