Open Anish009 opened 4 years ago
@Anish009 127.0.0.1 is the IP address of localhost. If you want to publish stream from ffmpeg to node-rtsp-rtmp-server running on the same machine by IP address, please replace rtsp://localhost:80/live/stream with rtsp://127.0.0.1:80/live/stream
thank you ...
I am using the below command to push the data to the node-RTSP-RTMP-server,
ffmpeg -input_format yuyv422 -f video4linux2 -s 1280x720 -r 10 -i /dev/video0 -c:v h264_omx -r 10 -b:v 2M -an -f rtsp rtsp://localhost:80/live/stream
but I don't want to push with localhost instead I want to use the IP address of the localhost, I am using raspberry PI 4 to do this.
How can I do this, can you help with your awesome project.