IP camera: stream and record a fragment

Hi. Hope you are well. I have a question. I tried to convert rtsp stream to mp4 using exec node. I put this as command ffmpeg -rtsp_transport tcp -i rtsp://user:password@192.168.1.23:554//h264Preview_01_main -r 10 -t 60 -vcodec copy -acodec copy -y /home/pi/video.mp4. But when open the video file, no video was shown. Can help me on this? Much appreciated. Thank you