It worked exactly once, then it stopped working, I reinstalled the dev site fresh, scanned db tables etc.

I tried 6.x-2.x-dev and also some earlier releases, same problem.

I tried the patches in http://drupal.org/node/488616

YouTube video and URL video work fine

I tried wmv, and added avi to upload file types list but got the same error: "Video type not supported"

I find the files uploaded to the tmp directory.

Comments

hypertext200’s picture

Status: Active » Postponed

please disable video_image and try, some times this happens when your using image_magic, we are trying to fix it.

decibel.places’s picture

That fixed the upload issue! But video_image was creating the thumbnails with ffmpeg. Now we will have to add them manually.

That fixed another issue too, the list of videos at /video was not working, but now it is.

BTW, my server is not running imagemagick - "The ImageAPI GD2 module is the only enabled image toolkit."

hypertext200’s picture

Yeah, this a big issue that I recently found now we are working to fix this very soon.
Thanks

decibel.places’s picture

The server is running PHP 5.2.9 with FastCGI - I know that FastCGI has been a (resolvable) issue at times - don't know if it is related to this problem

What's weird is that I was able to upload one or two videos and view the list at /video, and then it stopped working.

@#5 - yes, disabling video_image module works

hypertext200’s picture

seems video_image module incompatible with the image module, we are working on to fix that issue.

Try disabling the video_image module will that work for you. (make sure to clear cache)

hypertext200’s picture

did you install the latest version of the video module, we had such a issues, now we have fixed it and shiped with beta-1, did you see videos missed after the cron run? see whether video files at the files/video directory are they missing, and see files table is there entry foe uploaded videos?

decibel.places’s picture

@#6 yes, I posted the issue for beta-1

no, the video did not show up after cron. it got as far as thumbnailing with ffmpeg but then it came back with the not supported error

the video was uploaded to the temp directory but not moved to the files/video directory

no entries were made in the db for the attempted uploads

beta-1 uploaded one (maybe 2?) videos before it broke - and I could not get it back, even in a fresh reinstall

if it helps, this is the vid I uploaded AFTER I disabled the video_image module (site is 2 days old and still in dev)

http://faith.decibelplaces.com/videos/faith-and-hope-vs-shock-and-awe-or...

hypertext200’s picture

Can you upload videos with video_image disabled?, when cron run will that video deleted when video_image disabled?.

decibel.places’s picture

@#8 I said three times that I am able to upload the vids with video_image disabled

they are not deleted by cron

sadist’s picture

subscribe!

hypertext200’s picture

Assigned: Unassigned » hypertext200

Currently we have small problem with the video_image module and we are looking forward to fix it.

hypertext200’s picture

Status: Postponed » Fixed

See the latest release

glen201’s picture

Status: Active » Fixed

Fixed serialized node data left pointing to deleted converted video when editing auto-generated video node
Download 6.x-2.4

Enjoy
--glen

decibel.places’s picture

Version: 6.x-2.2-beta1 » 6.x-2.3
Assigned: hypertext200 » glen201

tried 6.x-2.4 and it worked fine - thanks!

sadist’s picture

i'd tried to upgrade to the latest 6.x-2.4 version. when i'm logged in as an administrator, i'm able to upload videos with the format that i'd set at the video upload settings (eg. mp4).

but when i logged in as normal user and tried to upload mp4 file, i will receive this message:

The video conversion process has failed. You might want to submit a simpler video format like mpeg or divx avi.
If the problem persists please contact website administrators.

i'd checked my setting again, but all the formats are still there.
mov,mp4,3gp,3g2,mpg,mpeg,divx,rm,flv,wmv,asf,avi

sadist’s picture

Status: Active » Fixed

.sorry. double entry.

sadist’s picture

Status: Fixed » Active

this is what i will get if i use the previous version and logged in as normal user:

The selected file 28062009.mp4 could not be uploaded. Only files with the following extensions are allowed: mov flv wmv.
Video type not supported

while my Allowed extensions are: mov,mp4,3gp,3g2,mpg,mpeg,divx,rm,flv,wmv,asf,avi

no problem if i logged in as an administrator.

decibel.places’s picture

Status: Fixed » Active

I noticed this too, testing with a .avi file - but was not a problem because I only needed to upload .wmv

FWIW I also noticed this with an earlier version, so it was not recently introduced...

glen201’s picture

Version: 6.x-2.3 » 6.x-2.4
Status: Fixed » Active

Confirmed. The allowed extensions is broken for non-admins. It appears to be hard-coded in video_upload.module.

This will be fixed in the next release, but until then, at around line 400 in the video_upload module, use:

  // get extension array
  $extensions = explode(",",variable_get('video_upload_allowed_extensions', 'mov,flv,wmv'));

  $validators = array(
    'file_validate_extensions' => array( 'csv' ),
  );
  // TODO : add file size validation
  // 'file_validate_size' => array($limits['file_size'], $limits['user_size']),


  //GMM: Fix hard-coded allowed extensions
  if (count($_POST) && $file = file_save_upload($file_field , array('file_validate_extensions' => array(implode(" ",$extensions))))) { // a file has been uploaded

--glen

sadist’s picture

thanks glen!

anyone tried the fix yet? i tried it but it doesn't help. still the same problem.

glen201’s picture

@sadist You have to make sure that you set admin/settings/video/upload to include the extensions you want, and make sure the user has the right permissions. Can you upload as a regular (non-admin) user any of the default (mov,flv,wmv) video types?

Also, you have to replace all the lines above -- there was a spelling error in the assignment for $extensions (was $extentions) that I fixed at the same time.

decibel.places’s picture

I can confirm that I am now able to upload .avi after editing the video_upload module following #19

btw I experienced the error as an "admin" user with all permissions, but not as admin/user1 - now I was able to upload the .avi file with that same user

I did not try as user1, I reserve that account for updates

glen201’s picture

Status: Active » Fixed

Fixed. Revisions after 6.x-2.4 will contain the fix.

Thanks for all your debugging help.

-- glen

Status: Fixed » Closed (fixed)

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

Tomy2007’s picture

I'm using a Drupal 5.22 with Video module 5.x-1.5 and video_image module is disable and i'm still getting error:
"The video conversion process has failed. You might want to submit a simpler video format like mpeg or divx avi.
If the problem persists please contact website administrators."

What is the problem???
I tried you described in upper posts but nothing.

EDIT:
Youtube links - working
Google links - working
URL - Video not supported

Thanks,

Tomy

hypertext200’s picture

Seems video conversion is failed, sheck the logs, and run the ffmpeg manually, then you can see where is the error.

Tomy2007’s picture

Errors:

1. strtr() [function.strtr]: The second argument is not an array in /home/campuspl/public_html/includes/common.inc on line 890.
2. Invalid argument supplied for foreach() in /home/campuspl/public_html/includes/common.inc on line 875.
3. Division by zero in /home/campuspl/public_html/video_render.php on line 214.