Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

MotionEye, rtsp, and VirtualBox

$
0
0

@nealdc wrote:

I had MotionEye connecting to three Sonoff GK-200MP2-B cameras running rtsp. All working fine, but my RPi 3 was very busy (80% CPU utilisation most of the time, peaking frequently at 100%).
That, among other things, prompted me to move to a VirtualBox VM on an i5. All of which is working very nicely, with the exception of MotionEye - I only get Unable to open video device message and a grey screen, for all three cameras.

I am a bit at a loss as to what to post here config-wise, but here’s everything that seems relevant:

  • VirtualBox 6.1 VM is running 64-bit Ubuntu with Hassos 3.11
  • VM has allocated to it 2GB RAM, 2 processors
  • I/O APIC enabled
  • EFI enabled
  • Bridged network adapter; Promiscuous Mode: Allow All
  • MotionEye version 0.7.0
  • MotionEye config:
motion_webcontrol: false
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
action_buttons: []

(SSL is all working fine).

Camera #1 URL (which was working perfectly OK on the RPi) was: rtsp://192.168.1.164:554/av_stream/ch0

However on the VirtualBox VM I have tried:

rtsp://192.168.1.164:554/av_stream/ch0

and:

rtsp://[rtsp userid]:[rtsp password]@192.164.1.164:554/av_stream/ch0

…neither of which work. Same problem: Unable to open video device.

In the MotionEye logs I see occasional entries (maybe one in every ten log entries):

ERROR: mjpg client timed out receiving data for camera 1 on port 8081

But predominantly the logs are like:

[24/Feb/2020:22:41:51 +0000] 200 [my network's current public ip], 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=[13-digit decimal number]&width=0.6&_username=admin&_signature=[40-digit hex string] HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.100 Safari/537.36)

Is anyone able to provide any obvious pointers? What am I missing?

Any suggestions greatly appreciated !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>