On Thursday 30 October 2003 10:47, Eirik Meland wrote:
> den_RDC <[EMAIL PROTECTED]> writes:
> > 1 - Patch mencoder. Shouldn't be very hard if u know C (i don't ->
> > problem :) . By far the best solution.
> > 2 - Put the frameno.avi in freevo's cwd (not changing it ofcourse). Very
> > nasty, we don't even know if it's writable or if there is sufficient
> > diskspace (and if there is we could be flooding the root fs, wich also
> > classifies as nasty)
> > 3 - Find a way to do a cwd in a child without changing the parent cwd. My
> > only idea left to do this is to execute a shell interpreter and executing
> > a "cd /whatever" before executing mencoder. Also not very clean, makes it
> > hard to detect wheter mencoder finished (i presume the shell will stay
> > alive), and probably raises a ton of other potential issues.
> > 4 - No dvdbackup :(
>
> 5 - Making it a Daemon plugin with its own cwd that doesn't affect the
> rest of freevo?
>
> Could you post the mencoder line you are using?
>
> > To finish up, a random quote from "The Beatles" : Help!
>
> A _random_ Beatles quote:
> "Man, you been a naughty boy, you let your face grow long.
>  I am the eggman, they are the eggmen.
>  I am the walrus, goo goo g'joob."

I guess you are saying "make the os.chdir() call in a separate thread so it 
won't affect the rest of freevo?". Making it a deamonplugin would be very 
hard from a functional basis, and anyway, the code that starts my mencoder 
process and handles the in/output is already located in a separate thread, 
and that doesn't stop the os.chdir call from affecting all other freevo 
processes. If this isn't what you intended to say, please hit me again untill 
i get it :)

Anyway, i just saw freevo's own Popen class gained a cwd attribute :)
Gonna try that

Thx for the response
den_RDC



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to