From 640401dc818da45736bb5fdd784709a1553e38b3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Feb 2010 23:00:15 +0100 Subject: Debug Media streaming for folder with space in name. --- includes/inc_files.php | 2 +- includes/include.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/inc_files.php b/includes/inc_files.php index f6dff09..15ef491 100755 --- a/includes/inc_files.php +++ b/includes/inc_files.php @@ -28,7 +28,7 @@ function mediagetinfostream($stream = "") // Extract a thumbnail exec("rm ram/stream-tb.png"); - exec($ffmpegpath ." -y -i \"" .$stream ."\" -an -ss 00:00:05.00 -r 1 -vframes 1 -s 80x80 -f mjpeg ram/stream-tb.png"); + exec($ffmpegpath ." -y -i \"" .$stream ."\" -an -ss 00:00:05.00 -r 1 -vframes 1 -s 128x72 -f mjpeg ram/stream-tb.png"); return array($title, $info); } diff --git a/includes/include.php b/includes/include.php index 05aa4b5..157cccf 100755 --- a/includes/include.php +++ b/includes/include.php @@ -100,7 +100,7 @@ function start_stream($type, $name, $title, $desc, $qname, $qparams, $category, $cmd = "export SHELL=\"/bin/sh\";printf \"cat \\\"" .$url ."\\\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." \" | at now"; break; case 3: - $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." \" | at now"; + $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." \" | at now"; break; default: $cmd = ""; -- cgit v1.2.3