Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
52867 views
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
git clone git://git.videolan.org/x264.git x264
8
cd x264
9
./configure
10
make
11
cd ..
12
13
# Install and compile JM reference decoder :
14
wget http://iphome.hhi.de/suehring/tml/download/jm17.2.zip
15
unzip jm17.2.zip
16
cd JM
17
sh unixprep.sh
18
cd ldecod
19
make
20
cd ../..
21
22
./x264/x264 input.yuv --dump-yuv fdec.yuv -o output.h264
23
./JM/bin/ldecod.exe -i output.h264 -o ref.yuv
24
diff ref.yuv fdec.yuv
25
26