<div dir="ltr">How can I make proper audio/video interleaving If my output muxer is mpegtsmux?<div>but my point is that I still get audio frames first in mpegtsmux => hls ts files isn't properly Interleave</div><div>
and players on devices with slow connection don't response really well.</div><div>Any idea how to make it right with gstreamer ?</div><div><br><div><br></div><div>this is my pipeline for generating hls ouput on raspberry pi</div>
<div><br></div><div><div> gst-launch-1.0 uridecodebin uri="<a href="http://192.168.1.88:3000/T-8395-518-513">http://192.168.1.88:3000/T-8395-518-513</a>" name=demux \</div><div> ! video/x-raw, format="I420", framerate=25/1 \</div>
<div> ! omxh264enc target-bitrate=1000000 control-rate=1 ! video/x-h264, profile="high" ! h264parse config-interval=1 disable-passthrough=true ! video/x-h264, alignment="au", stream-format="byte-stream" \</div>
<div> ! mpegtsmux name=mux \</div><div> ! multifilesink next-file="key-frame" location="%010d.ts" sync=true \</div><div> demux. ! audio/x-raw \</div><div> ! avenc_libfdk_aac bitrate=55536 ! mux. 2>&1</div>
</div><div><br></div><div><br></div><div>avenc_libfdk_aac is franhofer aac encoder from libav<br></div><div>and I modify omxh264enc to generate PPS and SPP base on first one generated from pi openmax </div><div><br></div>
<div><br></div><div>Best Regards<br><br>Michal Lazo<br><br>
</div></div></div>