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

Inherits org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.

Classes

class  ExtractMedia
 
class  FrameCaptureRGBListener
 
class  VideoProgressWorker
 

Public Member Functions

 GstVideoPanel ()
 
JButton getPauseButton ()
 
JLabel getProgressLabel ()
 
JSlider getProgressSlider ()
 
JPanel getVideoPanel ()
 
VideoComponent getVideoComponent ()
 
boolean isInited ()
 
List< VideoFramecaptureFrames (java.io.File file, int numFrames) throws Exception
 
String[] getExtensions ()
 
List< String > getMimeTypes ()
 
List< VideoFramecaptureFrames (File file, int numFrames) throws Exception
 

Static Public Member Functions

static MediaViewVideoPanel createVideoPanel ()
 

Private Member Functions

void customizeComponents ()
 
boolean initGst ()
 
java.io.File getJFile (AbstractFile file)
 
void initComponents ()
 
void pauseButtonActionPerformed (java.awt.event.ActionEvent evt)
 

Private Attributes

boolean gstInited
 
long durationMillis = 0
 
VideoProgressWorker videoProgressWorker
 
int totalHours
 
volatile PlayBin2 gstPlaybin2
 
VideoComponent gstVideoComponent
 
boolean autoTracking = false
 
final Object playbinLock = new Object()
 
AbstractFile currentFile
 
final Set< String > badVideoFiles = Collections.synchronizedSet(new HashSet<String>())
 
javax.swing.JPanel controlPanel
 
javax.swing.JLabel infoLabel
 
javax.swing.JButton pauseButton
 
javax.swing.JLabel progressLabel
 
javax.swing.JSlider progressSlider
 
javax.swing.JPanel videoPanel
 

Static Private Attributes

static final String[] EXTENSIONS = new String[]{".mov", ".m4v", ".flv", ".mp4", ".3gp", ".avi", ".mpg", ".mpeg", ".wmv"}
 
static final List< String > MIMETYPES = Arrays.asList("video/quicktime", "audio/mpeg", "audio/x-mpeg", "video/mpeg", "video/x-mpeg", "audio/mpeg3", "audio/x-mpeg-3", "video/x-flv", "video/mp4", "audio/x-m4a", "video/x-m4v", "audio/x-wav")
 
static final Logger logger = Logger.getLogger(GstVideoPanel.class.getName())
 
static final long MIN_FRAME_INTERVAL_MILLIS = 500
 
static final long FRAME_CAPTURE_TIMEOUT_MILLIS = 1000
 
static final String MEDIA_PLAYER_ERROR_STRING = NbBundle.getMessage(GstVideoPanel.class, "GstVideoPanel.cannotProcFile.err")
 

Detailed Description

Definition at line 71 of file GstVideoPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.GstVideoPanel.GstVideoPanel ( )

Creates new form MediaViewVideoPanel

Definition at line 94 of file GstVideoPanel.java.

Member Function Documentation

List<VideoFrame> org.sleuthkit.autopsy.corecomponents.FrameCapture.captureFrames ( File  file,
int  numFrames 
) throws Exception
inherited
Parameters
filethe video file to use
numFramesthe number of frames to capture. Note that the actual number of frames returned may be less than this number. Specifically, this may happen if the video is very short.
Returns
a list of VideoFrames representing the captured frames
List<VideoFrame> org.sleuthkit.autopsy.corecomponents.GstVideoPanel.captureFrames ( java.io.File  file,
int  numFrames 
) throws Exception
Parameters
filea video file from which to capture frames
numFramesthe number of frames to capture. These frames will be captured at successive intervals given by durationOfVideo/numFrames. If this frame interval is less than MIN_FRAME_INTERVAL_MILLIS, then only one frame will be captured and returned.
Returns
a List of VideoFrames representing the captured frames.

Definition at line 308 of file GstVideoPanel.java.

References org.sleuthkit.autopsy.corecomponents.GstVideoPanel.FrameCaptureRGBListener.getImage(), and org::sleuthkit::datamodel::AbstractContent.getName().

static MediaViewVideoPanel org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel ( )
staticinherited
void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.customizeComponents ( )
private

Should always try to synchronize any call to progressSlider.setValue() to avoid a different thread changing playbin while stateChanged() is processing

Definition at line 124 of file GstVideoPanel.java.

String [] org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getExtensions ( )

Definition at line 801 of file GstVideoPanel.java.

java.io.File org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getJFile ( AbstractFile  file)
private
List<String> org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getMimeTypes ( )

Definition at line 806 of file GstVideoPanel.java.

JButton org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getPauseButton ( )

Definition at line 99 of file GstVideoPanel.java.

JLabel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getProgressLabel ( )

Definition at line 103 of file GstVideoPanel.java.

JSlider org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getProgressSlider ( )

Definition at line 107 of file GstVideoPanel.java.

VideoComponent org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getVideoComponent ( )

Definition at line 115 of file GstVideoPanel.java.

JPanel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getVideoPanel ( )

Definition at line 111 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 451 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.initGst ( )
private
boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.isInited ( )

Definition at line 120 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.pauseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Member Data Documentation

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.autoTracking = false
private

Definition at line 86 of file GstVideoPanel.java.

final Set<String> org.sleuthkit.autopsy.corecomponents.GstVideoPanel.badVideoFiles = Collections.synchronizedSet(new HashSet<String>())
private

Definition at line 89 of file GstVideoPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.controlPanel
private

Definition at line 568 of file GstVideoPanel.java.

AbstractFile org.sleuthkit.autopsy.corecomponents.GstVideoPanel.currentFile
private

Definition at line 88 of file GstVideoPanel.java.

long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.durationMillis = 0
private

Definition at line 81 of file GstVideoPanel.java.

final String [] org.sleuthkit.autopsy.corecomponents.GstVideoPanel.EXTENSIONS = new String[]{".mov", ".m4v", ".flv", ".mp4", ".3gp", ".avi", ".mpg", ".mpeg", ".wmv"}
staticprivate

Definition at line 72 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.FRAME_CAPTURE_TIMEOUT_MILLIS = 1000
staticprivate

Definition at line 78 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.gstInited
private

Definition at line 76 of file GstVideoPanel.java.

volatile PlayBin2 org.sleuthkit.autopsy.corecomponents.GstVideoPanel.gstPlaybin2
private

Definition at line 84 of file GstVideoPanel.java.

VideoComponent org.sleuthkit.autopsy.corecomponents.GstVideoPanel.gstVideoComponent
private

Definition at line 85 of file GstVideoPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.infoLabel
private

Definition at line 569 of file GstVideoPanel.java.

final Logger org.sleuthkit.autopsy.corecomponents.GstVideoPanel.logger = Logger.getLogger(GstVideoPanel.class.getName())
staticprivate

Definition at line 75 of file GstVideoPanel.java.

final String org.sleuthkit.autopsy.corecomponents.GstVideoPanel.MEDIA_PLAYER_ERROR_STRING = NbBundle.getMessage(GstVideoPanel.class, "GstVideoPanel.cannotProcFile.err")
staticprivate

Definition at line 79 of file GstVideoPanel.java.

final List<String> org.sleuthkit.autopsy.corecomponents.GstVideoPanel.MIMETYPES = Arrays.asList("video/quicktime", "audio/mpeg", "audio/x-mpeg", "video/mpeg", "video/x-mpeg", "audio/mpeg3", "audio/x-mpeg-3", "video/x-flv", "video/mp4", "audio/x-m4a", "video/x-m4v", "audio/x-wav")
staticprivate

Definition at line 73 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.MIN_FRAME_INTERVAL_MILLIS = 500
staticprivate

Definition at line 77 of file GstVideoPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.corecomponents.GstVideoPanel.pauseButton
private

Definition at line 570 of file GstVideoPanel.java.

final Object org.sleuthkit.autopsy.corecomponents.GstVideoPanel.playbinLock = new Object()
private

Definition at line 87 of file GstVideoPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.progressLabel
private

Definition at line 571 of file GstVideoPanel.java.

javax.swing.JSlider org.sleuthkit.autopsy.corecomponents.GstVideoPanel.progressSlider
private

Definition at line 572 of file GstVideoPanel.java.

int org.sleuthkit.autopsy.corecomponents.GstVideoPanel.totalHours
private

Definition at line 83 of file GstVideoPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.GstVideoPanel.videoPanel
private

Definition at line 573 of file GstVideoPanel.java.

VideoProgressWorker org.sleuthkit.autopsy.corecomponents.GstVideoPanel.videoProgressWorker
private

Definition at line 82 of file GstVideoPanel.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.