[Ffmpeg-devel] ffmpeg help going to both stdout and stderr.
Sat Jun 10 02:56:47 CEST 2006
The show_help function uses a bunch of calls to show_help_options and then
at the end call av_opt_show. The problem with this is that av_opt_show uses
av_log, which ultimately uses av_log_default_callback which by default
prints to standard error. This is only a problem if you happen to want to
look at the output without schooling back, say redirecting it to a file. I
have not idea how to check code into this system yet, but I think someone
ought to change the default to stdout insted of stderr so that the help can
be easily redirected. Also, logging to stderr by default is a bit lame
anyway. Errors go do stderr.
More information about the ffmpeg-devel