[FFmpeg-devel] [PATCH]Warn if vorbis files with wrong channel layout are encoded

compn tempn at twmi.rr.com
Thu Apr 14 21:24:30 CEST 2011


On Thu, 14 Apr 2011 21:18:44 +0200, Carl Eugen Hoyos wrote:
>+            av_log(avccontext, AV_LOG_ERROR, "Channel layout not supported by Vorbis, "
>+                                             "output stream will have incorrect "
>+                                             "channel layout.\n");
>+        } else {
>+            av_log(avccontext, AV_LOG_WARNING, "No channel layout specified. The encoder "
>+                                               "will use Vorbis channel layout for "
>+                                               "%d channels.\n", avccontext->channels);

text looks fine, but i really like it when an error message tells me
what i need to do to fix the error.

e.g. 'use -channels X' or whatever.

-compn


More information about the ffmpeg-devel mailing list