thirtythreeforty / neolink

An RTSP bridge to Reolink IP cameras
https://www.thirtythreeforty.net/posts/2020/05/hacking-reolink-cameras-for-fun-and-profit/
GNU Affero General Public License v3.0
892 stars 151 forks source link

reolink e1 camera rtsp stream only show audio but not video #156

Open saarsinai opened 3 years ago

saarsinai commented 3 years ago

Describe the bug configured the docker container next to my other container.

  neolink:
    hostname: neolink
    container_name: neolink
    image: thirtythreeforty/neolink
    restart: unless-stopped
    ports:
      - 8554:8554
    volumes:
      - ${USERDIR}/config/neolink/config.toml:/etc/neolink.toml

in the logs i can see that it's connected to the camera. but when i use the rtsp url using vlc to see if it works, all i can hear is tha audio, no video. also tried to add it to my nvr system and did not work as well.

reolink e1 (not pro) firmware version: v3.0.0.115_20102200 hardware version: IPC_517SD5

the toml file:

bind = "0.0.0.0"

[[cameras]]
name = "garden"
format = "h264"
username = "admin"
password = "HIDDEN"
address = "192.168.1.120:9000"
stream = "both"
QuantumEntangledAndy commented 3 years ago

Hmm odd. It's working on my own e1 fine so there is something odd going on with your system or maybe the docker.

Can you do a few things.

  1. Try ffmpeg instead of VLC. Specifically ffprobe and show me the results

  2. Can you add the environmental variables

    • RUST_LOG=debug
    • GST_DEBUG=3

    Then try to connect again and show me the logs from docker

  3. Run it without docker.


I'm quite surprised only audio works because of the way gstreamers works if either audio of video fail then the whole stream should die. Hoping this is nothing too serious.

QuantumEntangledAndy commented 3 years ago

Where you able to get this working at some point?