"Lad" <[EMAIL PROTECTED]> escribió en el mensaje 
news:[EMAIL PROTECTED]

> mpeg = "mpeg.exe -i %s codec mp3  -s 320x240 %s" % (sourcefile,
> targetfile)
> stdin, stdout, stderr = os.popen3(mpeg)
> mpegresult = stdout.read()
> mpegerrors = stderr.read()
> stdin.close(); stdout.close(); stderr.close()
> print ffmpegerrors
> print ffmpegresult
> #########
>
> It works  if the sourcefile is small but if it is large( 30MB) it does
> NOT work.It hangs or the file is not converted in full.
> Any advice how I should change the program?

What do you mean by "NOT work"?
Does it "work" if you execute the same line from the command prompt?

-- 
Gabriel Genellina 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to