ORB-HD / deface

Video anonymization by face detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ffmpeg-config issue with fps

Karl48071 opened this issue · comments

Looking at the ffmepg-imageio docs, there does appear to be a parameter called "fps" that changes the output frames per second rate of the anonymized video. However, when setting ffmpeg-config '{"fps": 15} I get an error of: got multiple values for argument 'fps'

How do you properly set that parameter so that the output video is 15 frames per second?

The fps is already passed explicity here based on the source video fps value:

opath, format='FFMPEG', mode='I', fps=meta['fps'], **ffmpeg_config
.
I had implemented it like this because I did not think there was a use case for simultaneously anonymizing a video and changing its frame rate.

Edit: My workaround code didn't work. Pushing an actual fix now.

Please update from the latest git version and feel free to reopen if you encounter any problems.

Thank you!!