1 Sep 2018 |
| @freenode_justatest:matrix.org joined the room. | 14:50:34 |
| @freenode_justatest:matrix.org left the room. | 14:51:16 |
| @freenode_ChanServ:matrix.org left the room. | 14:51:45 |
| @appservice-irc:matrix.orgchanged room power levels. | 14:59:33 |
| fladd joined the room. | 14:59:33 |
| Florian Krausechanged room power levels. | 15:02:33 |
| fladd left the room. | 15:10:21 |
| @freenode_justatest:matrix.org joined the room. | 15:50:47 |
Florian Krause | test | 15:51:03 |
| @freenode_justatest:matrix.org left the room. | 15:51:37 |
Florian Krause | Development discussion (including the GitHub integration) has been moved to #expyriment-dev:matrix.org | 16:00:05 |
11 Sep 2018 |
| @freenode_gjcooper:matrix.org joined the room. | 02:19:44 |
| @freenode_gjcooper:matrix.org left the room. | 03:12:48 |
| @freenode_gjcooper:matrix.org joined the room. | 04:48:30 |
| @matt75:matrix.org joined the room. | 09:25:33 |
| @freenode_gjcooper:matrix.org left the room. | 12:18:44 |
| @freenode_gjcooper:matrix.org joined the room. | 12:19:02 |
| @freenode_gjcooper:matrix.org left the room. | 12:19:27 |
19 Sep 2018 |
| @freenode_Lynn_:matrix.org joined the room. | 08:38:24 |
@freenode_Lynn_:matrix.org | Hello, i have a question about the expyriment library | 08:39:38 |
@freenode_Lynn_:matrix.org | is it possible to play two videos next to each other at the same time? | 08:40:58 |
@freenode_Lynn_:matrix.org | i already succeeded in showing two videos next to eachother, but since the resulution is high the second video is mostly offscreen. And it seems that the second video is constantly flickering | 08:56:22 |
@freenode_Lynn_:matrix.org | unfortunatly the Video class has no scale or resize method to see both video's on one screen. I was thinking to use two Rectangle's and then some how play one video in each Rectangle, but i can not find in the docs if/how this can be done. | 08:59:39 |
Florian Krause | hi Lynn_ | 09:34:51 |
Florian Krause | Expyriment does not allow for scaling the video. You could use moviepy or some external programm e to do that beforehand. | 09:35:21 |
Florian Krause | Concerning the simultaneous presentation of two videos, while it is possible, it will potentially (or most probably actually) lead to issues with timing accuracies. One approach could be to grab the current frame of each of the videos and then plot them onto a canvas, which you then consequenlty present. This, however, takes time, and you will most likely drop frames. | 09:36:47 |
Florian Krause | Again, the most easy solution here might be to just create a video with an external programme, that shows the two videos next to each other. | 09:37:15 |
Florian Krause | Instead of presenting both on a canvas, btw, you could also present the frame from the first video with present(update=False) and the second one with present(clear=False) . However, if you have a double buffer, you would need to do this twice of course. | 09:39:37 |
Florian Krause | If timing is absolutely crucial for your design, and if creating a single video beforehand is not an option, then the only solution I see is to have all of your video frames prepared as single images (and hence Expyriment Picture stimuli), which you can then present in any way you want, and be in control of your timing. This, however, will use a lot of memory (when preloading all those stimuli), or requires you to cleverly preload only the necessary parts somewhere in your design, where there is space to do that. | 09:40:34 |
Florian Krause | I hope this helped | 09:40:42 |