import 4.code.about;

class Header {

public void title() {

String fullTitle = '/wsr/';
}

public void menu();

public void board();

public void goToBottom();

}
class Thread extends Board {
public void PHP + ffmpeg(OP Anonymous) {

String fullTitle = 'PHP + ffmpeg';
int postNumber = 1456947;
String image = '1713540490269388.jpg';
String date = '04/19/24(Fri)11:28:10';
String comment = 'I'm creating a website where u can upload videos.
Need to create the thumbnail of uploaded video.
So I installed ffmpeg on my Ubuntu server and tried different php tutorial scripts to create the thumb but none of them return any thumbnail file. It doesnt get generated no matter what kinda script I use. Here's one for instance:


>$ffmpeg = "usr/bin/ffmpeg";
>$img_name = "var/www/html/1.jpg";
> $file_tmp = "var/www/html//test.mp4";
>$img_size = "120x90";
> $getimgsec = 5;
>$cmd = "$ffmpeg -i $file_tmp -an -ss $getimgsec -s $img_size $img_name";
> if (shell_exec($cmd)) {
>echo "ok"; }'
;

}
public void comments() {
if(Anonymous && title=='undefined' && postNumber==1456949 && dateTime=='04/19/24(Fri)11:51:28') {

'OP here.

My folder wasnt 777 writtable

every. fucking .t ime'
;

}

}
}