
Mostafa Abd-El-Hamid - 2016-02-22 12:25:20 -
In reply to message 1 from Okokoh Benjamin Ekuma
First of all, please download ffmpeg library which will be suitable to your system (Windows/Linux)
Second, get to know the path of the executable file in Windows ffmpeg.exe in Windows or ffmpeg.sh in LINUX
Third, you need to use the function and class as follows:
In your file that will output the video:
<?php
use \SaveFile\From;
require 'WebCamera.php';
\SaveFile\From\WebCamera::__init("FileName.mpg", "/Directory/Of/Putput/Path/To/Be/Combined/To/File/Name", "/Path/To/FFMPEG/File", "/Web/Camera/Driver/Name/From/ControlPanel/Or/Devices/List/In/Linux");