View Full Version : Analysis pass with CLI
Hi, is there a way to run an analysis pass like you do in MeGUI or VirtualDub, but by using the Command pormpt instead?
LoRd_MuldeR
3rd June 2009, 21:50
What encoder do your refer to? x264? Xvid?
In MeGUI there is a button named "Queue Analysis Pass". I would like to know what program it uses when i does that.
I don't really understand what you mean with which encoder it refers to, but if x264 or XviD can do this, I would like to know.
LoRd_MuldeR
4th June 2009, 16:42
What exactly do you mean with "Analysis Pass" ???
I was assuming that you mean the first pass of a multi-pass encode (using the Xvid or x264 encoder).
Keiyakusha
4th June 2009, 16:46
I think he wants play-through-file thing which is used for example for 2-pass avisynth scripts.
LoRd_MuldeR
4th June 2009, 16:59
I think he wants play-through-file thing which is used for example for 2-pass avisynth scripts.
Do I understand you right? He simply wants to play/preview his Avisynth script? From the commandline MPlayer can do that:
MPlayer.exe "C:\Some Folder\My Script.avs"
Keiyakusha
4th June 2009, 17:23
Do I understand you right? He simply wants to play/preview his Avisynth script? From the commandline MPlayer can do that:
Yes, I guess so. Play script as fast as possible so different metrics can be calculated, logged and used in 2n pass.
I think he wants play-through-file thing which is used for example for 2-pass avisynth scripts.
Yes. What parameters should I use to make it as fast as possible?
I tried Mplayer but it's to slow.
rack04
4th June 2009, 21:03
Yes. What parameters should I use to make it as fast as possible?
I tried Mplayer but it's to slow.
What information are you hoping to gain from doing the "analysis pass"?
In my avisynth script I have:
Avisource("clip")
ref1 = imagesource("image1").ConvertToYV12()
ref2 = imagesource("image2").ConvertToYV12()
WriteFileIf(last,"file.txt", "(lumadifference(last,ref1)<30) || (lumadifference(last,ref2)<30)","current_frame",append=false)
So what I want to do is, is to compare every frame from the clip with the reference frames.
TinTime
4th June 2009, 21:26
I use avs2avi (http://www.moitah.net/)for this purpose:
avs2avi.exe input.avs -c null -o n
southsideringo
30th June 2021, 06:26
I use
for %%z in ("*.avs") do ffmpeg -i "%%z" -f null -
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.