Hello, does anyone know more about dvdbackup plugin. Is it in CVS ? Is it maintained ?
Thanks, Robert. ----- Original Message ----- From: "den_RDC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 8:18 AM Subject: [Freevo-devel] dvdbackup : Desperate, need some help > I have the following problem with implementing dvdbackup, and i can't get it > under wraps (and its giving me a headache too). > > It comes down to this : I encode the audio first, using mencoders capability's > to create a frameno.avi (this is a special avi to mencoder). When the video > encoding starts, mencoder looks up this file to merge it on-the-fly and also > uses it to pull some data about lengt, frames and stuff. The catch : mencoder > can't be told where to find this file. It searches for it in the current > workind directory (cwd). If it's not there it will continue, but will not > merge audio and you end up with a soundless file (or with a copy of the AC3 > stream of the dvd track your ripping). > > Changing the cwd is not hard (os.chdir() does this). But theres a real hard > catch to this, it changes the cwd of the parent process too, even when > executed in a thread. This is bad because if freevo's cwd is changed, it > starts forgetting where image files are after a few seconds (all relative > paths become unusable). I thought i found a module on the net wich did it the > right way, but after redisigning dvdbackup to use that code i found it simply > saves the parent cwd, changes it and puts it back after a process is > executed. Nasty as hell. > > So i have the following solutions, but i can't do them on my own (wich is why > i wrote this lenghty email). > > 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 :( > > To finish up, a random quote from "The Beatles" : Help! > > Mvg > 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 ------------------------------------------------------- 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