RTSP stream not decoding properly / glitching on Raspberry Pi, but works properly Windows
Posted: 24 Mar 2022 12:59
I'm trying to stream a security camera to VLC via RTSP. It works fine on Windows, but results in artifacts on Raspberry Pi.
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.
Attached is the VLC log debug file: https://pastebin.com/2d4q0bFH
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