Syncing two streams from HLS source
Hi,
I have two streams(coming from a unmuxed HLS stream): a video-only stream and an audio stream. Screenshot shows the beginning of my pipeline.
From the kino_membrane graphs, it looks like they are producing buffers at very different rates(screenshots are of output pad).
The cmaf_muxer downstream takes a while to start outputting its first buffer, and the resulting muxed video is out of sync with the audio.
Could someone help me understand what I need to do to sync these two streams?
Would placing a membrane_realtimer_plugin element after each demuxer help here?
I have two streams(coming from a unmuxed HLS stream): a video-only stream and an audio stream. Screenshot shows the beginning of my pipeline.
From the kino_membrane graphs, it looks like they are producing buffers at very different rates(screenshots are of output pad).
demuxer2 is the audio stream which seems to produce buffers at a much lower rate. The cmaf_muxer downstream takes a while to start outputting its first buffer, and the resulting muxed video is out of sync with the audio.
Could someone help me understand what I need to do to sync these two streams?
Would placing a membrane_realtimer_plugin element after each demuxer help here?


