keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.59k stars 223 forks source link

Recording not working #320

Closed trailro closed 8 months ago

trailro commented 11 months ago

Camera

Dahua

Firmware version of the camera

No response

Description

Hi all,

i have recently connected 3 dahua cameras via the proxy and all good in seeing the snapshots and live video. I also see the timelapse that my udm pro with latest version of protect generates.

However, when i try to view recordings (always on) in the past, it does not seem to work. The data seems to be there though as i can see storage space being utilised but I can’t view the streams.

Does anyone have any clues as to what might the issue be?

Thanks

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional information

No response

phillijw commented 11 months ago

"it does not seem to work"

Can you elaborate?

HouseofAtreides commented 10 months ago

What is the proxy command you are using for the Dahuas? I have an Amcrest that runs well on :dev but I don't have my dahuas running well.

gtrak commented 10 months ago

I am having the same issue with an amcrest using this config:

unifi-cam-proxy --host unifi.lan --cert /client.pem --token $TOKEN -i $IP amcrest \
  -u admin -p $PASSWORD --motion-index 0 --snapshot-channel 1 \
  --ffmpeg-args='-vaapi_device /dev/dri/renderD128 -c:a copy -c:v copy -bsf:v "h264_metadata=tick_rate=30000/1001"'
stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gtrak commented 9 months ago

still an issue

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.