i have installed the video module, and configured everything it needs, also create a video content type with a field for the video, configured the display field for the full node with ( video ), then i have create a video content, the thumbnails are created, but when i go to preview the video it always give me this msg:

"This video is currently being processed. Please wait."

and when enabling the module there is no core video content type from video module

am using video 6.x-3.9

any ideas or can anybody make a full video tutorial for this module.

Thank you

CommentFileSizeAuthor
#20 ffmpeg version.png21.2 KBimDhaval
#20 video.png39.04 KBimDhaval

Comments

iLLin’s picture

You need to move your video_scheduler.php file to the root of your directory and put it on a cron. Right now there is no option to convert the video on the fly. I'm in the process of building that in.

iLLin’s picture

Status: Active » Closed (fixed)
shawngoldw’s picture

I have the same problem. Could you tell me if this would work?

Rather than setting a crontask traditionally I am using poormanscron module. In my cron.php I have added the line:
include_once './video_scheduler.php';

If I try to run cron through my web browser, which I know does not work I get this:

Warning: Call-time pass-by-reference has been deprecated in /home/aepi_ko/AEPiKO.com/video_scheduler.php on line 137

Warning: Call-time pass-by-reference has been deprecated in /home/aepi_ko/AEPiKO.com/video_scheduler.php on line 194
This script is only executable from the command line.

Not sure if these mean anything.

Thanks

shawngoldw’s picture

Status: Closed (fixed) » Active
hypertext200’s picture

We have fixed in DEV version,

Line 137

//change to 
_video_render_get_converted_file($job);

Line 194

//change to 
$function($job);

hypertext200’s picture

Status: Active » Fixed
eaflash’s picture

Status: Fixed » Active

heshanmw, where did you make this changes? Wich file?

hypertext200’s picture

Oh, forgot it :P
check in video_scheduler.php :)

overaph’s picture

Problem remain for me.

I changed the lines in video_scheduler.php - Don't work
I put the video_scheduler.php in root directory and I insert include_once './video_scheduler.php'; on cron.php.

I run Cron manually but don't work again...

I tried also a manual test of ffmpeg here
admin/settings/ffmpeg_wrapper/test
and this work fine...

hypertext200’s picture

Status: Active » Fixed

@overaph please symlink video_scheduler.php to root and then set up cron task on it.

overaph’s picture

Hi, i do how you said me.

I make a symlink in this way:
(on the root of my site, where there is also cron.php file)

ln sites/all/modules/video/video_scheduler.php video_scheduler.php

Now I got a symlink

I write this line in cron.php: include_once './video_scheduler.php';

Now I tried to create a content with a video but also after i execute:
http://mysite/?q=it/admin/reports/status/run-cron

The video content is still This video is currently being processed. Please wait.

I have to approch on cron in a different way?

Thank you for the support

overaph’s picture

Now I insert this line in my crontab Unix:

20     *       *       *       *       cd /drupal_site_path/ ; php video_scheduler.php 

I wait 20min but nothing happened...
Same message:
"This video is currently being processed. Please wait."

any tricks?
thank you

iLLin’s picture

Hmmm, I have never added a cd in with the command. Not to say that it wouldn't work as I do that all the time in bash scripts, I have just never done it with the crontab. Have you tried just php /abs_path/to/video_scheduler.php ?

I have been working on a new Video release 4.x that will incorporate on save conversion and I built it into the hook_cron. The reason why its not in there now is when these videos are processed, it can be very resource intensive and if you have your drupal cron setup to use wget by the http://.../cron.php url then you will get timeouts. But I will have the option there anyway to use Drupals cron for video conversion.

overaph’s picture

I tried modify line on my crontab

20     *       *       *       *  php /drupal_site_path/video_scheduler.php 

Nothing more happened...

I open file vide_scheduler.php and at line 48 I see:
include_once('./includes/bootstrap.inc');

I check, but this file don't exist in /includes directory.
I have 6.x-3.9 module version.

Do you have this file?

-----------------
[edit]
my mistake. The file is in root directory

iLLin’s picture

Yea you need to move video_scheduler.php too root or add a symlink to it.

overaph’s picture

I already do it as I said in post #11.

The symlink of video_scheduler.php is in root directory

:(

overaph’s picture

stupid question...
I have to reboot apache after all?

overaph’s picture

Finally I resolved with this at #3

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

imDhaval’s picture

Version: 6.x-3.9 » 6.x-4.1-rc4
Assigned: Unassigned » imDhaval
Status: Closed (fixed) » Active
StatusFileSize
new39.04 KB
new21.2 KB

like #3
i am using windows 7 & video 6.x-4.1-rc4
i move my video_scheduler.php file to the root of your directory
& Rather than setting a crontask traditionally I am using poormanscron module. In my cron.php I have added the line:
include_once './video_scheduler.php';

& I try to run cron through my web browser, like
"http://localhost/drupal/admin/reports/status/run-cron"

but when i create new video content, upload video, choose thumbnail n save..
it says This video is currently being processed. Please wait.

am i missing something with video_scheduler.php or cron??
please help me...

this is my cron.php file

<?php
// $Id: cron.php,v 1.36 2006/08/09 07:42:55 dries Exp $

/**
* @file
* Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
*/

include_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_cron_run();

include_once './video_scheduler.php';

hypertext200’s picture

Status: Active » Fixed

go to your video settings and enable the cron run for the video conversions, then this should be fixed.

hypertext200’s picture

Status: Fixed » Closed (fixed)
bryanb229’s picture

Thx.