diff --git a/src/video_compress/libavcodec.cpp b/src/video_compress/libavcodec.cpp index a13ed21ea..f13655c9e 100644 --- a/src/video_compress/libavcodec.cpp +++ b/src/video_compress/libavcodec.cpp @@ -376,9 +376,15 @@ static void get_codec_details(AVCodecID id, char *buf, size_t buflen) void usage(bool full) { printf("Libavcodec encoder usage:\n"); - col() << "\t" SBOLD(SRED("-c libavcodec") << "[:codec=|:encoder=][:bitrate=|:bpp=|:crf=|:cqp=]\n" - "\t\t[:subsampling=][:depth=][:rgb|:yuv][:gop=]" - "[:[disable_]intra_refresh][:threads=][:slices=][:=]*") << "\n"; + col() << "\t" SBOLD(SRED("-c libavcodec") + << "[:codec=|:encoder=]\n\t\t[" + ":bitrate=|:bpp=|:" + "crf=|:cqp=]\n\t\t[:subsampling=<" + "subsampling>][:depth=" + "][:rgb|:yuv][:gop=]\n\t\t" + "[:[disable_]intra_refresh][:threads=][" + ":slices=]\n\t\t[:=]*") + << "\n\t" << SBOLD(SRED("-c libavcodec") << ":[full]help") << "\n"; col() << "\nwhere\n"; col() << "\t" << SBOLD("") << " specifies encoder (eg. nvenc or libx264 for H.264)\n"; col() << "\t" << SBOLD("") << " - codec name (default MJPEG) if encoder name is not specified\n";