Save rtsp stream into avi file with gstreamer
问题 I have a video server which gives me a video & audio streams over rtsp. I can see it using gstreamer tool gst-launch with command: gst-launch-1.0 uridecodebin uri=rtsp://path/to/source ! autovideosink Now I need to store that video stream into file for subsequent playback in any popular video player (VLC, Windows Media Player and so on). I tried simply replace autovideosink with filesink location=file.avi and add -e option like recommended in that answer. File created but I think it's no in