Quiq::File::Video - Informationen über Video-Datei
Quiq::Hash
$vid = $class->new($file,@opt);
Gib das ffprobe-Kommando auf STDOUT aus.
Instantiiere ein Video-Datei-Objekt und liefere eine Referenz auf dieses Objekt zurück.
$file = $vid->file;
Liefere den Dateinamen (Pfad) der Video-Datei.
$width = $vid->width;
Liefere die Breite des Video in Pixeln, z.B. 1920.
$height = $vid->height;
Liefere die Höhe des Video in Pixeln, z.B. 1080.
($width,$height) = $vid->size;
Liefere die Breite und Höhe des Video in Pixeln, z.B. (1920,1080).
$aspectRatio = $vid->aspectRatio;
Liefere das Seitenverhältnis des Video, z.B. '16:9'.
$bitrate = $vid->bitrate;
Liefere die Bitrate des Video in Kilobit (kb/s), z.B. 30213.
$duration = $vid->duration;
Liefere die Dauer des Video in Sekunden (millisekundengenau), z.B. 8.417.
$frames = $vid->frames;
Liefere die Anzahl der Frames des Video, z.B. 101.
$vid->analyzeFile;
Analysiere die Video-Datei mit ffprobe und weise die ermittelten Eigenschaften an die Attribute des Objektes zu.
1.130
Frank Seitz, http://fseitz.de/
Copyright (C) 2019 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.