node-rtsp-rtmp-server
node-rtsp-rtmp-server copied to clipboard
Webcam as input
How can I use a webcam as input? At ffmpeg I just type "-i 0".
@m-obi Please see this page. https://trac.ffmpeg.org/wiki/Capture/Webcam
I was using tcp.coffee in examples.
Now I'm trying with server.coffee. In config.coffee I changed serverPort to 5000.
I started ffmpeg with:
ffmpeg -f vfwcap -re -video_size 640x480 -i 0 -f rtsp -rtsp_transport tcp rtsp://localhost:5000/live/webcam
But VLC can't find the stream. Where I can set the stream name?