fraunhoferhhi / vvenc

VVenC, the Fraunhofer Versatile Video Encoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
965 stars 173 forks source link

Printing rough bitrate estimation #253

Closed birdie-github closed 1 year ago

birdie-github commented 1 year ago

Would be great if vvenc showed rough projected bitrate estimation based on let's say the last ~60 encoded frames.

Of course vvenc already prints POC lines but as a human being I cannot calculate and estimate that in my head. Also POCs represent different types of frames (I, P, B), so it gets even more complicated.

This is suitable only for vvenc, and not when using libvvenc because in the latter case e.g. ffmpeg or another application could do that on their own.

It's a very low priority feature request which can be dismissed if you have more important stuff to do.

jungleboynx commented 1 year ago

To get a rough idea of the bitrate I take a copy of the currently encoding vvc file and mux the copy into mp4. You can then use MediaInfo to get the current bitrate. Having something similar to x264 and x265 status would be good - percentage progress, current frame position, current frame rate, current bitrate and ETA would be good. For the ETA you'd need to know the number of frames. The status line just needs updating every second, not on every frame.