<div dir="ltr">Hello deim31,<br><div>This is just something that popped up in the head when I first saw your problem. No guarantees it will work but I think it is certainly worth an attempt.</div><div><br></div>> When I save only one stream it seem OK - audio alone is fine video alone<br>> also OK.<br><br><div>In the callback to the pad-added signal, audio and video seem to be arriving one by one and not together.</div><div>Can you try creating a common bin starting the bin only after both audio and video have arrived?</div><div><br></div><div>If possible, posting your pad-added callback would certainly help.<br></div><br>><br>> When I try to put them together it quits:<br>> ERROR:/var/tmp/portage/media-libs/gst-plugins-good-1.16.2/work/gst-plugins-good-1.16.2/gst/multifile/gstsplitmuxsink.c:2008:handle_gathered_gop:<br>> assertion failed: (queued_gop_time >= 0)<br>> Bail out!<br>> ERROR:/var/tmp/portage/media-libs/gst-plugins-good-1.16.2/work/gst-plugins-good-1.16.2/gst/multifile/gstsplitmuxsink.c:2008:handle_gathered_gop:<br>> assertion failed: (queued_gop_time >= 0)<br>> (SIGABRT)<br><div><br></div><div>Does something apart from hlssink2 work? Like "... ! matroskamux ! filesink" or "... ! matroskamux ! splitmuxsink"</div><div><br></div><div>Regards</div><div>Mandar<br></div></div>