Have the Untrunc executable provide more help#125
Conversation
|
Hey, I am not the maintainer but I think you add more complexity than needed. Keep in mind that this program is only to be used for repairing mp4 files. You don't need 10 different log levels for this. I like the KISS priciple. |
|
Untrunc doesn't only repair files; The log levels are the ones used in FFmpeg and Libav.
Please, tell me how you would map the Untrunc log levels to FFmpeg/Libav ones? |
|
I think one loglevel should be dedicated to the the average user, who doesn't know a lot about MP4s. But sometimes untrunc does not work or you are a developer. For this we need a verbose loglevel. So in my opinion two loglevels should be enough. I'd focus on that first, and if later for some reason an additional loglevel makes sense, just add it then. For the loglevel dedicated to the average user I think |
|
The code has quite some logging in |
Alter both `enum LogLevel` and `struct LogInfo` to get the desired logging levels.
|
Neither verbose nor debug messages are of interest to the average user. So I'd put them into the same log level. |
|
@anthwlock |
|
Logging (Severity) Levels:
Some "standard" logging levels:
Note:
|
|
I used |
|
Hmmm , And I see that you use |
|
Well, then let's say I use |
-h).-q,-v) to set the AV library's log level.