a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by Cumol
Cumol  ·  1530 days ago  ·  link  ·    ·  parent  ·  post: Why is my bash loop not working?

    Also, I suspect you're working on distilling security cam footage, a cam which is triggered by a motion sensor apparently at least 15 times per day. Did I win?

Nope. :D

It is actually some small program that accesses a webcam and saves a video after 1000 frames. They are videos of mouse behavior in a kind of place preference test that is modified to test the preference of the animals to temperature.

I wanted to switch to something easier (like micromanager) but because I started all my analysis with that (and trained a neural net to do the analysis for me using these outputs) I am just sticking with it until the project is finished.

I was thinking of using python instead as I know I could just use the natsort package to do the sorting and there is probably some python wrapper for ffmpeg like this one.





am_Unition  ·  1530 days ago  ·  link  ·  

Nice. Mice.

Yep, you could just make a wrapper script in whatever language you're comfortable renaming and/or handling everything, and pass strings to a terminal for running ffmpeg, but then bfv might kill both of us.

Up to you :/.

Edit: hahhaha I wrote this before I saw that he solved it :). OK bfv, now I know who to bother when my attempts at parallelizing processes for GPU architectures go up in possibly actual flames

user-inactivated  ·  1530 days ago  ·  link  ·  

If you really want to freak out your coworkers, put a bag of popcorn on top of the GPU.