Autopsy  4.7.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.contentviewers.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 578 of file GstVideoPanel.java.

Member Function Documentation

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

Definition at line 625 of file GstVideoPanel.java.

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

Definition at line 671 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.contentviewers.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 620 of file GstVideoPanel.java.

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

Definition at line 585 of file GstVideoPanel.java.

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

Definition at line 591 of file GstVideoPanel.java.

Member Data Documentation

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

Definition at line 580 of file GstVideoPanel.java.

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

Definition at line 583 of file GstVideoPanel.java.

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

Definition at line 582 of file GstVideoPanel.java.

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

Definition at line 581 of file GstVideoPanel.java.


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

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