Blame view

3rdparty/ffmpeg-4.4.4/x264/doc/regression_test.txt 608 Bytes
6fdcb6a5   Hu Chunming   初次提交,代码大体完成编写,完善中
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  Here is one test method which checks that the encoder's
  view of decoded pictures in the same as the decoder's view.
  This ensures that there is no distortion besides what is
  inherently caused by compression.
  
  # Install and compile x264 :
  git clone git://git.videolan.org/x264.git x264
  cd x264
  ./configure
  make
  cd ..
  
  # Install and compile JM reference decoder :
  wget http://iphome.hhi.de/suehring/tml/download/jm17.2.zip
  unzip jm17.2.zip
  cd JM
  sh unixprep.sh
  cd ldecod
  make
  cd ../..
  
  ./x264/x264 input.yuv --dump-yuv fdec.yuv -o output.h264
  ./JM/bin/ldecod.exe -i output.h264 -o ref.yuv
  diff ref.yuv fdec.yuv