I tried disabling hardware acceleration, but that didn't work either.
As soon as I rewrite the stream with e.g. the following command the stream works fine, but adds a ~5 second delay.
Code: Select all
ffmpeg -rtsp_transport tcp -i rtsp://user:password@192.168.100.200:554/front -preset ultrafast -x264opts keyint=15 -pix_fmt yuv420p -c:v libx264 -vf scale=-2:720 -flags2 fast -max_muxing_queue_size 1024 -f rtsp rtsp://localhost:554/frontcompressed