Hello everyone i have set up virtual dub on my pc and server pc and i have the command line which is working on both pcs but, im unable to get it working over my server
i have done other stufff in asp via the command line.
so far all i can get to work when i do it over asp is for virtualdub to open in the proccess.
Code:<% Dim oShellb,oShellc, BCommanda ,CCommanda set oShellb = server.createobject("wscript.shell") set oShellc = server.createobject("wscript.shell") a1 = "e:\web\www_video\Video\tag\t2.vcf" a2 = "e:\web\www_video\Video\test.avi" a3 = "e:\web\www_video\Video\testhello898.avi" a6 = "“" 'left " a5 = "”" 'right " BCommanda = "virtualdub.exe /s "&a1&" /p "&a6&""&a2&""&a5&" "&a6&""&a3&""&a5&" /x" CCommanda = "virtualdub.exe /r /x" oShellb.Run BCommanda oShellc.Run CCommanda %>
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
Running interactive desktop applications from a web server is never a good idea.
Nevertheless, a few things to look at:- Does your IIS account (IUSR_machinename)have executable rights for virtualdub? I presume yes, as you say you see the virtualdub process
- Does your IIS account have access to the files you feed into VirtualDub?
/Mats -
Originally Posted by mats.hogberg
also ive put it in the system32 folder another 2 other programs ive used which are accessable ffmpeg & menconder and they convert stuff perfectly over asp. -
In what way does your approach fail? You say VD starts, but then? Nothing happens at all?
What do you mean bythe actual command which i then copy into the servers cmd
At times, we've been forced to resort to running a GUI app (or service) that watches a dir for uploads (done via HTTP), then starts the standalone app once the upload is complete.
/Mats -
What i want to happen is for the command to add a job to vd and then i can later run another command telling the program to run all of the jobs.
What i get is nothing just a blank page with no errors, and process appearing on the server.
by the actual command i mean, ive simply done a response.write"Commandb" which displays teh command which is ment to be being run which for test only reasons i then copy that code and input that into the servers command line via windows and it adds a job.
nah im not logged onto my server as a IUSR_machinename, least i dont think so, ive got the server in the other room which is frickin freezing nd i have 2 keep goin in their 2 check it to see if the jobs been added.
gonna try find the app/system log for clues but dont know where to look . do i look in VD ? -
No, I meant the event log, under Admin tools. But maybe even VD creates a log that may contain some useful info.
/Mats -
got a error saying
Application popup: virtualdub.exe - Application Error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.
so i changed virtualdub.exe to vdub.exe in my command -
still i dont get nothing, what makes you think its an access violation problem as i can access and convert via other programs.
-
Maybe it can't be run without being able to show the GUI? Not all apps can be run from IIS.
/Mats -
In the VD help guide it says this
Because virtualdub.exe and veedub64.exe are GUI programs, the command interpreter in Windows will not wait for them to exit before returning. In addition, its main window will appear as usual. This can be changed by using the vdub.exe or vdub64.exe front ends, which launch the main application in a special command-line mode.
vdub /i GetVideoLength.script foo.avi
When the command line front end is used, VirtualDub automatically starts with its main window minimized (but not hidden), and automatically exits when it has completed processing (implicit /x). In addition, log output is diverted to standard output.
which if you CBA to read it tells me it can be run without a GUI and ive tried it in teh command starting wit vdub.exe and it runs it all without teh gui. -
When the command line front end is used, VirtualDub automatically starts with its main window minimized (but not hidden)
AFAICS, you have 2 options: Use something else (ditch VirtualDub for this) or create a standalone (always running on the web server) app the IIS somehow can talk to, that in turn launces VirtualDub.
/Mats -
ok any ideas on how i would go about createing a standalone (always running on the web server) app the IIS somehow can talk to, that in turn launches VirtualDub.
-
The simplest way would, as I previously indicated, to have IIS (your web app) place a file (let's say an AVI) in some directory your standalone app watches.
When it finds a file, it starts VirtualDub with the file (and possibly some other) as parameter.
Another (and more elegant) approach would be to communicate thru a DB table, where IIS adds "jobs", and the standalone takes care of the jobs and runs VD.
/Mats
Similar Threads
-
Virtual dub
By santolina in forum Newbie / General discussionsReplies: 4Last Post: 22nd Jul 2009, 13:48 -
Virtual Dub problem
By rocka in forum EditingReplies: 3Last Post: 2nd Jan 2009, 03:46 -
I have a virtual dub question.
By mmmipa in forum AudioReplies: 6Last Post: 12th Mar 2008, 03:34 -
help with virtual dub
By Remyisme in forum Newbie / General discussionsReplies: 7Last Post: 30th Jan 2008, 15:36 -
Some questions regarding Virtual Dub
By smackyourfupa in forum DVD RippingReplies: 3Last Post: 5th Nov 2007, 06:00