Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. $Q = 'cpulimit -l 200 /usr/local/bin/ffmpeg -i video.mp4 -vf drawtext="fontfile=/var/www/html/Arvo/editedvideo/fonts/'.$family.'.ttf:text=';
  2. $Q .= "'".$text."':fontcolor=".$f_color.": fontsize=".$f_size.": box=1: boxcolor=black@0: x=(w-text_w)/2: y=(h-text_h)/1.047";
  3. $Q .= '" -c:v libx264 -c:a copy -movflags +faststart '.$output.'&> /var/www/html/FirstPageRanker/editedvideo/FirstPageRankernormaltxtstream.log';
  4. $addtext = exec($Q);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement