Hi Guys,
I'm sure this must be the simplest question out, but I've Googled it with no apparent success. It not in my wonderful Ellie Quigley "Perl by Example" so here I am.
I'm trying to use a Perl module called "command.pm" which calls the video converter "ffmpeg.exe" and it says "file not found: /usr/local/bin/ffmpeg at C:/Perl/site/lib/FFmpeg/Command.pm line 101". I guess it's looking for the .exe file, which is not on the Perl subdirectory. My question is this directory does not appear to exist on windows, so where should I put the .exe file? Here is the code:
my $h = eval {
start(
[
$self->ffmpeg,
'-y',
'-i', $self->input_file,
@{ $self->options },
$self->output_file
],
@opts,
);
};
Which doesn't show the path in question. If I scroll down further I find:
1;
__END__
=head1 NAME
FFmpeg::Command - A wrapper class for ffmpeg command line utility.
=head1 DESCRIPTION
A simple interface for using ffmpeg command line utility.
=head1 SYNOPSIS
use FFmpeg::Command;
my $ffmpeg = FFmpeg::Command->new('/usr/local/bin/ffmpeg');
$ffmpeg->input_options({
file => $input_file,
});
But this comes after __END__ and has things like "=head1 SYNOPSIS".
All ideas welcomed.
Have a good day.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.