I am trying to use the video module in trials of 4.5 and 5 beta2, but having problems:

4.7
The movie is uploaded and all works fine. I wanted to get auto-thumbnailing set up and saw a patch on this site for the video_image.module that indicated it would allow auto-thumbnailing, but it does not work (no thumbnails are created). Does anyone know how to incorporate auto-thumbnailing into the 4.7 version? Oh, and I now get the following when I click on administer/video_image:

warning: Missing argument 2 for drupal_get_form() in /hsphere/local/home/accountName/domainName.com/includes/form.inc on line 61.

Did anyone actually get auto-thumbnailing working with 4.7 and, if so.... help !

5 beta2:
Auto-thumbnailing works fine, but the movie will not play. I noticed that it sets the file path as domainName.com/system/files etc - if I remove 'system/' and update the node then it plays without any problems. It therefore seems to either be storing the wrong file path or not allowing the 'system' path to be accessed. I have checked access control and tried looking at the code for the video module but cannot see why it is storing what appears to be the wrong file path. Files are stored in the 'files' folder within the public folders of my domain and are set to private within drupal (Garland would not fully work when I placed the files folder above the public root).

Any help available would be very much appreciated.

Comments

spooky69’s picture

Oops... I meant 4.7 in my first sentence and not 4.5...

vm’s picture

and if you switch them to a public system ?

setting the downloads to private while having the folder inside your public root wouldn't make any sense. If they are in the public root may as well make them public downloads.

spooky69’s picture

The files handling for the 4.7 site is set to public. The 5 site is set to private. This is simply where I have been trying different settings to see if it made a difference and it appears to make no difference.

The problem for 5 is the path being set to include 'system/files' and this not being found when play is clicked. The problem with 4.7 is not being able to include auto-thumbnailing. I think the latter problem was overcome, but I cannot see how to do this despite reading everything that I can find here on this subject. Acidfree appears to only use mplayer, which my hosts will not install.

vm’s picture

It does use Mplayer for auto thumbnailing of videos. If your host wont install for you, and you don't have SSH permissions on your server to compile Mplayer on your own. Then you won't be able to use this feature.

Same would hold true with Gallery2 which uses ffMpeg to grab a thumbnail of a video. ffMpeg would have to be installed to use this specific feature of Gallery2.

does acidfree not offer the ability to attach a thumbnail manually ? so that MPlayer wouldnt need to be used ?

if not; it may be worth a feature request in the acidfree module.

lunatinker’s picture

i have FFMPEG linux compiled binary that works just fine for Gallery2 redhat / CentOS
i told Gallery2 web-interface where path ffmpeg binary. inteface says ok and it works!
------------------
but for this video module. testing on windows, hoping it will work on linux ?why?
because sometimes c:\ is wrong. should type c:\\
did programmer escape "\" for windows in Drupal5? video module? Mplayer?
------------------

spooky69’s picture

I already have ffmpeg installed. I was hoping for some guidance as to getting some auto-thumbnailing working for 4.7 using video module and to get the file path problem resolved for video module on drupal 5.

Does anyone here have any ideas?

spooky69’s picture

Nobody?

spooky69’s picture

Can nobody guide me as to how I can get auto-thumbnailing working on 4.7? I have tried the various patches found here but still to no effect. When I click on video_image in admin for 4.7 I get the following:

warning: Missing argument 2 for drupal_get_form() in /hsphere/local/home/userName/domainName.com/includes/form.inc on line 61.

Assistance would be appreciated.

lunatinker’s picture

solutions and problems i had installing and configuring video module thus far:
this is a text file: http://www.spindletide.com/dev_dump/drp5_vid_module.txt
it may help people having some issues, especially localhost windows (EasyPHP2) offline Drupal5
SUMMARY: below
------------------------------------------------------
( http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html )
commandline in windows and make THUMB for frame 'x' (40 below) for flv file:
C:\\ffmpeg.exe -i xuxa.flv -an -y -f mjpeg -ss 40 -vframes 1 thumb_.jpg
-----------------------------------------------------
ffmpeg settings for web admin // admin/content/video/ffmpeg_helper
* modules/video/plugins/video_ffmpeg_helper/video_render.php configure
-------------------------------------------------------
extension=php_exif.dll THEN LOAD extension=php_gd2.dll in PHP.INI
(if it loads first, no apache death) probably not issue for linux users.
-------------------------------------------------------
Database: (yourDrupal5_db) => sessions (longtext):
Database: (yourDrupal5_db) Table: variable
-------------------------------------------------------
Seriously. there must be a more effective way to troubleshoot.