[FFmpeg-user] using atempo in PHP

Jevlachov D. jevlachov at gmail.com
Mon Oct 15 12:08:14 CEST 2012


Can't figure out how to use atempo properly.

part of the script looks like this:

echo shell_exec("ffmpeg -y -i original.mp3 -filter:a
atempo=1.5 converted.mp3 2>ffmpeg.log &");

(example code taken from here
http://ffmpeg.org/trac/ffmpeg/wiki/Using%20FFmpeg%20from%20PHP%20scripts)

It returns "sh: line 1: converted.mp3: command not found" in log file.

Thanks!


More information about the ffmpeg-user mailing list