--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/9643c273-05fa-49b8-bb58-9e5bd7df11e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Vincent,I have to say I have never seen anything like this before, very intriguing.Can you tell me what happens if you start and stop bonsai video recording first, then start blackrock, and finally start bonsai video recording again? Basically I am trying to understand if there is any kind of resource allocation "warmup" behavior that could be revealed by doing one successful video recording cycle before trying ot operate both systems.Also you mentioned that starting Bonsai first solves the issue. Is this also true in the long-term, i.e. can you do long-term recordings (> 10 minutes) in this way? Are you running bonsai 64-bit?Finally, can you send the bonsai workflow you are using for this, so I can have ideas about what are the components involved?Later we can try replacing the video recording strategy to see if it helps.
On 6 October 2017 at 16:31, Vincent Prevosto <prevo...@gmail.com> wrote:
Hi everyone,I have an issue with a new setup where I record high speed video with Bonsai and ephys data with Blackrock Cereplex on the same computer.Each software works fine on its own, but when performing the two operations simultaneously, the memory load goes up gradually in jigsaw fashion until everything crashes in under 5 minutes (see attached picture). If I stop the video recording, the memory leak stops, and when I close Bonsai, memory load goes back to baseline (the reverse is not true: Closing Blackrock Cereplex does not free up memory).Even more puzzling, this issue only occurs if Bonsai was opened after Blackrock. This sounds like a resource allocation issue. Has anyone encountered similar problems? Any idea how this could be fixed (besides starting Bonsai first, or adding more RAM)?Thanks!
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/4de5cedd-0753-4310-bcfe-e6af8c10280a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/16544466-3cbd-4675-97f1-bf69f88a0535%40googlegroups.com.
ffmpeg -y -f rawvideo -vcodec rawvideo -s 640x480 -r 500 -pix_fmt gray -i \\.\pipe\videotest -vcodec mpeg4 out.avi
\\.\pipe\videotest: No such file or directory
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/0619028d-45d0-497d-8529-a0ff809110e1%40googlegroups.com.
os.system(str.format(r'ffmpeg -y -f rawvideo -vcodec rawvideo -r 500 -s 480x640 -pix_fmt gray10be -i {0} -vcodec mpeg4 {1}',pipename,fname))
Stream #0:0: Video: rawvideo ([10][0]1Y / 0x5931000A), gray10be, 480x640, 2457600 kb/s, 500 fps, 500 tbr, 500 tbn, 500 tbcStream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))Press [q] to stop, [?] for helpOutput #0, avi, to 'video.avi': Metadata: ISFT : Lavf57.82.101 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 480x640, q=2-31, 200 kb/s, 500 fps, 500 tbn, 500 tbc Metadata: encoder : Lavc57.106.101 mpeg4
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/b2a4c6eb-b8b1-46e2-80d7-413e3b21f249%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/4d4d5474-f18f-4f11-a4d9-e6f2e5705634%40googlegroups.com.
-vcodec libx264 -preset veryslow -crf 0
-vcodec mpeg4
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/90d88e49-4884-4a7a-85a0-02856e7d4460%40googlegroups.com.
I went down this road initially because I could do exactly that (32 channels ephys recording + 500fps usb camera recording) on a previous setup, although using Open Ephys instead of Blackrock.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/f416e5d8-fb2a-425a-86cc-7cef96e290e4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/72249872-5864-4bbf-ac75-98a86c4a410dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/CAGV1SG%2BLHxQsdz9Ryxa7sPM__Gus_zXdY2%3DmGt7BS8BMNOJjgg%40mail.gmail.com.