keshavdv / unifi-cam-proxy

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

bump alpine to 3.17 and python version to 3.9 #276

Closed hdd closed 1 year ago

hdd commented 1 year ago

Updated dockerfile to bump alpine to pull latest ffmpeg and python version to 3.9 to match pyunifiprotect required version. Haven't been able to get streaming working yet on my camera (HD IPC), but no errors are reported in the console this time.

hdd commented 1 year ago

Side note, passing the argument :

--ffmpeg-args='-c:a copy -c:v copy -bsf:v "h264_metadata=tick_rate=30000/1001"'

Makes my RSTP camera back on streaming on Protect !

stale[bot] commented 1 year 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.

simon300000 commented 1 year ago

Fixed my broken pipe issue even without the argument you mentioned đź‘Ť The live stream on web ui still loads infinitely though, but i guess that's a different issue.

hdd commented 1 year ago

Glad to hear @simon300000 , I actually had the same issue up unti those arguments were passed. I'll check again though !

simon300000 commented 1 year ago

Glad to hear @simon300000 , I actually had the same issue up unti those arguments were passed. I'll check again though !

I added the argument but it does not fix the webui problem, and I also have choppy audio, recording won’t work. but I guess it’s related to camera type, Mine is a eufy C24

hdd commented 1 year ago

I've not been looking into the audio, streaming the camera is enough for me atm, but seems audio is a different beast as a whole for what I read on the other tickets.

Syco54645 commented 1 year ago

@keshavdv can we please get this reviewed and merged in? The container does not work at the moment.

acseven commented 1 year ago

@keshavdv Could you trigger the docker image update, please? https://hub.docker.com/r/keshavdv/unifi-cam-proxy

Syco54645 commented 1 year ago

@keshavdv Could you trigger the docker image update, please? https://hub.docker.com/r/keshavdv/unifi-cam-proxy

That will not be possible as the build is failing. I have tried to get it working but do not know enough about docker to fix it. I created an issue for it, hopefully it is addressed soon.

Alternatively, if someone else wants to push to dockerhub that works, I was trying but fell short.

khcnz commented 1 year ago

Pretty sure the some of the changes here are relevant, as the github build script is using the wrong version of python now See some other relevant changes in this PR. https://github.com/keshavdv/unifi-cam-proxy/pull/284/files

I'm excited about getting this up and running again!