Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Show ffmpeg progress #270

Closed
Nannk opened this issue Nov 21, 2023 · 1 comment
Closed

Show ffmpeg progress #270

Nannk opened this issue Nov 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Nannk
Copy link
Contributor

Nannk commented Nov 21, 2023

Is your feature request related to a problem? Please describe.
As av1 encoding on a cpu takes quite a long time, in my opinion, a progress indicator would be quite helpful.

Describe the solution you'd like
ffmpeg has an -stats output and -progress output option. source
One of the solutions is to use ffprobe before ffmpeg, grab the frame counter from -progress output and calcutate the progress in percent. source.

There are also multiple wrappers available, most of them use js, python or php.
Bash implementation: https://github.com/zamanuhina/ffmpeg-progress

@Nannk Nannk added the enhancement New feature or request label Nov 21, 2023
bytedream added a commit that referenced this issue Dec 8, 2023
bytedream added a commit that referenced this issue Dec 8, 2023
@bytedream
Copy link
Member

Added in v3.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants