To allow your users to upload videos directly from the devices you need to configure videos component.
Here you need to configure ffmpeg tools. You need to ask your hosting provider about the ffmpeg tools path. You need latest version of ffmpeg at least 4.x
You further need to make sure by hosting provider that your hosting account have ability to execute php exec
function and can access ffmpeg
command from it.
You also need to make sure open base dir restriction are not in effect
CRON JOB
Since videos component 7.x you need to add a cron job to convert videos at the backend.
You need to ask your provider to add a cron job for you exact script command can be found on configuration page. Example
*/5 * * * * /usr/bin/php /home/abcuser/public_html/components/Videos/cron.php > /dev/null 2>&1
Where /usr/bin/php is your actual php path replace it with PHP 8.1 or 8.2 path.
*/5 * * * * is the timer to run every 5 minutes.