Autopsy  4.4.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.FXVideoPanel Class Reference

Inherits org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.

Classes

class  MediaPane
 

Public Member Functions

 FXVideoPanel ()
 
List< VideoFramecaptureFrames (File file, int numFrames) throws Exception
 
List< VideoFramecaptureFrames (java.io.File file, int numFrames) throws Exception
 
String[] getExtensions ()
 
List< String > getExtensionsList ()
 
List< String > getMimeTypes ()
 
JPanel getVideoPanel ()
 
boolean isInited ()
 
boolean isSupported (AbstractFile file)
 

Static Public Member Functions

static MediaViewVideoPanel createVideoPanel ()
 

Private Member Functions

void initComponents ()
 

Private Attributes

AbstractFile currentFile
 
boolean fxInited = false
 
javafx.embed.swing.JFXPanel jFXPanel
 
MediaPane mediaPane
 

Static Private Attributes

static final String[] EXTENSIONS = new String[]{".m4v", ".fxm", ".flv", ".m3u8", ".mp4", ".aif", ".aiff", ".mp3", "m4a", ".wav"}
 
static final Logger logger = Logger.getLogger(FXVideoPanel.class.getName())
 
static final List< String > MIMETYPES = Arrays.asList("audio/x-aiff", "video/x-javafx", "video/x-flv", "application/vnd.apple.mpegurl", " audio/mpegurl", "audio/mpeg", "video/mp4", "audio/x-m4a", "video/x-m4v", "audio/x-wav")
 

Detailed Description

Video viewer part of the Media View layered pane.

Definition at line 76 of file FXVideoPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.FXVideoPanel.FXVideoPanel ( )

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.FXVideoPanel.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 645 of file FXVideoPanel.java.

static MediaViewVideoPanel org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.createVideoPanel ( )
staticinherited
String [] org.sleuthkit.autopsy.corecomponents.FXVideoPanel.getExtensions ( )

Definition at line 651 of file FXVideoPanel.java.

List<String> org.sleuthkit.autopsy.corecomponents.MediaViewVideoPanel.getExtensionsList ( )
inherited
List<String> org.sleuthkit.autopsy.corecomponents.FXVideoPanel.getMimeTypes ( )

Definition at line 656 of file FXVideoPanel.java.

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

Definition at line 104 of file FXVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.FXVideoPanel.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 160 of file FXVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.FXVideoPanel.isInited ( )

Definition at line 193 of file FXVideoPanel.java.

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

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

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

Definition at line 88 of file FXVideoPanel.java.

final String [] org.sleuthkit.autopsy.corecomponents.FXVideoPanel.EXTENSIONS = new String[]{".m4v", ".fxm", ".flv", ".m3u8", ".mp4", ".aif", ".aiff", ".mp3", "m4a", ".wav"}
staticprivate

Definition at line 80 of file FXVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.FXVideoPanel.fxInited = false
private

Definition at line 84 of file FXVideoPanel.java.

javafx.embed.swing.JFXPanel org.sleuthkit.autopsy.corecomponents.FXVideoPanel.jFXPanel
private

Definition at line 189 of file FXVideoPanel.java.

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

Definition at line 82 of file FXVideoPanel.java.

MediaPane org.sleuthkit.autopsy.corecomponents.FXVideoPanel.mediaPane
private

Definition at line 86 of file FXVideoPanel.java.

final List<String> org.sleuthkit.autopsy.corecomponents.FXVideoPanel.MIMETYPES = Arrays.asList("audio/x-aiff", "video/x-javafx", "video/x-flv", "application/vnd.apple.mpegurl", " audio/mpegurl", "audio/mpeg", "video/mp4", "audio/x-m4a", "video/x-m4v", "audio/x-wav")
staticprivate

Definition at line 81 of file FXVideoPanel.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Fri Sep 29 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.