Index: C:/Workspace/Smullin Design/Steve Morris/Platinum Lounge/trunk/sites/all/modules/flashvideo/flashvideo.module =================================================================== --- C:/Workspace/Smullin Design/Steve Morris/Platinum Lounge/trunk/sites/all/modules/flashvideo/flashvideo.module (revision 459) +++ C:/Workspace/Smullin Design/Steve Morris/Platinum Lounge/trunk/sites/all/modules/flashvideo/flashvideo.module (working copy) @@ -8,7 +8,6 @@ require_once(drupal_get_path('module', 'flashvideo') . '/flashvideo_objects.inc'); - /** * Implementation of hook_help() */ @@ -518,7 +517,7 @@ db_query('UPDATE {flashvideo} SET status=1 WHERE fid='.$file->fid); // Status = 1 - File is converting. if($thumbsize) { - $command = "$ffmpeg_path -y -i {$file->filepath} -vframes 1 -ss $thumbtime -an -vcodec mjpeg -f rawvideo -s " . $thumbsize->width . "x" . $thumbsize->height ." {$output_path}"; + $command = "$ffmpeg_path -y -i \"{$file->filepath}\" -vframes 1 -ss $thumbtime -an -vcodec mjpeg -f rawvideo -s " . $thumbsize->width . "x" . $thumbsize->height ." \"{$output_path}\""; } else { $command = variable_get('flashvideo_' . $node_type .'_ffmpeg_cmd', '-i @input -f flv -acodec mp3 -ar 22050 -ab 64 -ac 1 @output');