Closed (works as designed)
Project:
Video
Version:
6.x-4.1-rc6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 11:07 UTC
Updated:
10 Sep 2011 at 04:03 UTC
Hi
I am using video ftp and wanna convert video on the fly. The thumbnails is generated well, but video is not. Can i convert video on the fly or is it still not working?
Comments
Comment #1
akolahi commentedI'm having the same issue. Video is being processed for uploaded videos, but not for ftp videos.
Comment #2
akolahi commentedSo I have been playing around with this a bit. I have been able to upload a large file (over 60MB) and it processes the thumbnails and videos perfectly. the exact same file, which already existed on the server - which is why i preferred ftp, does not transcode properly when using the ftp field.
I am migrating from another module which stored flv files on the server. I have about 50 of these so being able to use FTP is much preferred, but if that is not possible i suppose i could download them all and re-upload them.
Comment #3
dmurray commentedI'm having the same issue, even when selecting convert on save I get this message and the videos is never converted.
Comment #4
augiem commentedAfter a couple of hours of pulling my hair out, I came to the conclusion the Video module is at fault. I installed ffmpeg correctly and confirmed ffmpeg it worked through shell and just converting videos on the fly was not working.
[Edited: Removed some useless information pertaining to my investigation of the causes...]
Unfortunately, I don't even know where to start looking to fix this. I'm off to try the dev version...
[Update]
Dev version is even more bugged than this one. (To be expected of course). Just to save anyone else the trouble....
Comment #5
hypertext200@augiem dev version is redesigned to support multiple video conversion but still only work with Zencoder. The latest stable version is working fine.
Comment #6
augiem commented@heshan.lk
Unfortunately the latest stable isn't working for me (or the other posters). I think I found the source of my problems. No conversion is happening at all when "Convert video on save" is checked. (I verified by inserting a bunch of watchdog code in various functions throughout). I did get it to finally convert but only on cron by checking "Use Drupals built in cron." in Site Configuration -> Video -> Cron Settings. However, I want to convert the videos when uploaded, not on cron.
Thanks for the reply!
Comment #7
hypertext200@augiem,
The optimal way is let cron to convert videos, just add cron job and see how it goes, I can rem there is an another issue on Convert on Save is not working. I will debug and fix it if any issues.
Comment #8
augiem commented@heshan.lk
I figured it out, though I'm not 100% sure my fix is the best way to do it:
video.module, line 386-387:
I changed to:
For some reason, $element['data']['convert_video_on_save']['#value'] is never set, so it skips over and leaves $convert_video_on_save = false and it never does the conversion.
Comment #9
hypertext200@augiem,
Nice work around, I will keep eye on this.
Comment #10
mibfire commentedThis is just working for video ftp but not working for video upload!
Comment #11
mibfire commentedThe uploaded converted(cron) video will be placed into files/converted folder but videoftp converted video will be placed into files/video/converted.
Comment #12
hypertext200