What is the executable for the video_ffmpeg_helper_module?

robert_hanley - August 8, 2008 - 22:35
Project:Video Thumbnailer
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Greetings,

I keep getting the infamous set the correct path (in the ffmpeg admin form) for all variations of my path to the ffmpeg module except for sites/all/modules/video/plugins/video_ffmpeg_helper. However, when I upload a video, debug messages tell me

"sh: line 1: sites/all/modules/video/plugins/video_ffmpeg_helper/: is a directory"

and looks like it uses this entered path to build the command string reporting:

"video_ffmpeg_helper: Thumbnailer command: sites/all/modules/video/plugins/video_ffmpeg_helper/ -i '/tmp/video/vearth3.mpg' -an -y -f "

My hosting provider does not allow access to user/bin nor command line access to grab the source distribution and build the project. Since the form validation is looking for a full path to ffmpeg including the executable, what is the executable module? I tried putting the video_scheduler.php script in the path text field to no avail. I included the video_scheduler.php script reference before the -i option that is included on command line execution but that bombs as well. It looks like the video_scheduler_main in video_scheduler is what should be called to kick off auto thumbing but where can I reference it?

thanks

#1

robert_hanley - August 8, 2008 - 22:56

Update:

Apparently I had a problem spelling scheduler. I've been able to set the exectuable path in the admin form to:

sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php

Under video thumbnailer options I have:

/web/cgi-bin/php5 $HOME/html/drupal/video_scheduler.php -i %videofile -an -y -f mjpeg -ss %seek -vframes 1 %thumbfile

this set up returns the following debug errors:

sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 1: ?php: No such file or directory
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 2: //: is a directory
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 4: /Packages: Permission denied
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 5: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 6: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 7: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 8: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 9: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 10: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 11: 401.html: command not found
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 12: syntax error near unexpected token `newline'
sites/all/modules/video/plugins/video_ffmpeg_helper/video_scheduler.php: line 12: ` * @author Fabio Varesano '

Which tells me it doesn't seem to be expecting a php source file. Is a binary executable the only option here?

thanks

 
 

Drupal is a registered trademark of Dries Buytaert.