olivierfriard / BORIS

Behavioral Observation Research Interactive Software
http://www.boris.unito.it
GNU General Public License v3.0
174 stars 34 forks source link

Crashes when forwarding 1 second #190

Closed JaksB closed 5 years ago

JaksB commented 5 years ago

The video 'sticks' when using the fast forward by one second option. I reduced the ethogram to one behaviour and one subject and it runs as expected. But with my normal ethogram (12ish behaviours, plus exclusion matrix) it sticks. I can't use it. Any fixes you can recommend?

olivierfriard commented 5 years ago

Hi, can you give me more details? The program crashes or the video "sticks"? What do you mean exactly by "sticks"? Did you try to resize/re-encode your video? (See Tools > Resize/re-encode)

Thanks

On Wed, Apr 3, 2019 at 10:38 AM JaksB notifications@github.com wrote:

The video 'sticks' when using the fast forward by one second option. I reduced the ethogram to one behaviour and one subject and it runs as expected. But with my normal ethogram (12ish behaviours, plus exclusion matrix) it sticks. I can't use it. Any fixes you can recommend?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/190, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOgYiGJwePzeXF_Y_ZXr-AVt2MdZhNTks5vdGh2gaJpZM4cZ7OT .

-- University of Torino Life Sciences and Systems Biology department Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://www.di.unito.it/~friard/ http://orcid.org/0000-0002-0374-9872

JaksB commented 5 years ago

Thanks for your reply Olivier. Stick, i mean it gets stuck on the frame, so although the timer shows that i am skipping forward, second by second, the image doesn't change. I haven't tried resizing - mainly because i have 60 videos to code, so would take a long time. But if i were to do that, what is the optimal size to resize to? Is it he video thats the problem, or the calculations running in the background? It worked fine when i had only 1 behaviour and 1 subject, so i wondered if it was something to do with the exclusion matirx calculations. But i have no idea how the program works!

On 3 Apr 2019, at 11:12, Olivier Friard notifications@github.com wrote:

Hi, can you give me more details? The program crashes or the video "sticks"? What do you mean exactly by "sticks"? Did you try to resize/re-encode your video? (See Tools > Resize/re-encode)

Thanks

On Wed, Apr 3, 2019 at 10:38 AM JaksB notifications@github.com wrote:

The video 'sticks' when using the fast forward by one second option. I reduced the ethogram to one behaviour and one subject and it runs as expected. But with my normal ethogram (12ish behaviours, plus exclusion matrix) it sticks. I can't use it. Any fixes you can recommend?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/190, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOgYiGJwePzeXF_Y_ZXr-AVt2MdZhNTks5vdGh2gaJpZM4cZ7OT .

-- University of Torino Life Sciences and Systems Biology department Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://www.di.unito.it/~friard/ http://orcid.org/0000-0002-0374-9872 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

olivierfriard commented 5 years ago

Hi, problems with video are mainly due to the video format. Not the video size but the format of the video. In some cases the video is not updated when the position is changed (forward/backward keys or double-click on an event). You can switch to the frame-by-frame mode or try to resize/re-encode your video (to check is the problem is due to the video format). Make some tests before starting coding. o