]> git.sesse.net Git - x264/blob - doc/regression_test.txt
Allow | as a separator between psy-rd and psy-trellis values.
[x264] / doc / regression_test.txt
1 Here is one test method which checks that the encoder's
2 view of decoded pictures in the same as the decoder's view.
3 This ensures that there is no distortion besides what is
4 inherently caused by compression.
5
6 # Install and compile x264 :
7 svn co svn://svn.videolan.org/x264/trunk x264
8 cd x264
9 ./configure
10 perl -pi -e 's|//(#define DEBUG_DUMP_FRAME)|$1|' encoder/encoder.c # define DEBUG_DUMP_FRAME
11 make
12 cd ..
13
14 # Install and compile JM reference decoder :
15 wget http://iphome.hhi.de/suehring/tml/download/jm10.2.zip
16 unzip jm10.2.zip
17 cd JM
18 sh unixprep.sh
19 cd ldecod
20 make
21 cd ../..
22
23 ./x264/x264 input.yuv -o output.h264 # this produces fdec.yuv
24 ./JM/bin/ldecod.exe -i output.h264 -o ref.yuv
25 diff ref.yuv fdec.yuv