Ffmpeg Stream

Aus Roebke Wiki
Zur Navigation springen Zur Suche springen

Stream starten auf Rpi mit Kamera

raspivid -o - -t 0 -w 1280 -h 720 -fps 15 -n -awb auto -ex auto | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8000/live}' :demux=h264

Plugin "Camera FFMPEG" installieren

Config [

   {
       "platform": "Camera-ffmpeg",
       "cameras": [
           {
               "name": "Balcony Camera",
               "videoConfig": {
                   "source": "-f rtsp -i rtsp://raspberrypi:8000/live",
                   "stillImageSource": "-i http://test/bild.jpg",
                   "maxStreams": 2,
                   "maxWidth": 1280,
                   "maxHeight": 720,
                   "maxFPS": 15,
                   "maxBitrate": 299,
                   "audio": false,
                   "packetSize": 188
               }
           }
       ]
   }

]

[
{
"name": "Camera Name",
"videoConfig": 
{
"source": "-re -i rtsp://raspberrypi:8000/live",
"stillImageSource": "-i http://test/bild.jpg",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30
}
}
]