Dear nxp,
I have board imx8m mini processor.use it as rtsp server as follow cmd(could view by VLC):
gst-variable-rtsp-server -p 9001 -u "( v4l2src device=/dev/video0 io-mode=4 ! video/x-raw, format=YUY2, width=1280,height=720, framerate=30/1 ! vpuenc_h264 ! rtph264pay name=pay0 pt=96 )"
client site save the incoming RTSP streaming videos and saved as the h264 file:
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.6:9001/stream ! rtph264depay ! video/x-h264, stream-format=byte-stream ! filesink location=test.h264
but test.h264 cannot be opened by VLC.have no sps、pps...how to modify the gstreamer command.
Regards