[Vorbis-dev] ogginfo writes errors to stdout

Conrad Parker conrad at metadecks.org
Wed Mar 17 17:22:09 PDT 2010

On 18 March 2010 04:16, Ray Kohler <ataraxia937 at gmail.com> wrote:
> The ogginfo tool writes its errors to stdout instead of stderr.
> Shouldn't that change? (Warnings also go to stdout, but that's more of
> a gray area.) The other vorbis-tools don't have this problem, with the
> possible exception of vcut, which writes the usage message to stdout,
> another edge case.

I think it would make sense for operational errors (eg. file not
found, unreadable etc.) to go to stderr, and surely that's what's
happening with the other vorbis-tools. For conformance errors (ogg
framing, comment format, vorbis headers etc.) it might make sense to
write them to stdout so that they are part of the same output stream
as warnings and general info, ie. so they form a coherent report, and
aren't re-ordered.


More information about the Vorbis-dev mailing list