-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Support]: Timelapse file size is huge #9800
Comments
Only key frames are kept by default, it still is fitting a lot of data in especially if you request a large time lapse. But that is why the args are configurable, you can reduce the bitrate if you want to |
I already tried adding "-b:v 4M" to timelapse_args.
|
I'm not sure what options the vaapi encoder supports, seems like that isn't one of them. The hardware encoders don't necessarily support all the options that the libx264 encoder supports |
It looks like only the "-qp" parameter is having a good effect here. Once I've come up with some good settings I can create a merge request for extending the documentation in that regard if it is desired to do so... |
Documentation has been updated. |
Describe the problem you are having
I'm in the process of trying the timelapse export feature.
I customized the timelapse_args config parameter to have a speed-up of 60x; meaning that 1 hour of recording should result in 1 minute of timelapse.
The export works sometimes with some troubles (see also #9798) but the created file is huge. I would expect that the resulting timelapse video would also be roughly just 1/60th of the normal exported (realtime) size.
It seems as if it just speeds up the video but keeps all the frames internally.
ffprobe shows an astonishing bitrate of 78446 kb/s.
I'm using the global configuration parameter "hwaccel_args: preset-vaapi".
Version
0.13.1-34fb1c2
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Coral version
Other
Network connection
Wireless
Camera make and model
Imou Bullet 3
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: