i’v been struggling with avconv, exec, chown and all that sh*ts this last two days!
’cause i was trying to preform a exec to avconv to create some screencaps and the command was in two lines…
echo $avconScreenScroll = 'avconv -i '.$destFolder.'/' . $dataVideos['videos'][$key]['videoFilename'] . ' -vsync 1 -s 150x100 -qscale 1 -r 1 -an -y ' . $screencapsDir . '/scroll/img%03d.jpg'; exec($avconScreenScroll);