Hi again,
I'm trying to install the video module for my site, I've managed to get the module working properly for uploads, a problem arises with the auto conversion of the uploaded file.
The video should be converted by a cron job, however upon uploading a video file the video does not appear, I think it must not be converting properly, probably due to the cron. At present the cron looks like this:
1 * * * * /usr/bin/php -O - -q http://www.mysite.com/video_scheduler.php
However, as can be seen by visiting my site (numnews.com) the video does not appear at all.
What could the problem be?
Further to this, I also get the following error messages:
warning: Illegal offset type in /home/numnews/public_html/includes/form.inc on line 593.
warning: Illegal offset type in /home/numnews/public_html/includes/form.inc on line 594.
Uploaded file is not a valid image. Only JPG, PNG and GIF files are allowed.I think this is related to the conversion problem, this also means that the auto thumb nailing feature does not work.
Does anyone have any experience with this?
Comments
I'm not sure if this helps
I'm not sure if this helps in identifying the problem but the email output from my cron tab reads:
/bin/sh: 1: command not foundThe videos still do not appear on the site, I cant figure out what the problem may be. Everything else seems to work OK.
I am having the same, for
I am having the same, for auto thumbnails.
ffmpeg is working fine at the command prompt (windows).
But not with the video module.
I am using this parameter in the video ffmpeg helper: -i %videofile -an -ss 00:00:03 -t 00:00:01 -r 1 -y -s 320x240 %thumbfile.jpg
The default parameter did not even work from the command line.
Using this parameter at the command line, it creates a jpg image from a frame.
But using this with the video module, I get the following errors displayed (but the video itself plays just fine).
* warning: Illegal offset type in isset or empty in C:\apache\htdocs\social\includes\form.inc on line 594.
* warning: Illegal offset type in C:\apache\htdocs\social\includes\form.inc on line 595.
* Uploaded file is not a valid image. Only JPG, PNG and GIF files are allowed.
* executingc:\ffmpeg\ffmpeg.exe -i "C:\php\session/video/streets of london 1975.flv"
* Your Video has been created.