Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
On 1/12/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote: > On Fri, 2007-01-12 at 09:45 +0900, mike lewis wrote: > > > > I think we should just tell everyone to use xine. :) > > > > > > Me, not a fan of xine. > > > > > I don't like xine either.. > > Just wondering, for those who don't like xine, why is that? > > Well; for me.. It's the limited support for mga_vid. It used to be the limited codec support. But I haven't found a file xine couldn't play on my PC for a while.. My ubuntu edgy implemntation of xv seems broken. I'm over the DIY style of Gentoo; but I couldn't get X to compile on Gentoo either. I have a G400 which works great. But, in vidix (in player or xine) | (with mga_vid support) my screen has lots of artifacts. With mplayers mga or xmga there are no artifacts. And xine only supports my card under vidix. By supports my card I mean hardware scaling. Mike > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
On Fri, 2007-01-12 at 09:45 +0900, mike lewis wrote: > > > I think we should just tell everyone to use xine. :) > > > > Me, not a fan of xine. > > > I don't like xine either.. Just wondering, for those who don't like xine, why is that? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
> > I think we should just tell everyone to use xine. :) > > Me, not a fan of xine. > I don't like xine either.. But I do use if for DVD support. And really; my 3 uses of freevo are now: TV, Music, and DVD's or DVD-Rips of my own movies. WHich means I don't have alot of media that needs mplayers special skills.. That being said; I like mplayers special skills. But I really don't mind if we get stuck on xine.. M 2 cents. Mick > > > > > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > > Freevo-devel mailing list > > Freevo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Crashing record server [AttributeError: 'bool' object has no attribute '__dict__']
Hi, Using r8956 of Freevo rel-1, I get the following stack trace and error when trying to add a new favourite: 8< 2007/01/09 21:56 GMT [HTTPChannel,43,127.0.0.1] 127.0.0.1 - - [09/Jan/2007:21:56:20 +] "POST / HTTP/1.0" 200 2227 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 2007/01/09 21:56 GMT [HTTPChannel,44,127.0.0.1] addFavorites: actually adding "Relocation, Relocation" 2007/01/09 21:56 GMT [HTTPChannel,44,127.0.0.1] SAVE: saving cached file (/var/cache/freevo/record_schedule.xml) 2007/01/09 21:56 GMT [HTTPChannel,44,127.0.0.1] SAVE: ScheduledRecordings has 2 items. 2007/01/09 21:56 GMT [HTTPChannel,44,127.0.0.1] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 557, in requestReceived self.process() File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 153, in process self.render(resrc) File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in render body = resrc.render(self) File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 118, in render defer.maybeDeferred(function, *args).addErrback( --- --- File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 107, in maybeDeferred result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line 1119, in xmlrpc_addEditedFavorite unjellyFromXML(title), chan, dow, mod, priority, allowDuplicates, onlyNew) File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line 761, in addEditedFavorite self.saveScheduledRecordings(scheduledRecordings) File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line 263, in saveScheduledRecordings jellyToXML(scheduledRecordings, f) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 424, in jellyToXML document = jellyToDOM(object) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 406, in jellyToDOM document = dj.jelly(object) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 397, in jelly node = self.jellyToNode(obj) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 388, in jellyToNode n = self.jellyToNode(state) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 368, in jellyToNode n2 = self.jellyToNode(v) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 368, in jellyToNode n2 = self.jellyToNode(v) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 388, in jellyToNode n = self.jellyToNode(state) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 368, in jellyToNode n2 = self.jellyToNode(v) File "/usr/lib/python2.4/site-packages/freevo/util/marmalade.py", line 387, in jellyToNode state = obj.__dict__ exceptions.AttributeError: 'bool' object has no attribute '__dict__' >8 This seems remarkably similar to a similar problem back in 2003?! http://sourceforge.net/mailarchive/forum.php?thread_id=3345090&forum_id=9234 Any thoughts? TIA, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Original image size not showing
Chandan Pitta wrote: >> A bit more work than I expected to update the cache so that it works in >> the same way as normal cache. Especially, as I hadn't committed Wout's >> patch until too late, meaning that I had to apply the patch by hand. >> >> Let's hope that I didn't break anything else in the process. Quite a few >> files changed to this and a few function names too. > > Actually a few things broke ;). I won't blame you since I know how it > is to apply patches to the same file on the same revision from various > people. You did a nice job in putting things back again. However I saw > the following issues and fixed them > > 1. If you delete a cached image and then use webserver and click on > the image, you will see that the image is scaled to 200x200 (with > aspect) in the pop-up window. This happens because the return value of > fileops.create_www_thumbnail() is the size of the thumbnail image. I > fixed it to return the size of the original image. > > 2. The fileops.get_www_thumbnail_size() returns the size of the image > and not the size of the thumbnail. Anyway we don't use that method > anywhere, so I deleted that. Ok > 3. Images files in cache have double extensions, like my_image.png.png > and in some extreme cases like for gif files there are 3 extensions, > like my_image.gif.gif.jpg. So I made some changes so that the cached > image filename will be exactly the same as the original image except > for the case of gif files. The double extensions are important for cache when removing cached images for images that no longer exist, we need to get the exact filename. The bugs in imlib2 incorrectly saving files with upper case and .gif extensions. >> One thing that is puzzling me is why is it slow, any idea. > > What is slow? I lost the context here. Do you mean the "freevo cache" > or the webpage loading or something else? The webserver loading pages is very slow. I think we need minimize the use of metadata.parse as it is quite slow and minimize opening images, this is slow too. The height and width of images seems to be already cached as info['height'] and info['width']. I haven't changed this but have left a print in there so you can see what is happening. >> >> The same fix that you did to bring the window to focus for the images >> could be applied to the remote on the index page. > > I did this fix also. Now it is your turn to test :P I can't see the use of the play, pause and stop buttons on the index page, we can get rid of these. I shall commit the changes now. Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Popcorn player detect
"Andre Henrique Campos" wrote: > File "/usr/lib/python2.4/site-packages/kaa/popcorn/backends/xine/player.py", > line 40, in ? > import kaa.xine as xine > ImportError: No module named xine > Evas object dealloc: image Fixed. Dischi -- If you receive something that says 'Send this to everyone you know,' pretend you don't know me. (Roy Johnson) pgpUx16D89Vh4.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] Commercial Detection (proof of concept)
Sorry but I was having some queue issues, this is a more finished version. Patched against 1.7 svn. On 1/10/07, Justin Wetherell <[EMAIL PROTECTED]> wrote: Ok, got a working copy. If anyone would like to give it a try and let me know how well it works for your cable company. It's built against 1.7 svn. Attached in the tarball: tar -xvf commercialDetection.zip src/commdetectcore.py src/helpers/commdetectserver.py src/video/commdetectclient.py commdetect.patch [EMAIL PROTECTED]:/usr/local/src/freevo-1.7# patch -p1 < commdetect.patch You can start the server with: ./freevo commdetectserver start After a scheduled recording has finished, it'll automatically be queued to make a edl file generated. You will also need to add the following to you local_conf: REMOVE_COMMERCIALS = True P.S. Duncan, could you take a look; i'd like to eventually get this into the current SVN and want to know if it's upto snuff. On 1/10/07, Justin Wetherell <[EMAIL PROTECTED]> wrote: > > I'll write it against 1.7-svn but I envision it being a server like the > rss or encoding server, so only a few lines of code will need to be added to > the actual Freevo base code. > > I manually editted an edl file for mencoder and the blackframes were > detected correctly (and skiped the commericals correctly), i now have to > find some sort of pattern, so I can automate the process. > > On 1/10/07, Evan Hisey < [EMAIL PROTECTED]> wrote: > > > > Justin- > >Great. which branch will it be against? > > > > Evan > > > > On 1/10/07, Justin Wetherell <[EMAIL PROTECTED] > wrote: > > > With the latest release of mplayer ( MPlayer-1.0rc1) there is a new > > video > > > filter called "blackframe". Which, as the title might give it away, > > it can > > > be run against a previously recorded mpeg and spit out the frames > > which it > > > thinks have are atleast 98% black. Mplayer also has a feature (I > > dont know > > > if it's new or not) called "edit decision list" which takes in a > > begin time, > > > end time, and action (skip or mute). Given these two features, I > > believe we > > > should be able to work commerical detection into Freevo in the near > > future. > > > I am currently working on a proof of concept at the moment and will > > release > > > a patch as soon as possible. > > > > > > Example command to find blackframes (it takes about 40 minutes for > > an hour > > > show on my cpu): > > > /usr/local/bin/mencoder -ovc lavc -nosound -vf blackframe > > > /opt/media/tv/01-08_13_00_Days_of_our_Lives.mpeg -o > > > /dev/null | grep vf_blackframe > blackframes.txt > > > > > > Which produces a file like this: > > > Pos: 252.6s 7571f ( 7%) 45.33fps Trem: 36min 345mb A-V:0.000[803:0] > > > vf_blackframe: 7569, 99%, B (I:7562) > > > Pos: 252.6s 7572f ( 7%) 45.33fps Trem: 36min 345mb A-V: 0.000[803:0] > > > vf_blackframe: 7570, 99%, B (I:7562) > > > Pos: 252.7s 7573f ( 7%) 45.33fps Trem: 36min 345mb A-V:0.000[803:0] > > > vf_blackframe: 7571, 100%, P (I:7562) > > > > > > The example edl file should looks like this (0=skip, 1=mute): > > > 252.6 252.7 0 > > > > > > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > > opinions on IT & business topics through brief surveys - and earn > > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > > > ___ > > > Freevo-devel mailing list > > > Freevo-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > > > > > > > > > > > > > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > > Freevo-devel mailing list > > Freevo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > > > commdetect.tar Description: Unix tar archive - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
On 1/11/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote: > On Thu, 2007-01-11 at 13:16 +0100, Dirk Meyer wrote: > > > Yay! Soo then. How can I test this? Is freevo2 ready to use these > > > features? > > > > Not yet > > And judging by the initial response to my first patch submission (which > was just a very small patch and really had little to do with > vf_overlay), this is going to be a lng arduous battle. I know how it is at mplayer-dev-eng. The reponses from mplayer team are how shall I say, not very encouraging. I posted a couple of very minor patches and I decided never to fix anything in mplayer and even if I did, never to submit patches. I am still in the list but I am mostly a quiet member looking for interesting patched like your vf_overlay. I love programming for Freevo however. Very encouraging and easy too (python). And recently it picked up a lot of momentum for 1.x branch. I see that the initial response was not very encouraging, but please continue to push it and don't do what I did. Like they say "Don't do what I do. Do what I say" ;). I see that Ben is using his powers (as promised) to push vf_overlay. > > I think we should just tell everyone to use xine. :) Me, not a fan of xine. > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
On Thu, 2007-01-11 at 13:16 +0100, Dirk Meyer wrote: > > Yay! Soo then. How can I test this? Is freevo2 ready to use these > > features? > > Not yet And judging by the initial response to my first patch submission (which was just a very small patch and really had little to do with vf_overlay), this is going to be a lng arduous battle. I think we should just tell everyone to use xine. :) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] Popcorn player detect
Hello all, test.py - import kaa.canvas canvas = kaa.canvas.X11Canvas((640,480)) canvas.add_child(kaa.canvas.Image('images/background.jpg')) canvas_movie = kaa.canvas.Movie() canvas.add_child(canvas_movie) movie = 'abc6.avi' canvas_movie.open(movie) canvas_movie.play() kaa.main() - Get the error: - $ python test.py Traceback (most recent call last): File "test.py", line 15, in ? play(movie) File "test.py", line 11, in play canvas_movie.open(movie) File "/usr/lib/python2.4/site-packages/kaa/canvas/movie.py", line 157, in open self._open(mrl) File "/usr/lib/python2.4/site-packages/kaa/canvas/movie.py", line 175, in _open self._player.open(mrl) File "/usr/lib/python2.4/site-packages/kaa/popcorn/generic.py", line 312, in open cls = self._get_player_class(player) File "/usr/lib/python2.4/site-packages/kaa/popcorn/generic.py", line 166, in _get_player_class for p in backends.manager.get_all_players(): File "/usr/lib/python2.4/site-packages/kaa/popcorn/backends/manager.py", line 195, in get_all_players import_backends() File "/usr/lib/python2.4/site-packages/kaa/popcorn/backends/manager.py", line 61, in import_backends player_id, cls, get_caps_callback = import_backend() File "/usr/lib/python2.4/site-packages/kaa/popcorn/backends/xine/__init__.py", line 76, in import_backend from player import Xine File "/usr/lib/python2.4/site-packages/kaa/popcorn/backends/xine/player.py", line 40, in ? import kaa.xine as xine ImportError: No module named xine Evas object dealloc: image - I've patched Mplayer with 'vf_overlay_outbuf-2007-01-10-TESTING.diff' and updated kaa today (rev:2377). Evas: 0.9.9.032 Cheers, André - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel
Re: [Freevo-devel] vf_overlay/outbuf 2007-01-07 release
"mike lewis" wrote: > On 1/11/07, Jason Tackaberry <[EMAIL PROTECTED]> wrote: >> On Sun, 2007-01-07 at 14:10 -0500, Jason Tackaberry wrote: >> > This fixes bugs exposed by recent commits in kaa.popcorn. >> >> Only it doesn't do so correctly. This one, I hope, does. >> >> http://urandom.ca/mebox/downloads/patches/vf_overlay_outbuf-2007-01-10-TESTING.diff >> >> Note that I have begun the process on the mplayer-dev-eng list of >> getting this patch merged. >> > Yay! Soo then. How can I test this? Is freevo2 ready to use these features? Not yet Dischi -- Sig lost. Core dumped. pgpnfvwk9XOsG.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel