Gstreamer rtspsrc and avenc_mpeg1video

Currently I’m trying to use Gstreamer with nodejs and jsmpeg to perform live streaming with low latency. This pipeline work fine:
gst-launch-1.0 videotestsrc ! clockoverlay ! video/x-raw, width=1270, height=720 ! videoconvert ! videorate max-rate=25 ! avenc_mpeg1video dct_algo=1 ! mpegtsmux ! curlhttpsink location=http://<nodejs server route>

But I cannot make it work with input is rtspsrc:
gst-launch-1.0 rtspsrc location=<rtspsrc> latency=200 drop-on-latency=true ! application/x-rtp, media=video, encoding-name=H264 ! rtph264depay ! decodebin ! videoconvert ! videorate max-rate=25 ! avenc_mpeg1video dct_algo=1 ! mpegtsmux ! curlhttpsink location=http://<nodejs server route>

Can anyone show me what I did wrong? Thank in advance

Hi,
Please try to launch the serve through test-launch. We have steps in

Jetson Nano FAQ
Q: Is there any example of running RTSP streaming?