Autopsy
4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, and org.sleuthkit.autopsy.contentviewers.MediaFileViewer.MediaViewPanel.
Classes | |
class | CircularJSliderConfiguration |
class | CircularJSliderUI |
class | ExtractMedia |
class | VideoPanelUpdater |
Public Member Functions | |
MediaPlayerPanel () throws GstException, UnsatisfiedLinkError | |
List< String > | getSupportedExtensions () |
List< String > | getSupportedMimeTypes () |
boolean | isSupported (AbstractFile file) |
Private Member Functions | |
void | customizeComponents () |
void | enableComponents (boolean isEnabled) |
void | fastForwardButtonActionPerformed (java.awt.event.ActionEvent evt) |
String | formatTime (long ns) |
double | getPlayBackRate () |
void | initComponents () |
void | playBackSpeedComboBoxActionPerformed (java.awt.event.ActionEvent evt) |
void | playButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | rewindButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | updateTimeLabel (long start, long total) |
Private Attributes | |
javax.swing.JSlider | audioSlider |
javax.swing.JPanel | buttonPanel |
javax.swing.JPanel | controlPanel |
Bus.EOS | endOfStreamListener |
Bus.ERROR | errorListener |
ExtractMedia | extractMediaWorker |
javax.swing.JButton | fastForwardButton |
JavaFxAppSink | fxAppSink |
volatile PlayBin | gstPlayBin |
javax.swing.JLabel | infoLabel |
javax.swing.JPanel | playBackPanel |
javax.swing.JComboBox< String > | playBackSpeedComboBox |
javax.swing.JLabel | playBackSpeedLabel |
javax.swing.JButton | playButton |
javax.swing.JLabel | progressLabel |
javax.swing.JSlider | progressSlider |
javax.swing.JButton | rewindButton |
final Semaphore | sliderLock |
Bus.STATE_CHANGED | stateChangeListener |
final Timer | timer = new Timer(16, new VideoPanelUpdater()) |
javax.swing.JPanel | videoPanel |
javax.swing.JLabel | VolumeIcon |
Static Private Attributes | |
static final String[] | FILE_EXTENSIONS |
static final Logger | logger = Logger.getLogger(MediaPlayerPanel.class.getName()) |
static final String | MEDIA_PLAYER_ERROR_STRING |
static final List< String > | MIME_TYPES |
static final int | PROGRESS_SLIDER_SIZE = 2000 |
static final int | SKIP_IN_SECONDS = 30 |
This is a video player that is part of the Media View layered pane. It uses GStreamer to process the video and JavaFX to display it.
Definition at line 81 of file MediaPlayerPanel.java.
org.sleuthkit.autopsy.contentviewers.MediaPlayerPanel.MediaPlayerPanel | ( | ) | throws GstException, UnsatisfiedLinkError |
Creates new form MediaViewVideoPanel
Definition at line 213 of file MediaPlayerPanel.java.
|
private |
Keep the video from automatically playing
Definition at line 221 of file MediaPlayerPanel.java.
|
private |
Definition at line 357 of file MediaPlayerPanel.java.
|
private |
Definition at line 1000 of file MediaPlayerPanel.java.
|
private |
Convert nanoseconds into an HH:MM:SS format.
Definition at line 442 of file MediaPlayerPanel.java.
|
private |
Reads the current selected playback rate from the speed combo box.
Definition at line 429 of file MediaPlayerPanel.java.
List<String> org.sleuthkit.autopsy.contentviewers.MediaPlayerPanel.getSupportedExtensions | ( | ) |
returns supported extensions (each starting with .)
Implements org.sleuthkit.autopsy.contentviewers.MediaFileViewer.MediaViewPanel.
Definition at line 368 of file MediaPlayerPanel.java.
List<String> org.sleuthkit.autopsy.contentviewers.MediaPlayerPanel.getSupportedMimeTypes | ( | ) |
Implements org.sleuthkit.autopsy.contentviewers.MediaFileViewer.MediaViewPanel.
Definition at line 373 of file MediaPlayerPanel.java.
|
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 787 of file MediaPlayerPanel.java.
boolean org.sleuthkit.autopsy.contentviewers.MediaPlayerPanel.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.
Implements org.sleuthkit.autopsy.contentviewers.MediaFileViewer.MediaViewPanel.
Definition at line 378 of file MediaPlayerPanel.java.
References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType().
|
private |
Definition at line 1044 of file MediaPlayerPanel.java.
|
private |
Definition at line 1024 of file MediaPlayerPanel.java.
|
private |
Definition at line 982 of file MediaPlayerPanel.java.
|
private |
Formats current time and total time as the following ratio: HH:MM:SS / HH:MM:SS
start | |
total |
Definition at line 420 of file MediaPlayerPanel.java.
|
private |
Definition at line 1060 of file MediaPlayerPanel.java.
|
private |
Definition at line 1061 of file MediaPlayerPanel.java.
|
private |
Definition at line 1062 of file MediaPlayerPanel.java.
|
private |
Definition at line 195 of file MediaPlayerPanel.java.
|
private |
Definition at line 193 of file MediaPlayerPanel.java.
|
private |
Definition at line 203 of file MediaPlayerPanel.java.
|
private |
Definition at line 1063 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 84 of file MediaPlayerPanel.java.
|
private |
Definition at line 192 of file MediaPlayerPanel.java.
|
private |
Definition at line 191 of file MediaPlayerPanel.java.
|
private |
Definition at line 1064 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 186 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 187 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 113 of file MediaPlayerPanel.java.
|
private |
Definition at line 1065 of file MediaPlayerPanel.java.
|
private |
Definition at line 1066 of file MediaPlayerPanel.java.
|
private |
Definition at line 1067 of file MediaPlayerPanel.java.
|
private |
Definition at line 1068 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 200 of file MediaPlayerPanel.java.
|
private |
Definition at line 1069 of file MediaPlayerPanel.java.
|
private |
Definition at line 1070 of file MediaPlayerPanel.java.
|
private |
Definition at line 1071 of file MediaPlayerPanel.java.
|
staticprivate |
Definition at line 201 of file MediaPlayerPanel.java.
|
private |
Definition at line 208 of file MediaPlayerPanel.java.
|
private |
Definition at line 194 of file MediaPlayerPanel.java.
|
private |
Definition at line 199 of file MediaPlayerPanel.java.
|
private |
Definition at line 1072 of file MediaPlayerPanel.java.
|
private |
Definition at line 1059 of file MediaPlayerPanel.java.
Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.