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

Inherits org.sleuthkit.autopsy.contentviewers.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 79 of file FXVideoPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.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.contentviewers.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 654 of file FXVideoPanel.java.

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

Definition at line 660 of file FXVideoPanel.java.

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

Definition at line 665 of file FXVideoPanel.java.

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

Definition at line 107 of file FXVideoPanel.java.

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

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

Definition at line 202 of file FXVideoPanel.java.

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

References org.sleuthkit.autopsy.contentviewers.MediaViewVideoPanel.getExtensionsList(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType(), and org.sleuthkit.autopsy.contentviewers.MediaViewVideoPanel.getMimeTypes().

Referenced by org.sleuthkit.autopsy.contentviewers.MediaFileViewer.setFile().

Member Data Documentation

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

Definition at line 91 of file FXVideoPanel.java.

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

Definition at line 83 of file FXVideoPanel.java.

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

Definition at line 87 of file FXVideoPanel.java.

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

Definition at line 198 of file FXVideoPanel.java.

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

Definition at line 85 of file FXVideoPanel.java.

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

Definition at line 89 of file FXVideoPanel.java.

final List<String> org.sleuthkit.autopsy.contentviewers.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 84 of file FXVideoPanel.java.


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

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