<div dir="ltr">Hi,<div>I have a pipeline that ingests from rtsp stream and saves the original segment and 360p (transcoded) as two variants to a hls manifest.</div><div><br></div><div>The pipeline works fine in hlsjs player and other browsers.</div><div><br></div><div>However Avplayer plays only audio and not video for both original and transcoded stream.</div><div><br></div><div>On debugging the issue further I identified that if I disable audio muxing it plays fine.</div><div>It seems to me that the audio and video are out of alignment/sync from the generated individual segments.</div><div><br></div><div>What is the way to ensure that the audio and video are aligned? Will rtpjitterbuffer help?</div><div><br></div><div>Here is a sample pipeline I have</div><div><br></div><div>```</div><div>gst-launch-1.0 hlssink2 name=ingest1 playlist-length=5 max-files=10 target-duration=2 send-keyframe-requests=true playlist-location=/live/stream.m3u8 location=/live/%d.ts \<br>rtspsrc location=rtsp://<a href="http://admin:password@10.10.10.20:554/">admin:password@10.10.10.20:554/</a> protocols=4 name=rtspsrc0 rtspsrc0. ! rtph264depay ! tee name=t t.! queue ! ingest1.video \<br>  t.! queue ! decodebin name=video_decoder ! tee name=one_decode \<br>    one_decode. ! queue ! videorate ! video/x-raw,framerate=15/1 ! videoscale ! video/x-raw,width=640,height=360 ! vaapih264enc ! hlssink2 name=ingest2 target-duration=2 playlist-location=/live/360/stream.m3u8 location=/live/360/%d.ts \<br>rtspsrc0. ! decodebin name=audio_decoder ! fdkaacenc ! tee name=audio_t \<br>  audio_t. ! queue ! ingest1.audio \<br>  audio_t. ! queue ! ingest2.audio<br></div><div>```</div><div><br></div><div>Thanks a lot for your help!</div></div>