suasive
Active member
I have a PHP File uploader, like this one
		
		
	
	
		
	
Every time I upload a file it gives me this error.
		
	
I've tried this set of code,
	
	
	
		
But it isn't working.
I'm trying to get the server to convert the video in the background
I would love to develop something for this, any help would be much appreciated.
Ps: I already have ffmpeg install on the server
				
			
	Every time I upload a file it gives me this error.
	I've tried this set of code,
		PHP:
	
	<?php
    echo "Starting ffmpeg...\n\n";
    echo shell_exec("ffmpeg -y -i input.avi output.avi </dev/null >/dev/null 2>/var/log/ffmpeg.log &");
    echo "Done.\n";
?>
	I'm trying to get the server to convert the video in the background
I would love to develop something for this, any help would be much appreciated.
Ps: I already have ffmpeg install on the server
			
				Last edited: