Autopsy  4.0
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.


class  MediaPane

Public Member Functions

 FXVideoPanel ()
List< VideoFramecaptureFrames (File file, int numFrames) throws Exception
List< VideoFramecaptureFrames ( 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/", " 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 77 of file

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
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.
a list of VideoFrames representing the captured frames
List<VideoFrame> org.sleuthkit.autopsy.corecomponents.FXVideoPanel.captureFrames (  file,
int  numFrames 
) throws Exception
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.
a List of VideoFrames representing the captured frames.

Definition at line 646 of file

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

Definition at line 652 of file

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

Definition at line 657 of file

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

Definition at line 105 of file

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

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 161 of file

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

Definition at line 194 of file

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

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

Definition at line 89 of file

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

Definition at line 81 of file

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

Definition at line 85 of file

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

Definition at line 190 of file

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

Definition at line 83 of file

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

Definition at line 87 of file

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

Definition at line 82 of file

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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.