Commit Graph

3 Commits

Author SHA1 Message Date
8400246fce Improved error messages when binaries are missing. Also stderr = stdout now.
Now that these scripts are called from browser tests, we need to print everything on stdout since the tests will throw away stderr when invoking programs. I chose to assign sys.stderr to sys.stdout. Otherwise I would have missed stuff like parser.error, which print to stderr.

The error message will get improved because the old code did not catch the case when the binary was missing, which lead to a very confusing error when that was the case. This gets fixed now.

BUG=
R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1886004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4416 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-29 11:01:03 +00:00
7bcc7e3b43 Fixed bad parameter passing in compare_videos.py
BUG=http://crbug.com/254932
R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1733004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4272 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-27 14:05:26 +00:00
a6ff84503e Add script for comparing video quality
This script makes it easier to run a simple command line
comparison between a captured YUV file and a reference video.

BUG=none
TEST=command line invocation
R=phoglund@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1320007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4022 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-14 09:43:04 +00:00