Log in

View Full Version : Use Writefilestart without a media player?


Mr_Odwin
16th December 2005, 15:49
I've been using the following script:


DirectShowSource("C:\Documents and Settings\James\My Documents\Vid1.avi")
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "Width")
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "Height", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "Framecount", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "Framerate", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "Round(Framerate*1000)", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "IsFrameBased", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "IsFieldBased", True)
WriteFileStart("C:\Documents and Settings\James\My Documents\FAVC\Working Folder\Title3Info.txt", "GetParity", True)
Trim(0,-1)


I use this to obtain all the video information that I need and it only plays 1 frame when I open it in whatever media player I like, or vdub, etc. Is there a way to run this script without sending it to a media player? All I want is the info above in a text file and not have to use a big ole media player. Do I have to? Please say I don't.

Richard Berg
16th December 2005, 18:19
http://www.avs2avi.org/

Mr_Odwin
17th December 2005, 10:24
http://www.avs2avi.org/

Cool, that does the job great. Much appreciated.
I also found that avs2wav could do it, but obviously procuced a wav file too.