Fallback source only shows fallback-uri image from known good RTSP stream
I have a known good RTSP camera that streams to kvssink
with no issues. However, I need to setup fallbacksrc
in my pipeline to prevent interruptions. I am having trouble with this.
I have a simple example pipeline that writes to this file using filesink
and demonstrates the issue.
My known good pipeline:
gst-launch-1.0 rtspsrc location=rtsp://169.254.1.180/net0 ! rtph264depay ! h264parse ! mpegtsmux ! filesink location=output_video.mpeg
My fallbacksrc pipeline:
GST_DEBUG=fallbacksrc:9 gst-launch-1.0 fallbacksrc uri=rtsp://169.254.1.180/net0 fallback-uri=file:///$HOME/fallback.jpg min-latency=1000 ! x264enc ! h264parse ! mpegtsmux ! filesink location=output_video.mpeg
output_video.mpeg
just shows fallback.jpg
and nothing else. Is there something I'm missing? My RTSP stream works well with rtspsrc
as shown by the "known good pipeline" above.
Here are the debug logs from the fallbacksrc
pipeline:debug-logs.log