Identifying values for arguments in asp.net c# -
i'm searching online converting video , capturing thumbnail image after uploading video file. found similar link http://ramcrishna.blogspot.com/2008/09/playing-videos-like-youtube-and.html there's want clarify on it. on argument section declared string value shown
string filargs = "-i\"" + inputfile + "\" -ar 22050 -ab 32 -f flv -s 320×240 -aspect 4:3 -y \"" + outputfile + "\"";
i want know exact actual value 'inputfile' , 'outputfile' variable declared on argument string? thanks...
get environment.commandline , parse strings such as:
string[] commandlineparts = environment.commandline.split(' ');
now can iterate through strings in array , parse out process, based on argument starting "-i\" or "-y\"
Comments
Post a Comment