0

I need to get on a small website the stream captured by my Raspberry Pi camera (not a webcam). I have tryed something like:

libcamera-vid -t 0 --inline --width 640 --height 480 --framerate 10 | ffmpeg -f h264 -i - -vcodec copy -f rtsp rtsp://192.168.1.111:8554

But it doesn't work.

I think that the first part with libcamera-vid is okay, but next I am not sure what to do to convert the stream with FFmpeg and send it to MediaMTX to be able to show it properly on a website.

1
  • Welcome! You could try with ffmpeg -f h264 -i - -vcodec copy -f rtsp -rtsp_transport tcp rtsp://192.168.1.111:8554 you were missing -rtsp_transport tcp Commented Apr 15 at 11:36

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.