Autopsy  4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker Class Reference

Inherits SwingWorker< Object, Object >.

Protected Member Functions

Object doInBackground () throws Exception
 
void done ()
 

Private Member Functions

boolean hasNotEnded ()
 
boolean isPlayBinReady ()
 
void resetVideo () throws Exception
 

Private Attributes

final String durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
 
final long END_TIME_MARGIN_MS = 50
 
final long INTER_FRAME_PERIOD_MS = 20
 
long millisElapsed = 0
 

Detailed Description

Definition at line 555 of file GstVideoPanel.java.

Member Function Documentation

Object org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.doInBackground ( ) throws Exception
protected

Definition at line 602 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.done ( )
protected

Definition at line 648 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.hasNotEnded ( )
private
Returns
true while millisElapsed is greater than END_TIME_MARGIN_MS from durationMillis. This is used to indicate when the video has ended because for some videos the time elapsed never becomes equal to the reported duration of the video.

Definition at line 597 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.isPlayBinReady ( )
private

Definition at line 562 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.resetVideo ( ) throws Exception
private

Definition at line 568 of file GstVideoPanel.java.

Member Data Documentation

final String org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
private

Definition at line 557 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.END_TIME_MARGIN_MS = 50
private

Definition at line 560 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.INTER_FRAME_PERIOD_MS = 20
private

Definition at line 559 of file GstVideoPanel.java.

long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.millisElapsed = 0
private

Definition at line 558 of file GstVideoPanel.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.