olivierfriard / BORIS

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

Can BORIS software import the original video time ? #445

Closed EinatZ closed 6 months ago

EinatZ commented 3 years ago

I started working with BORIS 8.0.10, I'm working on videos from Browning's camera traps. Is there an automatic way that the BORIS software can import the original time the video occurred? And so I can export the behaviors along with the original time of the video was shot to a CSV file.

Thank you, Einat

olivierfriard commented 3 years ago

Hi,

I do not know the Browning's camera traps. How is the original time recorded?

Olivier

On Sun, Oct 31, 2021 at 12:22 PM EinatZ @.***> wrote:

I started working with BORIS 8.0.10, I'm working on videos from Browning's camera traps. Is there an automatic way that the BORIS software can import the original time the video occurred? And so I can export the behaviors along with the original time of the video was shot to a CSV file.

Thank you, Einat

— 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/445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR2AYTPQUNYXBFCECQJTPTUJURJFANCNFSM5HCFU3TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

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

EinatZ commented 3 years ago

When I download the videos from the camera they come as MP4 files. There is the date and the time the video was shot in the bottom right corner of the video (the data I wish I could upload automatically in the BORIS software),

image

olivierfriard commented 3 years ago

Hi,

you can use the time offset parameter when creating the new observation. See https://boris.readthedocs.io/en/v7/#create-a-new-observation for details

On Tue, Nov 2, 2021 at 2:10 PM EinatZ @.***> wrote:

When I download the videos from the camera they come as MP4 files. There is the date and the time the video was shot in the bottom right corner of the video (the data I wish I could upload automatically in the BORIS software),

[image: image] https://user-images.githubusercontent.com/93473056/139852809-b9dc0368-db94-4ee2-905f-64c52b28e3ab.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/445#issuecomment-957535722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR2AYTACP7L5X7JCAFHH4LUJ7PLFANCNFSM5HCFU3TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

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

markuslog commented 3 years ago

Hi Olivier,

Thanks again for all your work on this project.

I have a related question. Specifically, it is related to the "Time offset" button within the "Edit observation" window. I understand that this "Time offset" would be very useful for, e.g., translating the timestamps of not-yet-coded events into actual clock time. In my case, however, events have already been coded before the time offset was defined. Is there a way to "shift" the time of all coded events to correspond with the offset defined in the "Edit observation" window, «after the fact»?

In the "Events-table", I see that it is possible to highlight all events (rows), click "Shift time of selected event(s)" and input the "Time value", i.e., the number of seconds which would correspond with the above-mentioned "Time offset". But when entering a Time value corresponding to a clock time, it seems like the events are shifted "so far" that they start after the video is finished. I believe this is the case, since the red flags / arrows denoting the events in the "Events-table" as they occur in the video, seem to disappear. Can you elaborate the difference between «Time offset» and «Time value»?

In any case, when having added smaller «Time offset», (i.e. "Time offsets" small enough that events are not skewed to the "outside" of the video) it seems that, when clicking events in the "Events-table", the video now jumps to the start of the video, instead of playing from the start of the event itself (or the specified "time offset for reposition"), if defined under "Preferences". Is this a bug, or is there something I am not seeing here?

image

olivierfriard commented 6 months ago

should be fixed. please reopen if not