olivierfriard / BORIS

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

4 k video stutter - activating directx hardware acceleration #94

Closed charbond closed 5 years ago

charbond commented 6 years ago

I've been trying to use BORIS on a 4k video (mp4) and the video playback stutters somewhat badly. I think BORIS uses the same framework as VLC for playback, and I do have the same issue with these videos using VLC, except when I use the 64 bit version and enable DirectX Video Acceleration (DXVA) 2.0 hardware acceleration. I wonder if it's possible to active hardware acceleration in BORIS?

olivierfriard commented 6 years ago

hello, thank you for reporting this issue. BORIS uses VLC library for video playback. I will check if it is possible to activate the hardware acceleration. For now if you do not need the 4k resolution you can try to re-encode/resize your video. You can do this using BORIS (Tools > Re-encode/resize).

Olivier

On Wed, Oct 25, 2017 at 2:10 AM, charbond notifications@github.com wrote:

I've been trying to use BORIS on a 4k video (mp4) and the video playback stutters somewhat badly. I think BORIS uses the same framework as VLC for playback, and I do have the same issue with these videos using VLC, except when I use the 64 bit version and enable DirectX Video Acceleration (DXVA) 2.0 hardware acceleration. I wonder if it's possible to active hardware acceleration in BORIS?

— 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/94, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOgYqHyVbS0j5X7A2R-qBzfWiCbVIGWks5svnyQgaJpZM4QFQyp .

-- 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

charbond commented 6 years ago

Thanks for writing back so quickly! Hopefully it will be an easy fix :) Unfortunately, the videos were filmed in 4k because that was the optimal balance between area and resolution, so I can't resize the video without losing important details.