Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to pause #92

Open
roaldarbol opened this issue Feb 4, 2022 · 3 comments
Open

Option to pause #92

roaldarbol opened this issue Feb 4, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request TGrabs Improvements/bugs in TGrabs

Comments

@roaldarbol
Copy link

Is your feature request related to a problem? Please describe.
Working with long videos (and no GPU...), it takes a long time to track videos. If I do it during the day and it's not finished by the time I'm heading home from the office I'm always in a tight spot. It would be great to have the option of pausing the tracking and then un-pausing once home.

Describe the solution you'd like
The option to pause during both TGrabs and TRex tracking.

Describe alternatives you've considered
Currently I'm working around these by leaving my laptop to track overnight. I've considered making use of a cluster al well, but my bash skills are not quite there yet I feel like.

Additional context
I have no clue whether this is easy or super tricky to implement, so if it is a bit of a hornet's nest just spend your time on better things. ;-) Also, I'm finally running good experiments and with TRex I'm generating masses of data - so a massive thanks your way! Cheers!

@roaldarbol roaldarbol added the enhancement New feature or request label Feb 4, 2022
@mooch443
Copy link
Owner

Hey, thanks for your report(s)! You can pause TRex by pressing the , button (when no textfields are selected). Unless I misunderstand what you mean by pause? TGrabs is another matter. Would it be acceptable to resume conversion? I am planning some greater changes, so adding this functionality to TGrabs might be a longer way off at the moment. I am aiming for v2.0 for this (and much more extended functions).

Glad to hear that you're able to use the tool for your purposes, though. :-) It seems you'll likely be very happy with the next update then, which will also include some performance gains (especially for laptops) ;-)

@mooch443 mooch443 added the documentation Improvements or additions to documentation label Feb 27, 2022
@mooch443 mooch443 modified the milestone: Milestone: v1.1.3 Feb 27, 2022
@mooch443 mooch443 added this to To do in Update documentation via automation Feb 27, 2022
@roaldarbol
Copy link
Author

Glad to hear that you're able to use the tool for your purposes, though. :-) It seems you'll likely be very happy with the next update then, which will also include some performance gains (especially for laptops) ;-)

Uh, looking forward to that! Indeed having a great time using TRex! :-D

Didn't know about the , pausing in TRex, good to know(!) - maybe there could be a UI button somewhere (maybe in the top bar?) to make it more accessible?

I think, yes for analysis of individual videos. Ideally, I'd still prefer the option to pause as my use is mostly batch processing. Maybe we can chat a bit about whether there would be tricks to pick up where you left off in a batch script (i.e. how are you achieving this, is something output into logs that could be read in bash or some other way around it)? '
Cause if that would be possible, then yes, absolutely, resuming would very much be exactly what is needed!

@mooch443 mooch443 added the TGrabs Improvements/bugs in TGrabs label Mar 23, 2022
@mooch443
Copy link
Owner

You have already seen the recent update, as I know. :-) There is already a button for that (pause/continue) left of the timeline, while the video is still analysing, btw!

Currently I never had the need to pause/continue conversions. Although it is technically possible with the binary video format that TRex/TGrabs use (.PV). I am not sure how reasonable this is, as you would have to match the parameters you used for converting the first bit, but I think if I just "allow" it without extended support, that'd be feasible. I would just trust the user that this is what they want. I currently imagine a -append flag and it would be able to read from an existing .PV file how far it would have gotten.

This would be incompatible with features like save_raw_movie, of course.

@mooch443 mooch443 added this to To Do in v2.0 via automation Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request TGrabs Improvements/bugs in TGrabs
Projects
Status: To Do
Development

No branches or pull requests

2 participants