Tool/software:
Hello,
I am trying to generate a HLS stream using the following pipeline:
gst-launch-1.0 -v videotestsrc is-live=true ! \ v4l2h264enc extra-controls="enc,prepend_sps_and_pps_to_idr=1,video_gop_size=5,frame_level_rate_control_enable=1,video_bitrate_mode=0,vbv_buffer_size=3000,video_bitrate=6000000" ! \ h264parse ! \ hlssink2 \ location=/var/www/html/segment%04d.ts \ playlist-location=/var/www/html/playlist.m3u8
On AM62A, this outputs the first segment, and then stalls.
When I try something similar on my x86 linux machine using the following pipeline
gst-launch-1.0 videotestsrc is-live=true ! clockoverlay ! x264enc ! h264parse ! hlssink2
this works fine. I believe hlssink2 tries to make the encoder generate a key frame, and I'm not sure whether the wave5 encoder supports this.
Any idea how to solve this?
Regards,
Bas Vermeulen