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

Lags Tremendously or Not Responds when trying to pause video #824

Open
dolifino opened this issue Jan 24, 2025 · 1 comment
Open

Lags Tremendously or Not Responds when trying to pause video #824

dolifino opened this issue Jan 24, 2025 · 1 comment

Comments

@dolifino
Copy link

Important points to add in your bug report

  1. Indicate the version of BORIS (Verify you are using the last version http://www.boris.unito.it/download)

8.27.10

  1. Verify the integrity of your BORIS project using: Project > Check project integrity

"The current project has no issues"

  1. Describe the bug

When I try to play a video at normal speed, there is no lag when I pause/start a video. However, often when I bump the video speed up (to about 3- 5x) and try to pause a video, it takes a few seconds for BORIS to actually stop the video (as in, video is playing, I see a behavior and want to pause the video for a second to look at the animal's position, I hit pause, but the video keeps playing for sometimes seconds at a time before it finally pauses). Sometimes, the video never pauses, but instead the program greys out and "not responding" appears at the top left, until I wait a minute or two for BORIS to come back. Restarting my computer or BORIS doesn't help. Now sometimes BORIS works just fine and it never happens! It really is a wonderful program. Then there are other times when as soon as I load up the program and start an observation, it starts lagging as soon as I hit pause. I have no other programs running at the same time, and I get this problem whether I'm using just a laptop or dividing the widgets to two separate monitors plugged in via HDMI hub. Once I start getting lags, it sometimes helps if I restart the program, or go back a minute or two in the video and let it play out again. Has this happened to anyone else?

Steps to reproduce the issue:

  1. Start observation
  2. Increase speed to 5x
  3. Let the video play and after say, 15 seconds, hit pause
  4. BORIS either lags and the video runs for another few seconds before finally pausing, or greys out and shows "not responding" while it tries to load and catch up.

Expected behavior

I expect BORIS to be able to pause/start with minor/little lag, much like playing a video at normal speed.

Screenshots: If applicable, add screenshots to help explain your problem.

Information about your system:

  • OS: [windows 10, Ubuntu 22.04 ... ]
  • Type of BORIS installation (setup or portable ...)

OS: Windows 11
Computer Details: HP Spectre x360, 12th Gen Intel(R) Core, 32.0 GB RAM
ExampleMedia Information: Creation time: 2024-12-26 22:17:54
Resolution: 3840x2160
Number of frames: 161303850
Bitrate: 4.2 Mb
FPS: 30.0
Has video: True
Has audio: False
File size: 940.4 Mb
Video codec: H.265 / HEVC (High Efficiency Video Coding)
Audio codec: None

Total duration: 1792.265 (00:29:52.265)

In case of crash attach or copy the content of the boris.log file (before relaunching BORIS).
(see http://www.boris.unito.it/report_a_bug for its location)

@olivierfriard
Copy link
Owner

Hi,

the resolution of your video is very high (4K).
Try to re-encode/resize it (see https://www.boris.unito.it/user_guide/tools/#re-encoding-and-resizing-a-video-file)

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants