exif: only extract unknowns for lp
This is extremely slow for big MKV files, for example Signed-off-by: Varun Patil <radialapps@gmail.com>pull/807/merge
parent
f07a376c37
commit
686b399363
|
@ -12,7 +12,7 @@ class Exif
|
|||
{
|
||||
private const FORBIDDEN_EDIT_MIMES = ['image/bmp', 'image/x-dcraw', 'video/MP2T'];
|
||||
private const EXIFTOOL_TIMEOUT = 30000;
|
||||
private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-U', '-json', '--b'];
|
||||
private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-json', '--b'];
|
||||
|
||||
/** Opened instance of exiftool when running in command mode */
|
||||
private static $staticProc;
|
||||
|
@ -370,7 +370,7 @@ class Exif
|
|||
|
||||
public static function getExifWithDuplicates(string $path)
|
||||
{
|
||||
return self::getExifFromLocalPathWithSeparateProc($path, ['-G4']);
|
||||
return self::getExifFromLocalPathWithSeparateProc($path, ['-U', '-G4']);
|
||||
}
|
||||
|
||||
private static function getExiftool(): array
|
||||
|
|
Loading…
Reference in New Issue