[FFmpeg-user] Continue audio even when RTSP video stutters?

Carl Zwanzig cpz at tuunq.com
Thu Mar 20 07:37:33 EET 2025


On 3/17/2025 2:08 PM, Steven Kan wrote:
> I am still looking to replace the camera, but while I'm looking, is
> there a way to modify my processing chain so that, when the RTSP
> video stutters, the audio does _not_ pause?

This is a WAG :)

Since the outgoing stream needs constant video frames to clock it, have 
you tried adding another video input of black (e.g. "-f lavfi -i 
color=c=black:size=3072x1728:rate=20") and overlaying the camera on top 
of that? Might need to make the black stream 0 and the camera stream 1.

(I haven't tried this, might help. Might also be way off the mark.)

Later,

z!



More information about the ffmpeg-user mailing list