summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-23 20:31:04 +0100
committerAlib <aliboba@free.fr>2010-02-23 20:31:04 +0100
commit4308a83ce101918e7904d35e31f4bc29544c1e87 (patch)
tree081bd76d7e2dfce9bfac3b1c060c9e88259b819b
parent26aa824d469209ca18d6ae60c34fc09b484a1409 (diff)
downloadistreamdev-4308a83ce101918e7904d35e31f4bc29544c1e87.tar.gz
istreamdev-4308a83ce101918e7904d35e31f4bc29544c1e87.tar.bz2
corrected poster aspect ratio for media
-rwxr-xr-xincludes/inc_files.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/inc_files.php b/includes/inc_files.php
index cc5c1c0..817cac2 100755
--- a/includes/inc_files.php
+++ b/includes/inc_files.php
@@ -32,11 +32,11 @@ function mediagetinfostream($stream = "")
$path = dirname($stream);
if (file_exists(substr($stream, 0, -4) .".tbn"))
- exec("cp \"" .substr($stream, 0, -4) .".tbn\" ram/stream-tb-tmp.jpg; " .$ffmpegpath ." -y -i ram/stream-tb-tmp.jpg -s 128x72 ram/stream-tb.jpg");
+ exec("cp \"" .substr($stream, 0, -4) .".tbn\" ram/stream-tb-tmp.jpg; " .$ffmpegpath ." -y -i ram/stream-tb-tmp.jpg -s 128x180 ram/stream-tb.jpg");
else if (file_exists($path ."/poster.jpg"))
- exec($ffmpegpath ." -y -i \"" .$path ."/poster.jpg\" -s 128x72 ram/stream-tb.jpg");
+ exec($ffmpegpath ." -y -i \"" .$path ."/poster.jpg\" -s 128x180 ram/stream-tb.jpg");
else if (file_exists($path ."/folder.jpg"))
- exec($ffmpegpath ." -y -i \"" .$path ."/folder.jpg\" -s 128x72 ram/stream-tb.jpg");
+ exec($ffmpegpath ." -y -i \"" .$path ."/folder.jpg\" -s 128x180 ram/stream-tb.jpg");
else
exec($ffmpegpath ." -y -i \"" .$stream ."\" -an -ss 00:00:05.00 -r 1 -vframes 1 -s 128x72 -f mjpeg ram/stream-tb.png");