PDA

View Full Version : Comparing created video against the original?


Atax
10th October 2008, 08:45
Hi all,

in "FastStone Image Viewer" you can select 2 images, press P, and the program splits screens and let you view image1 and image2 beside each other in close up.

To compare the Xvid/DivX/x264 file I created against the original DVD file, im looking for a tool that can place 2videos beside each other. The frame currently displayed in the 2 videos would of course alway have to be synchronous (otherwise you can t compare your results), thats why I can t simply open 2 MediaPlayer-windows beside each other!

Any suggestions?

Thanks!

bigotti5
10th October 2008, 09:13
Avisynth

stackhorizontal(video1,video2)

Atax
10th October 2008, 18:28
Hi, thanks for the tip, ... however, it did not work :(

I created a text file in the same folder as the 2 avi's are, that I wish to compare. I named it test.avs and it containd the following line (nothing more):
stackhorizontal(VTS_01_PGC_01_1.avi,VTS_01_PGC_01_3.avi)

I tried to open this via VirtualDubMod and got this errormessage:

Avisynth open failure:
I don't know what "VTS_01_PGC_01_01" means
(E:\movie\test.avs, line 1)

The test-avs files contained under Programs\AviSynth 2.5 played however perfectly under VirtualDubMod.

Whats missing in this script?

Thanks in advance!

smok3
10th October 2008, 18:41
try something along

a = DirectShowSource("file1.mp4" ,fps=25)
a = subtitle(a, "1")
b = DirectShowSource("file2.mp4" ,fps=25)
b = subtitle(b, "2")
video = StackVertical(a,b)
return video

Ranguvar
10th October 2008, 20:48
AviSynth with AvsP.

Blue_MiSfit
10th October 2008, 21:10
Yup. AvsP is absolutely indispensable for this kind of thing! I prefer interleave(a,b) personally, but stackhorizontal(a,b), or stackvertical(a,b) work also!

Here's a nice little trick, if you're hunting for blocking, banding, etc in the source, then add Histogram(mode="luma") to the script after Interleave, StackVertical, or StackHorizontal. It's neat-o :)

~MiSfit

Atax
12th October 2008, 10:39
Thanks all for the advice!

smok3,

your script works nicely, but for some reason I get each movie twice, so that there is a total of 4 moving pictures on the screen. i couldent figure out how to reduce them, and only see the 2 files I wan t to compare! Any suggestions on that?

Is there a good handbook on Avisynth that any of you could recommend?

Thanks!

smok3
12th October 2008, 10:44
atax, post your script
handbook would be online at http://avisynth.org

Ranguvar
13th October 2008, 03:03
Yup. AvsP is absolutely indispensable for this kind of thing! I prefer interleave(a,b) personally, but stackhorizontal(a,b), or stackvertical(a,b) work also!

I prefer just making two scripts, opening each in a tab, and flipping back and forth ;) IMO easier to spot differences by a wide margin.

Industrial_One
22nd October 2008, 22:37
Atax. Do:

v1=DirectShowSource("C:\file1.mp4" ,fps=25)
v2=DirectShowSource("C:\file2.mp4" ,fps=25)
StackHorizontal(v1,v2)

You can change it to vertical if you want.