motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Videostream from Tapo C325WB not visible in Motioneye

Open HomAlix99 opened this issue 9 months ago • 1 comments

I created a user in the cam and with that credentials I can see the livestream of the cam in vlc or other nvr on the pc, but not in motioneye. This runs within a docker container on a raspberry pi 4. The container ist bridged and within the same network as the cam. Here is my docker-compose definition: ` version: '3.9'

networks: motioneye-net: driver: bridge name: motioneye-net

services:

1. Motioneye NVR

motioneye: privileged: True image: cyb3rdoc/motioneye:latest

image: ghcr.io/motioneye-project/motioneye:edge

hostname: motioneye
container_name: motioneye
networks:
  - motioneye-net
restart: unless-stopped
ports:
  - 8765:8765
  - 8081:8081
volumes:
  - /etc/localtime:/etc/localtime:ro
  - /motioneye-docker/shared:/shared
  - /motioneye-docker/etc:/etc/motioneye

`

HomAlix99 avatar Mar 25 '25 21:03 HomAlix99

In motioneye I added the cam with the given credentials but there is no videostream visable.

Image

While I create a new cam in motioneye the following exeption is logged for the deployed container:

`2025-03-23T21:16:46.329180070Z configure_logging cmd motioneye: False

2025-03-23T21:16:46.329454826Z configure logging to file: None

2025-03-23T21:16:46.337125456Z INFO: Hallo! Dies ist ein MotionEye-Server 0.43.1b2

2025-03-23T21:16:51.091000287Z INFO: Reinigung hat begonnen

2025-03-23T21:16:51.091227895Z INFO: wsswitch wurde gestartet

2025-03-23T21:16:51.121053998Z INFO: Aufgaben wurden gestartet

2025-03-23T21:16:51.123064405Z INFO: Der mjpg-Client-Garbage-Collector wurde gestartet

2025-03-23T21:16:51.169549217Z INFO: Der Server wurde gestartet

2025-03-25T21:15:20.184877176Z INFO: removing camera config file /etc/motioneye/camera-1.conf...

2025-03-25T21:15:44.843302987Z INFO: adding new netcam camera with id 1...

2025-03-25T21:16:01.543444097Z ERROR: Exception in callback test_rtsp_url..seek_server..f(<Future finis...m is closed')>) at /usr/local/lib/python3.11/dist-packages/motioneye/utils/rtsp.py:144

2025-03-25T21:16:01.543644781Z handle: <Handle test_rtsp_url..seek_server..f(<Future finis...m is closed')>) at /usr/local/lib/python3.11/dist-packages/motioneye/utils/rtsp.py:144>

2025-03-25T21:16:01.543701799Z Traceback (most recent call last):

2025-03-25T21:16:01.543745854Z File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run

2025-03-25T21:16:01.543791909Z self._context.run(self._callback, *self._args)

2025-03-25T21:16:01.543834094Z File "/usr/local/lib/python3.11/dist-packages/motioneye/utils/rtsp.py", line 145, in f

2025-03-25T21:16:01.543874890Z on_server(f.result())

2025-03-25T21:16:01.543914001Z ^^^^^^^^^^

2025-03-25T21:16:01.543952889Z tornado.iostream.StreamClosedError: Stream is closed`

I have no more ideas what is going wrong. br

Alex

HomAlix99 avatar Mar 25 '25 21:03 HomAlix99