Gstreamer 1.0 saving rtsp stream to file
问题 Hi I tried to create pipeline in which I get rtsp stream ,encode it to x264 and save it to mp4 file format but it doesn't seem to work . gst-launch-1.0 rtspsrc location=rtsp://ip/url ! videoconvert ! queue ! x264enc ! mp4mux ! filesink location=test.mp4 回答1: Okey I got it: gst-launch-1.0 rtspsrc location=rtsp://ip/url ! rtph264depay ! h264parse ! mp4mux ! filesink location=file.mp4 Explanation: With rtph264depay we extract h264 streams from RTSP then we parse it with h264parse we use mp4 as