[Gambas-user] Application goes wierd when running large EXEC command (with pic)

lozza1978 piresl at ...626...
Tue Jan 1 20:41:27 CET 2008


Hi All,

in my application i have to run a large Exec command
The command is
EXEC  ["mencoder", "-oac", "lavc", "-ovc", "lavc", "-of", "mpeg",
"-mpegopts", "format=dvd", "-vf", "scale=720:576,harddup", 
"-srate", "48000", "-af", "lavcresample=48000", "-lavcopts", 
"vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:acodec=ac3:abitrate=192", 
"-ofps", "25", "-o", dvdmovie, Textbox1.Text] WAIT

the command above converts sound &  movie to DVD format
When running the command, my application seems to lockup, picture below
http://www.nabble.com/file/p14569382/snapshot9.png 

I have found during debug that the application is still processing the EXEC
command, but is there a way to stop the application to look as though it has
locked up?

It could have something to do with me using the WAIT on the EXEC line, but
if I do not use the wait the there is no way for the end user to know when
the process has finished.

Can anyone help shed some light on this for a newbie?
thanks for reading.


-- 
View this message in context: http://www.nabble.com/Application-goes-wierd-when-running-large-EXEC-command-%28with-pic%29-tp14569382p14569382.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list