ffmpeg - How do I confirm if a php shell_exec was completed -


i running php script using cpanel cron jobs. script using shell_exec convert video using ffmpeg. executes script , working not sending me email. trying output of shell_exec start function in php script wanted send self email make sure getting output.

for example wrote:

$command = "ffmpeg -i $og_video -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 $mp4_video";  //execute conversion $output = shell_exec($command); echo $output; 

i tested email removing shell_exec , echo $command variable. send me full string in email.

what trying accomplish if shell_exec executed else.

how check if shell_exec completed?


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -