Skip to content
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

Generate FFREPORT logs, release stderr/stdout streams #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stanleyqubit
Copy link

Migrate from capturing ffmpeg stderr output to generating report logs via setting the FFREPORT environment variable. This way, ffmpeg output will be visible in the terminal when e.g., waiting for user input if the output file already exists.

Report log verbosity level is independent from passed -loglevel option. Both can be supplied at the same time. The report will save output at its specified verbosity level, while -loglevel option will only affect what's displayed in the terminal, since stdout and stderr aren't redirected anymore.

Tested on Windows and Linux.

Awesome script btw! 🥇

Migrate from capturing ffmpeg stderr to generating report logs via setting the
FFREPORT environment variable. This way, ffmpeg output will be visible in the
terminal when e.g., waiting for user input if the output file already exists.
Needed for Windows file paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant