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.


class  ExtractMedia
class  FrameCaptureRGBListener
class  VideoProgressWorker

Public Member Functions

 GstVideoPanel ()
JButton getPauseButton ()
JLabel getProgressLabel ()
JSlider getProgressSlider ()
JPanel getVideoPanel ()
VideoComponent getVideoComponent ()
boolean isInited ()
List< VideoFramecaptureFrames ( 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 () 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

Constructor & Destructor Documentation

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

Creates new form MediaViewVideoPanel

Definition at line 94 of file

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.GstVideoPanel.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 308 of file

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

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

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

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

Definition at line 801 of file org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getJFile ( AbstractFile  file)
List<String> org.sleuthkit.autopsy.corecomponents.GstVideoPanel.getMimeTypes ( )

Definition at line 806 of file

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

Definition at line 99 of file

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

Definition at line 103 of file

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

Definition at line 107 of file

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

Definition at line 115 of file

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

Definition at line 111 of file

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.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 451 of file

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

Definition at line 120 of file

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

Member Data Documentation

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

Definition at line 86 of file

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

Definition at line 89 of file

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

Definition at line 568 of file

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

Definition at line 88 of file

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

Definition at line 81 of file

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

Definition at line 72 of file

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

Definition at line 78 of file

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

Definition at line 76 of file

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

Definition at line 84 of file

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

Definition at line 85 of file

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

Definition at line 569 of file

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

Definition at line 75 of file

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

Definition at line 79 of file

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")

Definition at line 73 of file

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

Definition at line 77 of file

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

Definition at line 570 of file

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

Definition at line 87 of file

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

Definition at line 571 of file

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

Definition at line 572 of file

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

Definition at line 83 of file

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

Definition at line 573 of file

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

Definition at line 82 of file

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.