0

I got a a Raspberry Pi camera and a USB microphone connected to the Raspberry Pi 4. All of them are working seperately. But now, I would like to stream them live and combined for accessing it in HTML. The video must also be flipped horizontally and in the bottom right corner should be the timestamp displayed.

Is there a way to do this?

EDIT: I found already this command:

raspivid -rot 180 -t 0 -w 320 -h 240 -fps 24 -b 5000000 -o - | ffmpeg -i - -f alsa -ac 1 -i hw:1 -map 0:0 -map 1:0 -vcodec copy -acodec aac -strict -2 test.flv

Is it possible to live stream the outputted flv file to access on a browser?

3
  • 1
    probably yes ... linux is very flexible ... i don't think that it would be a waste of time to do research ... good luck with your project .... come back and ask a question if you encounter problems
    – jsotola
    Mar 28 at 17:48
  • 1
    don't limit your chances of success by researching about Raspberry Pi ... it is a Linux question, not RPi
    – jsotola
    Mar 28 at 17:54
  • there are multiple ways of doing this - you'll need an encoder to multiplex and encode the audio+video into a stream, then you may need a source client to send the stream to some sort of stream server, then you'll need this stream server to handle the incoming stream and "serve" it in a way that a browser can consume it Mar 29 at 0:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.