Does anyone know why my videos would be sent to Zencoder over and over? They are being transcoded correctly the first time.

My videos have been transcoded 10 times now!

Any ideas?

Comments

mgladding’s picture

I set up crontab to look like the example in the handbook here: http://video.heidisoft.com/documentation/configuring-video-module

Once I deleted the cron jobs, the videos stopped being uploaded over and over to Zencoder.

I'm suspecting it's the video_scheduler.php file that was causing the problem?

hypertext200’s picture

video_scheduler and cron both are working like same, no any different. Hope your post back is not properly configured, check the watchdog, can you see your receiving postback from Zencoder?

hypertext200’s picture

addition to that please check the video_zencoder entries, the status should change to 1->5->10 if success and if 1->5->2o if failed.

If you added your email then you got email notifications mutiple times, that might be a fail of postback

bbenone’s picture

I also see this, in relation to my "large file" issue here:
#932788: Problems with transferring Large Attachments to S3

My problem, which may or may not be the original poster's problem, is that it takes zencoder 40 minutes to process some of my videos, when cron is set to run every 30 min. So, Zencoder isn't done by the time cron runs, so I guess it resends.

Maybe there should be another status state that indicates it's been sent and awaiting processing?

mgladding’s picture

It's exactly the problem! I had cron running every 20 minutes and if the video hadn't finished transcoding within that 20 minute window, then the video would reupload.

I have cron set to run every hour now and since I am restricted to uploading videos of less than 120 mb, I should be pretty safe.

And in admin > Settings > Video >Cron Settings, I had to set "Total videos to convert during each cron process" to 1.

I may need this verified, but it looks like the problem occurs only when cron is launched from the crontab, not when I run cron from www.mysite.com/cron.php/

hypertext200’s picture

Please check the latest dev version for testing. This issue is been addressed.

hypertext200’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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