scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 114  →  ?path2? @ 115
/graph.php
@@ -118,6 +118,8 @@
)
);
### Do not re-create the thumbnail if it already exists.
if(!file_exists($userPath.'.'.'jpg')) {
### Extract thumbnail.
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open($CANON_URL);
@@ -127,6 +129,9 @@
)
);
$frame->save($userPath.'.'.'jpg');
}
### Get preview image size.
list($imageWidth, $imageHeight) = getimagesize($userPath.'.'.'jpg');
### Probe video for width and height.