Software MansionSM
Software Mansion2y ago
2 replies
samrat

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).
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?
Screenshot_2024-08-22_at_08.56.59.png
Screenshot_2024-08-22_at_09.05.01.png
Screenshot_2024-08-22_at_09.04.49.png
Was this page helpful?