Audio sync problem with alsasink
Hello, I have this pipeline on my Nvidia Jetson Nano, which uses an HDMI to USB card to capture video and audio. I use gstreamer version 1.14.
gst-launch-1.0 -e v4l2src device=/dev/video0 do-timestamp=true ! queue2 ! image/jpeg,width=1280,height=720,framerate=30/1 ! jpegparse ! jpegdec ! queue2 ! nvoverlaysink sync=false alsasrc device=hw:CARD=MS2109,DEV=0 blocksize=12800 do-timestamp=true ! queue2 ! audio/x-raw,format=S16LE,layout=interleaved,rate=48000,channels=2 ! queue2 ! alsasink device=hw:0,3 sync=false blocksize=12800
Video works without lag, but audio lags behind after a few hours. If I set sync to true, audio stops working.
I see this in debug messages: WARN audiobasesink gstaudiobasesink.c:1463:gst_audio_base_sink_skew_slaving: correct clock skew +0:00:00.029243609 > +0:00:00.020000000
I'm blocked for weeks... any idea what can I try? Thanks!