Dafang-Hacks / Main

141 stars 62 forks source link

Change number of video buffers to two #48

Closed Yannik closed 4 years ago

Yannik commented 4 years ago

In this patch, geekman lowers the number of video buffers per channel to two. Supposedly, the iCamera stock binary is doing the same. According to geekman, this reduces the memory usage and therefore enables 1080p even on 64MB cameras.

Has anyone (@nik0) tried this? Other thoughts on the topic?

nik0 commented 4 years ago

I implemented (not the nVBs stuff) Check the .ini file https://github.com/Dafang-Hacks/Main/blob/master/v4l2rtspserver-master/v4l2rtspserver-master.ini POOLSIZE parameter. I didn’t test it I don’t have this camera

Yannik commented 4 years ago

@nik0 I know that you added the POOLSIZE parameter.

I've opened this issue about the number of video buffers (nrVBs).

nik0 commented 4 years ago

Ok Need to change that 😜