Install FFMPEG on XAMPP

Sodobni-mediji.si’s method worked, but some things need to be clarified. Download: https://rapidshare.com/#!download|934l34|422916798|php_ffmpeg_v0.6.0_for_PHP_5.3.1.rar unzip copy ffmpeg.exe somewhere and remember the path for later use move php_ffmpeg.dll to php extension dir (usually c:\xampp\php\ext) move all other files to Windows\System32 (except COPYING.GPLv3.txt, readme.txt) add extension=php_ffmpeg.dll to php.ini (usually c:\xampp\php\php.ini) restart apache with fingers crossed questions/answers http://www.apachefriends.org/f/viewtopic.php?f=16&t=41913 If you … Read more

Capture output command CMD

You can use FOR /F and go through some loops inside a batch file to capture the output: @echo off setlocal enabledelayedexpansion set var= for /f “tokens=* delims=” %%i in (‘dir /tw /-c b.bat ^| findstr /B “[0-9]”‘) do set var=!var!^ %%i echo %var% It is especially important that there are two newlines between !var!^ … Read more