optimise rtsp pipeline

James Linder jam at tigger.ws
Sun Feb 20 09:46:54 UTC 2022


Based on examples/test-video.c I have a pipeline that works:

 "v4l2src device=/dev/video2 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! "
      "rtph264pay name=pay0 pt=96 "
      "pulsesrc device=0 ! "
      "queue ! alawenc ! "
      "rtppcmapay name=pay1 pt=97 “

But the audio in in blocks with blocks of silence.

Logic (which may be faulty) says at packet assembly time, at regular intevals, audio is not available and packets are assembled without audio.
I tried queue in various positions.
Can anyone help me to understand please.

James


More information about the gstreamer-devel mailing list