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

Inherits JPanel, org.sleuthkit.autopsy.corecomponents.FrameCapture, and org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.MediaViewPanel.

Inherited by org.sleuthkit.autopsy.corecomponents.FXVideoPanel, and org.sleuthkit.autopsy.corecomponents.GstVideoPanel.

Public Member Functions

List< VideoFramecaptureFrames (File file, int numFrames) throws Exception
 
abstract String[] getExtensions ()
 
List< String > getExtensionsList ()
 
abstract List< String > getMimeTypes ()
 
abstract boolean isInited ()
 
boolean isSupported (AbstractFile file)
 

Static Public Member Functions

static MediaViewVideoPanel createVideoPanel ()
 

Static Private Member Functions

static MediaViewVideoPanel getFXImpl ()
 
static MediaViewVideoPanel getGstImpl ()
 
static boolean is64BitJVM ()
 

Static Private Attributes

static final String[] ARCH32 = new String[]{"x86"}
 
static final String[] ARCH64 = new String[]{"amd64", "x86_64"}
 
static final Set< String > AUDIO_EXTENSIONS = new TreeSet<>(Arrays.asList(".mp3", ".wav", ".wma"))
 
static final Logger logger = Logger.getLogger(MediaViewVideoPanel.class.getName())
 

Detailed Description

Video viewer part of the Media View layered pane. Uses different engines depending on platform.

Definition at line 39 of file MediaViewVideoPanel.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
static MediaViewVideoPanel org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel ( )
static
abstract String [] org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getExtensions ( )
abstract

Return the extensions supported by this video panel.

Returns

Referenced by org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getExtensionsList().

List<String> org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getExtensionsList ( )
static MediaViewVideoPanel org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getFXImpl ( )
staticprivate

Get a JavaFX video player implementation.

Returns
a FXVideoPanel

Definition at line 92 of file MediaViewVideoPanel.java.

Referenced by org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel().

static MediaViewVideoPanel org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getGstImpl ( )
staticprivate

Get a GStreamer video player implementation.

Returns
a GstVideoPanel

Definition at line 83 of file MediaViewVideoPanel.java.

Referenced by org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel().

abstract List<String> org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getMimeTypes ( )
abstract

Return the MimeTypes supported by this video panel.

Referenced by org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.isSupported().

static boolean org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.is64BitJVM ( )
staticprivate

Is the JVM architecture 64 bit?

Returns

Definition at line 73 of file MediaViewVideoPanel.java.

Referenced by org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel().

abstract boolean org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.isInited ( )
abstract
boolean org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.isSupported ( AbstractFile  file)

Although it seems too restrictive, requiring both a supported extension and a supported MIME type prevents two undesirable behaviors:

1) Until AUT-1766 and AUT-1801 are fixed, we incorrectly identify all iff files as audio/aiff. This means that if this panel went with the looser 'mime type OR extension' criteria we use for images, then this panel would attempt (and fail) to display all iff files, even non audio ones.

2) The looser criteria means we are less confident about the files we are potentialy sending to GStreamer on 32bit jvms. We are less comfortable with the error handling for GStreamer, and don't want to send it files which might cause it trouble.

Definition at line 135 of file MediaViewVideoPanel.java.

References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.detect(), org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getExtensionsList(), and org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getMimeTypes().

Referenced by org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.isPreferred(), org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.isVideoSupported(), and org.sleuthkit.autopsy.corecomponents.DataContentViewerMedia.setNode().

Member Data Documentation

final String [] org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.ARCH32 = new String[]{"x86"}
staticprivate

Definition at line 49 of file MediaViewVideoPanel.java.

final String [] org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.ARCH64 = new String[]{"amd64", "x86_64"}
staticprivate

Definition at line 46 of file MediaViewVideoPanel.java.

final Set<String> org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.AUDIO_EXTENSIONS = new TreeSet<>(Arrays.asList(".mp3", ".wav", ".wma"))
staticprivate

Definition at line 41 of file MediaViewVideoPanel.java.

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

Definition at line 43 of file MediaViewVideoPanel.java.


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

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