Inherits org.sleuthkit.autopsy.contentviewers.MediaViewVideoPanel.
|
static MediaViewVideoPanel | createVideoPanel () |
|
|
static final String[] | EXTENSIONS = new String[]{".mov", ".m4v", ".flv", ".mp4", ".3gp", ".avi", ".mpg", ".mpeg", ".wmv"} |
|
static final long | FRAME_CAPTURE_TIMEOUT_MILLIS = 1000 |
|
static final Logger | logger = Logger.getLogger(GstVideoPanel.class.getName()) |
|
static final String | MEDIA_PLAYER_ERROR_STRING = NbBundle.getMessage(GstVideoPanel.class, "GstVideoPanel.cannotProcFile.err") |
|
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 long | MIN_FRAME_INTERVAL_MILLIS = 500 |
|
Definition at line 73 of file GstVideoPanel.java.
org.sleuthkit.autopsy.contentviewers.GstVideoPanel.GstVideoPanel |
( |
| ) |
|
List<VideoFrame> org.sleuthkit.autopsy.corecomponents.FrameCapture.captureFrames |
( |
File |
file, |
|
|
int |
numFrames |
|
) |
| throws Exception |
|
inherited |
- Parameters
-
file | the video file to use |
numFrames | the 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.GstVideoPanel.captureFrames |
( |
java.io.File |
file, |
|
|
int |
numFrames |
|
) |
| throws Exception |
static MediaViewVideoPanel org.sleuthkit.autopsy.contentviewers.MediaViewVideoPanel.createVideoPanel |
( |
| ) |
|
|
staticinherited |
Factory Method to create a MediaViewVideoPanel.
Implementation is dependent on the architecture of the JVM.
- Returns
- a MediaViewVideoPanel instance.
Definition at line 57 of file MediaViewVideoPanel.java.
void org.sleuthkit.autopsy.contentviewers.GstVideoPanel.customizeComponents |
( |
| ) |
|
|
private |
Should always try to synchronize any call to progressSlider.setValue() to avoid a different thread changing playbin while stateChanged() is processing
Definition at line 127 of file GstVideoPanel.java.
String [] org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getExtensions |
( |
| ) |
|
List<String> org.sleuthkit.autopsy.contentviewers.MediaViewVideoPanel.getExtensionsList |
( |
| ) |
|
|
inherited |
List<String> org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getMimeTypes |
( |
| ) |
|
JButton org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getPauseButton |
( |
| ) |
|
JLabel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getProgressLabel |
( |
| ) |
|
JSlider org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getProgressSlider |
( |
| ) |
|
VideoComponent org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getVideoComponent |
( |
| ) |
|
JPanel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.getVideoPanel |
( |
| ) |
|
void org.sleuthkit.autopsy.contentviewers.GstVideoPanel.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 445 of file GstVideoPanel.java.
boolean org.sleuthkit.autopsy.contentviewers.GstVideoPanel.initGst |
( |
| ) |
|
|
private |
boolean org.sleuthkit.autopsy.contentviewers.GstVideoPanel.isInited |
( |
| ) |
|
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.
void org.sleuthkit.autopsy.contentviewers.GstVideoPanel.pauseButtonActionPerformed |
( |
java.awt.event.ActionEvent |
evt | ) |
|
|
private |
boolean org.sleuthkit.autopsy.contentviewers.GstVideoPanel.autoTracking = false |
|
private |
final Set<String> org.sleuthkit.autopsy.contentviewers.GstVideoPanel.badVideoFiles = Collections.synchronizedSet(new HashSet<>()) |
|
private |
javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.controlPanel |
|
private |
AbstractFile org.sleuthkit.autopsy.contentviewers.GstVideoPanel.currentFile |
|
private |
long org.sleuthkit.autopsy.contentviewers.GstVideoPanel.durationMillis = 0 |
|
private |
final String [] org.sleuthkit.autopsy.contentviewers.GstVideoPanel.EXTENSIONS = new String[]{".mov", ".m4v", ".flv", ".mp4", ".3gp", ".avi", ".mpg", ".mpeg", ".wmv"} |
|
staticprivate |
final long org.sleuthkit.autopsy.contentviewers.GstVideoPanel.FRAME_CAPTURE_TIMEOUT_MILLIS = 1000 |
|
staticprivate |
boolean org.sleuthkit.autopsy.contentviewers.GstVideoPanel.gstInited |
|
private |
volatile PlayBin2 org.sleuthkit.autopsy.contentviewers.GstVideoPanel.gstPlaybin2 |
|
private |
VideoComponent org.sleuthkit.autopsy.contentviewers.GstVideoPanel.gstVideoComponent |
|
private |
javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.infoLabel |
|
private |
final Logger org.sleuthkit.autopsy.contentviewers.GstVideoPanel.logger = Logger.getLogger(GstVideoPanel.class.getName()) |
|
staticprivate |
final String org.sleuthkit.autopsy.contentviewers.GstVideoPanel.MEDIA_PLAYER_ERROR_STRING = NbBundle.getMessage(GstVideoPanel.class, "GstVideoPanel.cannotProcFile.err") |
|
staticprivate |
final List<String> org.sleuthkit.autopsy.contentviewers.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") |
|
staticprivate |
final long org.sleuthkit.autopsy.contentviewers.GstVideoPanel.MIN_FRAME_INTERVAL_MILLIS = 500 |
|
staticprivate |
javax.swing.JButton org.sleuthkit.autopsy.contentviewers.GstVideoPanel.pauseButton |
|
private |
final Object org.sleuthkit.autopsy.contentviewers.GstVideoPanel.playbinLock = new Object() |
|
private |
javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.progressLabel |
|
private |
javax.swing.JSlider org.sleuthkit.autopsy.contentviewers.GstVideoPanel.progressSlider |
|
private |
int org.sleuthkit.autopsy.contentviewers.GstVideoPanel.totalHours |
|
private |
javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.GstVideoPanel.videoPanel |
|
private |
The documentation for this class was generated from the following file:
- /home/carriersleuth/repos/autopsy/Core/src/org/sleuthkit/autopsy/contentviewers/GstVideoPanel.java