Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.coreutils.VideoUtils Class Reference

Static Public Member Functions

static List< String > getSupportedVideoExtensions ()
 
static SortedSet< String > getSupportedVideoMimeTypes ()
 
static File getTempVideoFile (AbstractFile file)
 
static File getVideoFileInTempDir (AbstractFile file) throws NoCurrentCaseException
 
static boolean isVideoThumbnailSupported (AbstractFile file)
 

Private Member Functions

 VideoUtils ()
 

Static Private Attributes

static final int CV_CAP_PROP_FPS = 5
 
static final int CV_CAP_PROP_FRAME_COUNT = 7
 
static final int CV_CAP_PROP_POS_MSEC = 0
 
static final double[] FRAME_GRAB_POS_RATIO = { 0.50, 0.25, 0.75, 0.01 }
 
static final List< String > SUPPORTED_VIDEO_EXTENSIONS
 
static final SortedSet< String > SUPPORTED_VIDEO_MIME_TYPES
 

Detailed Description

Definition at line 46 of file VideoUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.VideoUtils.VideoUtils ( )
private

Definition at line 91 of file VideoUtils.java.

Member Function Documentation

static List<String> org.sleuthkit.autopsy.coreutils.VideoUtils.getSupportedVideoExtensions ( )
static
static SortedSet<String> org.sleuthkit.autopsy.coreutils.VideoUtils.getSupportedVideoMimeTypes ( )
static

Definition at line 79 of file VideoUtils.java.

static File org.sleuthkit.autopsy.coreutils.VideoUtils.getTempVideoFile ( AbstractFile  file)
static

Gets a File object in the temp directory of the current case for the given AbstractFile object.

Parameters
fileThe AbstractFile object
Returns
The File object
Deprecated:
Call getVideoFileInTempDir instead.

Definition at line 249 of file VideoUtils.java.

References org.sleuthkit.autopsy.coreutils.VideoUtils.getVideoFileInTempDir().

static File org.sleuthkit.autopsy.coreutils.VideoUtils.getVideoFileInTempDir ( AbstractFile  file) throws NoCurrentCaseException
static

Gets a File object in the temp directory of the current case for the given AbstractFile object.

Parameters
fileThe AbstractFile object
Returns
The File object
Exceptions
NoCurrentCaseExceptionIf no case is opened.

Definition at line 104 of file VideoUtils.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getTempDirectory().

Referenced by org.sleuthkit.autopsy.coreutils.VideoUtils.getTempVideoFile().

static boolean org.sleuthkit.autopsy.coreutils.VideoUtils.isVideoThumbnailSupported ( AbstractFile  file)
static

Member Data Documentation

final int org.sleuthkit.autopsy.coreutils.VideoUtils.CV_CAP_PROP_FPS = 5
staticprivate

Definition at line 85 of file VideoUtils.java.

final int org.sleuthkit.autopsy.coreutils.VideoUtils.CV_CAP_PROP_FRAME_COUNT = 7
staticprivate

Definition at line 84 of file VideoUtils.java.

final int org.sleuthkit.autopsy.coreutils.VideoUtils.CV_CAP_PROP_POS_MSEC = 0
staticprivate

Definition at line 83 of file VideoUtils.java.

final double [] org.sleuthkit.autopsy.coreutils.VideoUtils.FRAME_GRAB_POS_RATIO = { 0.50, 0.25, 0.75, 0.01 }
staticprivate

Definition at line 87 of file VideoUtils.java.

final List<String> org.sleuthkit.autopsy.coreutils.VideoUtils.SUPPORTED_VIDEO_EXTENSIONS
staticprivate
Initial value:
= Arrays.asList("mov", "m4v", "flv", "mp4", "3gp", "avi", "mpg",
"mpeg", "asf", "divx", "rm", "moov", "wmv", "vob", "dat",
"m1v", "m2v", "m4v", "mkv", "mpe", "yop", "vqa", "xmv",
"mve", "wtv", "webm", "vivo", "vc1", "seq", "thp", "san",
"mjpg", "smk", "vmd", "sol", "cpk", "sdp", "sbg", "rtsp",
"rpl", "rl2", "r3d", "mlp", "mjpeg", "hevc", "h265", "265",
"h264", "h263", "h261", "drc", "avs", "pva", "pmp", "ogg",
"nut", "nuv", "nsv", "mxf", "mtv", "mvi", "mxg", "lxf",
"lvf", "ivf", "mve", "cin", "hnm", "gxf", "fli", "flc",
"flx", "ffm", "wve", "uv2", "dxa", "dv", "cdxl", "cdg",
"bfi", "jv", "bik", "vid", "vb", "son", "avs", "paf", "mm",
"flm", "tmv", "4xm")

Definition at line 49 of file VideoUtils.java.

Referenced by org.sleuthkit.autopsy.coreutils.VideoUtils.getSupportedVideoExtensions(), and org.sleuthkit.autopsy.coreutils.VideoUtils.isVideoThumbnailSupported().

final SortedSet<String> org.sleuthkit.autopsy.coreutils.VideoUtils.SUPPORTED_VIDEO_MIME_TYPES
staticprivate
Initial value:
= new TreeSet<>(
Arrays.asList("application/x-shockwave-flash",
"video/x-m4v",
"video/x-flv",
"video/quicktime",
"video/avi",
"video/msvideo",
"video/x-msvideo",
"video/mp4",
"video/x-ms-wmv",
"video/mpeg",
"video/asf"))

Definition at line 62 of file VideoUtils.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.