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