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

There are too many logs, how should I control them? #558

Closed
joe-vettek opened this issue Sep 5, 2022 · 5 comments
Closed

There are too many logs, how should I control them? #558

joe-vettek opened this issue Sep 5, 2022 · 5 comments

Comments

@joe-vettek
Copy link

Is your feature request related to a problem? Please describe.
I'm using FFprobe.getMediaInformation() to get the infomation of media. But too many logs flood my screen. Is there any way to close these logs?

Describe the solution you'd like
A simple function call or execution method.

Describe alternatives you've considered
Sorry, I didn't find a proper solution. But I see hide_banner in the call to the function getMediaInformation, but it doesn't seem to work.

Platform
Android, javva

Additional context
No more else.

@joe-vettek joe-vettek reopened this Sep 5, 2022
@joe-vettek
Copy link
Author

FFprobe.getMediaInformationFromCommand("-loglevel  quiet -hide_banner -print_format json -show_format -i \""+path+"\"");

This still outputs a lot of log, which is very disturbing to the console.

@joe-vettek
Copy link
Author

So I found that the so-called media information actually comes from reading the log log, which is somewhat unfortunate, and the log cannot be output when the log is disabled.
image

@joe-vettek
Copy link
Author

FFprobe.execute("FFREPORT=file=\""+basePath+"s.txt"+"\":level=32 -hide_banner -print_format json -show_format \""+basePath + fileName+"\"");

now tell me Argument provided as input filename, but was already specified.

@tanersener
Copy link
Collaborator

See #215

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants