viseron icon indicating copy to clipboard operation
viseron copied to clipboard

Not add filter if filter added in filter_args

Open olekenneth opened this issue 2 years ago • 3 comments

Having the -filter:v conflicts with my transpose:

    filter_args:
      - '-vf'
      - "transpose=2"

olekenneth avatar Nov 23 '21 15:11 olekenneth

I assume you can help with the long line CI check, and maybe create a better solution. I suggest merging it with the filter_args. It was just a stretch to code it inside the Github GUI :P

olekenneth avatar Nov 23 '21 15:11 olekenneth

I made pylint and blackify happy. But still there might be a better solution this.

olekenneth avatar Nov 25 '21 05:11 olekenneth

Thanks for the contribution! I will look at it in a few days, might need some tweaking.

I am using the filter to limit the output fps which reduces CPU usage drastically. Removing the fps filter might also cause the calculations for the intervals of motion/object detection to become wrong

roflcoopter avatar Nov 25 '21 06:11 roflcoopter