Duncan- I know my Python is not great, but I have been munging my way through the videothumb.py code and it looks like if you get into the snapshot routine it only works with existing image files as I can not find where it actually calls mplayer though it does some neat magic image size. From the comments it would a appear that the main loop is only called when videothumb.py is _not_ imported and the main loop is the only place where mplayer is actually called to do any work.
evan On 9/14/07, Evan Hisey <[EMAIL PROTECTED]> wrote: > Duncan- > I am not getting any more in the log. But the log file is strangely > named, it is called '-0.log'. My guess is then that something is not > getting called quite right yet. New data point, if I touch a > filename.mpeg.raw.tmp then it complains about not being able to open > the file. Iam running the test as root so I should be able to touch > anything ( this a devoted dev box so breaking it is not really an > issue). Just also thought about this, I am running python 2.5. I > wonder if that is going to be the source of the problems. > > Evan > > On 9/13/07, Duncan Webb <[EMAIL PROTECTED]> wrote: > > Evan Hisey wrote: > > > Duncan- > > > a little more digging in my thumbnail problem. If i run the mplayer > > > command that creates a thmbnail (I dug it out of the videothumb.py) : > > mplayer -nosound -vo png -frames 8 -ss 360 -zoom > > > /mnt/freevo/06-15_20_00_Stargate_Atlantis_-_Vengeance.mpeg , mplayer > > happily produces the 8 video png files. > > > From what I see in the logs versus what I think the videothumb.py > > > should be printing based on the if statements, it looks like freevo is > > just skipping a step. I think I should be getting either an 'unable to > > write file' message or a "error creating capture for %s" % > > > Unicode(filename) message > > > > Attached is a version of videothumb with more debugging information in. > > /usr/lib/python2.4/site-packages/freevo/util/videothumb.py > > (your install path may vary) > > > > Run it with: > > > > freevo prompt > > import util.videothumb as v > > v.snapshot('/freevo/tv/20061014_2250_Musicnight:_U2_-_Zoo-TV_-_Live_from_Sydney_1993.mpeg') > > > > and check the log that is output. With my config I get a > > /var/log/freevo/videothumb-0.log > > > > Duncan > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Freevo-devel mailing list > > Freevo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel