[05:03] *** wyleu has joined #kamaelia |
[06:07] *** wyleu has joined #kamaelia |
[06:09] *** Lawouach has joined #kamaelia |
[07:56] *** BCarlyon|ubuntu has joined #kamaelia |
[07:57] *** MS- yawns |
[08:38] *** Lawouach has joined #kamaelia |
[08:49] *** wyleu has joined #kamaelia |
[09:19] < wyleu> What is GStreamer? |
[09:27] < MS-> "http://en.wikipedia.org/wiki/GStreamer" |
[09:27] < MS-> GStreamer is a multimedia framework written in the C programming language with the type system based on GObject. GStreamer serves a host of multimedia applications, such as video editors, streaming media broadcasters, and media players. |
[09:27] < MS-> Designed to be cross-platform, it is known to work on Linux (x86, PowerPC and ARM), Solaris (x86 and SPARC), Mac OS X, Microsoft Windows and OS/400. |
[09:27] < MS-> GStreamer has bindings for programming-languages like Python, C++, Perl, GNU Guile and Ruby. GStreamer is free software, licensed under the GNU Lesser General Public License. |
[10:45] *** Uraeus has joined #kamaelia |
[10:59] *** vmlemon_ has joined #kamaelia |
[11:11] *** vmlemon_ has joined #kamaelia |
[11:12] < vmlemon_> Hi |
[11:33] *** vmlemon_ has joined #kamaelia |
[13:35] *** vmlemon_ has joined #kamaelia |
[15:16] *** Chong- has joined #kamaelia |
[15:18] < Chong-> afternoon, all. |
[15:18] < Chong-> Any know if pygame has any function to load image from an url instead of local file? |
[15:19] < vmlemon_> Hi |
[15:19] < Chong-> s/Any/Anyone |
[15:25] *** vmlemon_ assumes someone will answer later :| |
[15:25] < Chong-> hope so :-) thanks, vmlemon_. |
[15:32] *** vmlemon_ has joined #kamaelia |
[16:25] *** vmlemon_ has joined #kamaelia |
[16:49] < MS-> (17:35:46) Chong-: Any know if pygame has any function to load image from an url instead of local file? |
[16:49] < MS-> No, it doesn't. You'll need to grab it directly. |
[16:55] < Chong-> MS-: Thanks. what is the easiest way to do it? |
[17:03] < Chong-> MS-: I just saw urllib, I think urlopen should do the job. I'll try it first. |
[17:17] < vmlemon_> I'm not too sure, but can't you use one of the HTTP components with LikeFile and pass that into PyGame? |
[17:20] < Chong-> vmlemon_: thanks, I'll have a look :-) |
[17:20] < vmlemon_> It was just an idle thought, and I have no idea if it'll work or not |
[17:20] < vmlemon_> It's always with a try, that said... |
[17:21] < Chong-> vmlemon_: yep. thanks. |
[17:22] < vmlemon_> No problem |
[17:22] *** vmlemon_ throws kamlogbot some cat biscuits ;) |
[17:39] < MS-> Chong-: The kamaelia HTTP components spring to mind as the most sensible option |
[17:48] < Chong-> MS-: thanks. just managed to do it by using urllib.urlopen and cStringIO.StringIO. I'll try kamaelia HTTP components later. |
[17:50] < MS-> You realise that you have to now put that code inside a thread? |
[17:50] < MS-> Since urllib is blocking? |
[17:50] *** vmlemon_ just had an idea for a HTTP server component-based system that takes a HTTP URL like /record/outputfile.ts?freq=498.000000&pid=0x2000, tuned the DVB component as specified and records it in the named file, until the user goes to the URL /record/stop/outputfile.ts |
[17:50] < MS-> (hence the reason for the HTTP components existing) |
[17:51] < MS-> vmlemon_: That's an interesting idea |
[17:53] < vmlemon_> (it could then make the browser download the finished TS file after the stop request is issued) |
[17:53] < vmlemon_> In theory, you could also have it handle named channels, too |
[18:04] < MS-> yep |
[18:04] < Chong-> MS-: not sure what you mean "urllib is blocking". other parts of the code can still run after calling urllib.urlopen |
[18:05] *** MS- is in the middle of stuff right now |
[18:05] < MS-> urllib is blocking though |
[18:05] < MS-> (just because one operation "returns" immediately doesn't mean it's not blocking) |
[18:08] < Chong-> MS-: I see. sometimes bad network connection would cause it to block the whole program |
[18:12] < Chong-> and this is one advantage of kamaelia components :-) |
[18:14] < MS-> Yep - can either fling urllib into a thread (easily) or use the http components |
[18:16] *** MS- is getting bored of going through the stuff he's going through at the moment |
[18:16] < MS-> it's taking forever |
[18:17] < MS-> (started about a week ago) |
[18:17] < vmlemon_> If only Kamaelia could handle/automate physical tasks like filling in paperwork, and other menial things ;) |
[18:20] < Chong-> MS-: thanks, i'll try both. Can the outbox data of kamaelia HTTP components be handled by StringIO? |
[18:20] < MS-> vmlemon_: I'd prefer that at the moment |
[18:21] < Chong-> vmlemon_: it needs a hardware kambot ;) |
[18:21] < MS-> Chong-: "(20:22:06) ***MS- is in the middle of stuff right now" |
[18:21] < vmlemon_> Hehe |
[18:21] < MS-> (sorry) |
[18:21] < Chong-> MS-: sorry :/ |
[18:22] < MS-> (believe me, I'd rather be answering your q's, packaging up the new release etc) |
[18:25] < Chong-> hehe, poor MS- ;) |
[18:26] < vmlemon_> Cool, http://googletalk.blogspot.com/2007/12/merry-christmas-god-jul-and.html |
[18:34] < Chong-> vmlemon_: very interesting. Not aware of google talk before :/ |
[19:31] *** MS- starts his forager going now on a third different machine |
[19:32] < MS-> sigh |
[20:57] *** vmlemon_ has joined #kamaelia |
[22:56] *** MS- has parted #kamaelia |