/usr/share/perl5/SReview/Video/PNGGen.pm is in sreview-common 0.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | package SReview::Video::PNGGen;
use Moose;
use Carp;
extends 'SReview::Video';
sub readopts {
my $self = shift;
my $output = shift;
if(defined($output->video_size) && ($self->video_size ne $output->video_size)) {
carp "Video resolution does not match image resolution. Will scale, but the result may be suboptimal...";
}
return ('-loop', '1', '-framerate', $output->video_framerate, '-i', $self->url, '-f', 'lavfi', '-i', 'anullsrc=channel_layout=mono');
}
no Moose;
1;
|