Closed (fixed)
Project:
Video
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jul 2009 at 00:09 UTC
Updated:
29 Mar 2010 at 08:19 UTC
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
Comment #1
hypertext200please disable video_image and try, some times this happens when your using image_magic, we are trying to fix it.
Comment #2
decibel.places commentedThat 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."
Comment #3
hypertext200Yeah, this a big issue that I recently found now we are working to fix this very soon.
Thanks
Comment #4
decibel.places commentedThe 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
Comment #5
hypertext200seems 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)
Comment #6
hypertext200did 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?
Comment #7
decibel.places commented@#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...
Comment #8
hypertext200Can you upload videos with video_image disabled?, when cron run will that video deleted when video_image disabled?.
Comment #9
decibel.places commented@#8 I said three times that I am able to upload the vids with video_image disabled
they are not deleted by cron
Comment #10
sadist commentedsubscribe!
Comment #11
hypertext200Currently we have small problem with the video_image module and we are looking forward to fix it.
Comment #12
hypertext200See the latest release
Comment #13
glen201 commentedFixed serialized node data left pointing to deleted converted video when editing auto-generated video node
Download 6.x-2.4
Enjoy
--glen
Comment #14
decibel.places commentedtried 6.x-2.4 and it worked fine - thanks!
Comment #15
sadist commentedi'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
Comment #16
sadist commented.sorry. double entry.
Comment #17
sadist commentedthis 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.
Comment #18
decibel.places commentedI 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...
Comment #19
glen201 commentedConfirmed. 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:
--glen
Comment #20
sadist commentedthanks glen!
anyone tried the fix yet? i tried it but it doesn't help. still the same problem.
Comment #21
glen201 commented@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.
Comment #22
decibel.places commentedI 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
Comment #23
glen201 commentedFixed. Revisions after 6.x-2.4 will contain the fix.
Thanks for all your debugging help.
-- glen
Comment #25
Tomy2007 commentedI'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
Comment #26
hypertext200Seems video conversion is failed, sheck the logs, and run the ffmpeg manually, then you can see where is the error.
Comment #27
Tomy2007 commentedErrors:
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.