in reply to How to interpret /usr/local/bin in Windows
Instead of
my $ffmpeg = FFmpeg::Command->new('/usr/local/bin/ffmpeg');
use
my $ffmpeg = FFmpeg::Command->new('ffmpeg.exe');
or put the path to where you put ffmpeg.exe there:
my $ffmpeg = FFmpeg::Command->new('C:\\Directory\\Where\\I\\Put\\ffmpe +g.exe');
You will want to avoid whitespace in the directory names. It might be possible to simply use double quotes though:
# untested! my $ffmpeg = FFmpeg::Command->new('"C:\\Program Files\\Ffmpeg\\ffmpeg. +exe"');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to interpret /usr/local/bin in Windows
by Steve_BZ (Chaplain) on Apr 16, 2009 at 15:27 UTC |