I wanna switch stream from several rtsp.There was blackscreen about 3 seconds between one video to another.how to make stop the display at the last frame by using streamer tools
已解决! 转到解答。
I have found the solution.the command following:
gst-launch rtspsrc location=rtsp://192.168.1.x/x latency=0 typefind=true ! rtph264depay ! capsfilter caps="video/x-h264,width=1280,height=720,framerate=(fraction)30/1" ! vpudec low-latency=true frame-plus=9 framedrop=false ! queue max-size-buffers=0 max-size-time=0 ! mfw_v4lsink
I have found the solution.the command following:
gst-launch rtspsrc location=rtsp://192.168.1.x/x latency=0 typefind=true ! rtph264depay ! capsfilter caps="video/x-h264,width=1280,height=720,framerate=(fraction)30/1" ! vpudec low-latency=true frame-plus=9 framedrop=false ! queue max-size-buffers=0 max-size-time=0 ! mfw_v4lsink