On Apr 5, 3:25 pm, "Henrik Lied" <[EMAIL PROTECTED]> wrote:
> > > I'd still love to get a working example of my problem using the
> > > Subprocess module. :-)
>
> > The same thing:
> > p = subprocess.Popen(["mencoder", "/users/...", "-ofps", ...])
>
> That example looked great at first, but on a c
Henrik Lied wrote:
> > Does the command work OK from the console?
> > Try from the python interpreter, using P_WAIT, and inspect the returned
> > value.
> That's what I've done. P_WAIT returned a the PID 127 - but there's
> still no sign of the FLV-file, I'm afraid.
This does not look like a Pyth
On Apr 6, 12:09 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Thu, 05 Apr 2007 18:53:04 -0300, Henrik Lied <[EMAIL PROTECTED]>
> escribió:
>
> > On Apr 5, 11:39 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
> >> v = os.spawnl(os.P_NOWAIT, "mencoder", "mencoder",
> >> "/Users
En Thu, 05 Apr 2007 18:53:04 -0300, Henrik Lied <[EMAIL PROTECTED]>
escribió:
> On Apr 5, 11:39 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> wrote:
>> v = os.spawnl(os.P_NOWAIT, "mencoder", "mencoder",
>> "/Users/henriklied/test.mov", "-ofps", "25", "-o", "...")
>>
> Thanks for your reply
On Apr 5, 11:39 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Thu, 05 Apr 2007 18:19:56 -0300, Henrik Lied <[EMAIL PROTECTED]>
> escribió:
>
> > So, I thought to myself that spawnv would be a good fit for this. The
> > problem is that it doesn't fire of the command.
>
> > Here's my test s
On Apr 5, 11:33 pm, [EMAIL PROTECTED] wrote:
> On Apr 5, 4:19 pm, "Henrik Lied" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi there!
>
> > I'm trying to convert a video in a background process.
> > The scenario I'm after:
> > 1. The user uploads a video
> > 2. The video is saved in my media directory, an
En Thu, 05 Apr 2007 18:19:56 -0300, Henrik Lied <[EMAIL PROTECTED]>
escribió:
> So, I thought to myself that spawnv would be a good fit for this. The
> problem is that it doesn't fire of the command.
>
> Here's my test script: http://dpaste.com/hold/7981/
>
> Why won't this work? The while-loop
On Apr 5, 4:19 pm, "Henrik Lied" <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I'm trying to convert a video in a background process.
> The scenario I'm after:
> 1. The user uploads a video
> 2. The video is saved in my media directory, and the database is
> populated with the references
> 3. The vide
Hi there!
I'm trying to convert a video in a background process.
The scenario I'm after:
1. The user uploads a video
2. The video is saved in my media directory, and the database is
populated with the references
3. The video gets converted to FLV - but the user shouldn't have to
wait around for th