Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-06-27

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:19 DrCode joined #openframeworks
01:19 vade joined #openframeworks
04:18 pizthewiz joined #openframeworks
04:37 SirDrMcHurtz joined #openframeworks
04:50 booltox joined #openframeworks
04:52 jedahan joined #openframeworks
05:03 Hurtzy joined #openframeworks
05:15 jedahan joined #openframeworks
05:55 kritzikratzi joined #openframeworks
06:02 DrCode joined #openframeworks
06:43 Hurtzy joined #openframeworks
06:51 Hurtzy joined #openframeworks
07:19 underdoeg joined #openframeworks
07:28 mhashmi joined #openframeworks
07:31 ncls joined #openframeworks
07:38 kritzikratzi joined #openframeworks
07:39 kritzikratzi joined #openframeworks
07:41 kritzikratzi joined #openframeworks
08:40 mhashmi joined #openframeworks
08:46 mhashmi joined #openframeworks
09:23 robot joined #openframeworks
09:50 mhashmi joined #openframeworks
10:04 mhashmi joined #openframeworks
10:09 mihi_tr joined #openframeworks
10:16 mhashmi joined #openframeworks
10:36 nylki joined #openframeworks
10:59 mhashmi joined #openframeworks
11:11 mhashmi joined #openframeworks
11:45 mhashmi joined #openframeworks
12:10 robot joined #openframeworks
12:18 DrCode joined #openframeworks
12:29 mhashmi joined #openframeworks
13:30 vade joined #openframeworks
14:04 DrCode joined #openframeworks
14:20 dantheman joined #openframeworks
14:33 NLS001 joined #openframeworks
14:44 vade joined #openframeworks
15:06 bluec joined #openframeworks
15:06 bluec hi everyone, i am really struggling with an OF project , I think I might cry!
15:07 bluec does anyone have a little bit of time to look over some code? it a fairly simple ofVideoPlayer app
15:08 bluec my app.cpp is here: http://pastebin.com/6eG6WHpV
15:10 jedahan joined #openframeworks
15:12 bluec basically, when the app loads it looks in an XML file for a bunch of videos, then loads each one into a vector of ofVideoPlayers called "videoPlayers". once this is loaded up, the user can flick between the different videos using a remote control. the big problem I am facing is that I am loading about 55 video files and they are mostly huge (about 300GB in total), so no suprise that after a while the app crashes as it can't all
15:13 mihi_tr bluec: do you need to load them on startup
15:14 bluec hi mihi_tr - well, i tried just having a single instance of ofVideoPlayer and closing/reopening the video files when they are requested, but as you can imagine this is really laggy
15:15 bluec so, having them pre-loaded really helps it to feel responsive. what i can't really figure out is why the memory used just keeps growing each time a new video is played... i wondered if there is some way to free up resources after a user changes channel?
15:17 bluec (and ofVideoPlayer doesn't behave nicely when I repeatedly open and close movies)
15:27 kritzikratzi joined #openframeworks
15:30 DrCode joined #openframeworks
15:49 alski joined #openframeworks
16:38 jedahan joined #openframeworks
16:45 nylki joined #openframeworks
16:45 GuidovanPossum joined #openframeworks
16:48 jvcleave bluec: you may want to disable textures on the videoplayers that are not playing - see http://www.openframeworks.cc/documentation/​video/ofVideoPlayer.html#show_setUseTexture
16:53 bluec jvcleave: thanks that is an interesting idea, i will try it
16:55 bluec jvcleave: it looks like i won't then be able to draw the movies on the screen... and it doesn't seem i can set the texture to true again after the video has loaded?
16:55 bluec nvmd, think i can set it to true again in update()
17:03 ncls joined #openframeworks
17:44 dantheman joined #openframeworks
17:50 NLS001 joined #openframeworks
17:56 dantheman joined #openframeworks
18:16 DrCode joined #openframeworks
18:31 NLS001 joined #openframeworks
18:36 nylki joined #openframeworks
19:28 NLS001 quit
19:49 kritzikratzi joined #openframeworks
21:00 thetimetraveller joined #openframeworks
21:26 loop_ joined #openframeworks
21:27 vade_ joined #openframeworks
21:30 nylki joined #openframeworks
22:09 vade joined #openframeworks
22:47 thetimetraveller joined #openframeworks
22:48 thetimetraveller joined #openframeworks
22:50 thetimetraveller anybody there?
23:13 sebllll_ joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary