[x264-devel] commit: Make the ffmpeg -vpre error message more descriptive ( Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Wed Nov 10 10:12:33 CET 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Nov 7 17:27:38 2010 -0800| [d70087b9bd9773ed44d4fc41c56304c7e3853f6e] | committer: Jason Garrett-Glaser
Make the ffmpeg -vpre error message more descriptive
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d70087b9bd9773ed44d4fc41c56304c7e3853f6e
---
encoder/encoder.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index ba3a3f7..2db633a 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -475,7 +475,10 @@ static int x264_validate_parameters( x264_t *h )
if( score >= 5 )
{
x264_log( h, X264_LOG_ERROR, "broken ffmpeg default settings detected\n" );
- x264_log( h, X264_LOG_ERROR, "use an encoding preset (vpre)\n" );
+ x264_log( h, X264_LOG_ERROR, "use an encoding preset (e.g. -vpre medium)\n" );
+ x264_log( h, X264_LOG_ERROR, "preset usage: -vpre <speed> -vpre <profile>\n" );
+ x264_log( h, X264_LOG_ERROR, "speed presets are listed in x264 --help\n" );
+ x264_log( h, X264_LOG_ERROR, "profile is optional; x264 defaults to high\n" );
return -1;
}
}
More information about the x264-devel
mailing list