Screen Comparison

1. Apps needed

AviSynth
AvsP
ffms2

2. Installation

  • Download AviSynth.exe file and install it.
  • Download ffms2 and put the ffms2.dll, FFMS2.avsi & ffmsindex.exe files in the AVISynth plugins folder, usually: C:\Program Files (x86)\AviSynth\plugins.
  • AvsP is portable. Just extract and run!

3. Basic Script

• Open AvsPMod and copy and paste in this script and save it. Open a new avs file and paste this in it:

1
2
3
FFVideosource("D:\MuxVUX\GBR_REMUX.mkv") #Replace with the path of source 1
Crop(0, 0, 0, 0) #use the cropping values you used for the encode - crop(left, up, -right, -down)
Spline36Resize(1920,1080) #final width and height of the encode

• Save the above script as source.avs since it will be used for the next script.

1
2
3
4
5
6
7
8
# path to the avisynth script (the source.avs as mentioned above)
a=import("D:\MuxVUX\IMP.avs").subtitle("GBR", align=9).ffinfo(framenum=true,frametype=true,cfrtime=false,vfrtime=false,version=false,cropping=false,colorrange=false,colorspace=false,sar=false) 
# path to the source 2
b=ffvideosource("D:\MuxVUX\GER_REMUX.mkv").subtitle("GER", align=9).trim(2,framecount).ffinfo(framenum=true,frametype=true,cfrtime=false,vfrtime=false,version=false,cropping=false,colorrange=false,colorspace=false,sar=false)
# path to the source 3
# c=ffvideosource("D:\MuxVUX\FRA_REMUX.mkv").subtitle("FRA", align=9).trim(24,framecount).ffinfo(framenum=true,frametype=true,cfrtime=false,vfrtime=false,version=false,cropping=false,colorrange=false,colorspace=false,sar=false)
interleave(a,b)
# interleave(a,b,c)

4. Hit F5 and AvsP will appear to freeze. This is normal while FFVideoSource is indexing the video. After indexing, you will see duplicate frames in the preview pane. Even numbered frames are from the source and the following odd numbered frames are from the encode. Navigate to the frames you wish to take screenshots of and right click in the preview pane to save your images as PNGs.

• Find a point where the scene change occurs in both sources and make a note of the frame difference.
• Next, you must substitute x in trim(x,framescount) with the frame difference value
• For example: Source 2 (GER) is 2 frames ahead of Source 1 (GBR), you would substitute the value 2 for x in trim(x,framescount).
• Hit F5 again, to apply the changes.

5. FInal Result

Source 1

Image description

Source 2

Image description

Edit

Pub: 21 Sep 2022 17:05 UTC

Edit: 30 Jan 2023 13:20 UTC

Views: 299