[beta testing] nodes for live streaming mp4

That should be fairly straight forward. First, copy the flow example that also include exec and mp4frag. We will then edit the exec node to point the input to be the rtsp url of the ip cam and change a couple of params specific to rtsp input. The output params may stay the same or change depending if you have audio in the cam. When I get to my computer, I will give some example ffmpeg commands that might work for you.

edit:
Some of my working ffmpeg commands in the exec node:

  • this one removes audio from output
    ffmpeg -loglevel quiet -rtsp_transport tcp -i rtsp://192.168.1.4:554/user=admin_password=pass_channel=0_stream=0.sdp?real_stream -an -c:v copy -f mp4 -movflags +frag_keyframe+empty_moov+default_base_moof pipe:1

  • this one encodes audio
    ffmpeg -loglevel quiet -rtsp_transport tcp -i rtsp://admin:pass@192.168.1.14:554/stream2 -c:a aac -c:v copy -f mp4 -movflags +frag_keyframe+empty_moov+default_base_moof pipe:1