iZAP-Videos, Full featured videos plugin v3.55b

Release Notes

How do we planned stability in this version

In this version we have removed complex video conversion preset command and use simple ffmpeg command "ffmpeg -y -i [inputfile] [outfile]". I setup a testing lenny instance of a server. than simply install ffmpeg using lenny package manager. And setup elgg with izap_videos. And it was working perfectly there was not any issue. Please post your feedback. And if it works for you. than post your server environment and give us one recommendation. As we will reach to the recommendation of 20. We will change this beta release to stable one.

Special in this release:

  1. You can control plugin setting either you want to keep original video file after conversion
  2. Sqlite implementation to cut down all background processing.
  3. More control in queue management.
  4. Implemented Trash, This will just put videos in trash having any issue. it could be ffmpeg supporting libraries. Admin can delete them or can restore them after fix.
  5. Cron implementation to re-trigger queue in case of sudden interruption in the queue. You can manage cron timing according to your need.

Upgrading from previous release:

  1. Backup your database and izap_videos folder.
  2. Disable izap_videos plugin from your admin panel.
  3. Download and unzip izap_videos version 3.5 and place it in mod directory.
  4. Re-enable this new izap_videos plugin from you admin panel.
  5. You may need to re-enable ON-SERVER support from setting tab of izap_videos plugin settings.
  6. Clear simple cache.

New installation:

  1. Download and unzip the plugin in your mod dir.
  2. Enable it from admin panel.
  3. Clear simple cache.

ONSERVER Prerequisites:

  1. PDO sqlite drivers must be installed. This release and all future release will support queue management using PDO sqlite.
  2. ffmpeg and all supporting libraries.

Optional Prerequisites:

  1. notifications plugin
  2. crontrigger plugin
  3. messages plugin

Optional plugins will give you better control over izap_videos plugin. These optional plugins are only required for ONSERVER support. If you leave them, izap_videos will yet to work with its basic functionality.

Bug fixes:

  1. Access control of uploaded video.
  2. Cutdown elgg-db communications to save resources
  3. Delete video entity will also delete all related media.


  1. Elgg 1.5
  2. Elgg 1.6
  3. Elgg 1.7a
  4. Elgg 1.7

Operating system compatiblity:

  1. *nix (confirmed)
  2. Windows (Under testing)

We are releasing beta release so we could collect feedback from all of you. Post your tickets at https://izapvideos.googlecode.com

I am twitting on: http://www.twitter.com/the_izap

I am blogging at: http://www.tarunjangra.com

Follow below our group discussion:


  • I'm sorry, but 3.55beta still doesn't work for me at all. It has started with 3.53beta and nothing has changed since. While the queue with 3.52beta and earlier versions of 3.5 only was unstable, beginning with 3.53beta the uploaded videos are NOT processed anymore at all.

    The ffmpeg command parameters chosen are irrelevant. It doesn't work with the simple command or with any presets. It's not a failure of ffmpeg during video conversion. Instead the video just sits in the queue and the conversion never starts, for example for the test video:

    izap_videos_1266924254_test_video.avi   301.8 KB

    izap_videos_1266924254_test_video_c.flv 0 B

    ----> The screen shot is made with ffmpeg and also shows on the site, but the video conversion is not triggered.

    The only error message in the server log that may indicate a problem is

    Wrong datatype for second argument" in file /mod/izap_videos/lib/izapLib.php (line 106)

    Maybe the conversion never starts because of it. Following this I see

    "filesize(): stat failed for izap_videos_1266924254_test_video_c.flv" in file /mod/izap_videos/pages/actions/getQueue.php (line 35)

    Most probably this message appears due to the status update of the queue because the filesize is zero.

  • @ashwin ... the .htaccess you changed also I assume?

  • I installed the new version on test site, conversion is not working = (Thank you, that added the option delete the original files from the server, but the primary site upgrade version will not be because the conversion stops working ...

  • I added the line echo "topper hi"; to file izap_convert_video.php and conversion began to work, get 3.55 betta work for me good! The original file is deleted after the conversion, excellent! But from 5 test files that I uploaded all the converted files larger original about 2 megabytes, then what's the point in the conversion if the files are only more!

  • video conversion doesn´t work. The queue doesn´t run, it never begins to convert videos

    Queue status: Not running (1)

  • Thanks for this extraordinary plugin,  I test the new version in my site doing a fresh one not upgrading installation and it works!!  everything, video conversion, deleting original videos from the server and all I try works fine,  I´m using arvixe hosting.

    Thanks again, I would like to make a donation. Haw can I do it?

  • Lowered bitrate compressed video conversion is now approximately 3 times, everything works fine. Nice work !

  • @Abrikos: It's quite strange in your case "Topper hi". there is nothing special in this key word. But any how, i am happy it's working fine for you.

    In this release, we used very simple ffmpeg command and that is suppose to work almost every OS   environment. But yes, that may be some compromise with the quality of the video. But you can put other command parameters in plugin settings if your server supports for.

    @iionly & @Luckylucciano: Please delete "izap_queue_db" folder from your "data" directory. There are some changes in the table structure in this release. And system will not create new db file if it already existing. That only could be the issue i can think about in  your case.

    @Alex: Thanks alex. Here in india we are planning to organize some social events to help poors. We are group of 5 guys and we are doing such events from our pocket. But like you said, If you are really inerested to donate for such events,  Than you can visit to http://elgg.izap.in/pg/groups/3371/yuvashakti-welfare-socity


    We will soon launch a web site where we will put all photographs of such events. Here will be the URL "yuvashaktionline.org"

  • One more thing i would like to mention. If this plugin really helps you than post your recommendation. this will lead the project at more stable version. And most importantly l like truly negative feedbacks. Becuase that's how we will improve.
    So i would like to Thanks to all of you to make incredible izap_videos plugin.

  • Yes, I understand that this line is not what (echo "topper hi";), but without it the conversion does not work, as soon as it is inserted into the file izap_convert_video.php, the conversion starts =)) Nevertheless, this fact! Yes, I lowered the bit rate conversion, and converted files are significantly smaller. There is a problem with the player: missing buttons-full screen and turn off the sound when I click on the place the action takes place, but the buttons themselves are not visible, as shown in the image:


  • @izap

    Thanks for the hint with deleting the "izap_queue_db" folder. Conversion works now. First two videos were converted successfully. I'll test it a bit more just to make sure :-)...


    Is the "ffmpegPresetPath" also used in a Linux environment? Unfortunately, my hoster doesn't provide the hq preset (only baseline). If I could use the libx264-hq.ffpreset settings by copying the file in izap_videos/ffmpeg/presets/ it would help me a lot, because I wouldn't have to enter all settings via the admin tab.

    z-index of Video player when using "Add embed code":

    I've noticed that the video player for videos that have been embedded via "Add embed code" seems to have a very high z-index (even if the z-index seems not to be set in the code). For videos that are embedded via "Enter URL" the z-index is lower. The problem is that the video player for "Add embed code" videos is on top of everything else, for example on top of the "Embed / upload media" dialog of the embed plugin (comments) and in case of my site also on top of the canvas menu dropdown menu. Would it be possible to give the video player in case of "Add embed code" videos a lower z-index (= the same z-index as for "Enter URL" videos)?

  • deleted "izap_queue_db" folder from my "data" directory but queue status is the same

    Queue status: Not running (1)

    The server analysis is all success. Could you help me with this? Could I set up a cronjob in my server to run the queue? What script I should tell the cronjob to execute?

    Thanks in advance

  • I'm having the same issue as Luckylucciano above. I have just installed a fresh Elgg 1.6.1 and I'm trying to setup iZap 3.55b. The video file uploads and I see the video file and path in the Queue, but the conversion doesn't start. I get the Queue status: Not Running(1). I have PDO SQLite installed and FFMPEG and I have deleted "izap_queue_db" folder.

    Please help.

  • Hi, I have noticed that in the riverdashboard plugin the videos in the right column doesn´t load. The loading gif is always visible and the videos not appears.

    Any idea?


  • Hi All, 

    For multiple uploads to work I hv added the following field to "lib/settings.php" page.         'videoFile1' => array(

                    'type' => (is_plugin_enabled('izap-uploadify')) ? 'izap-uploadify' : 'file',

                    'required' => TRUE,

                    'redirect_url' => $CONFIG->wwwroot . 'pg/izap_videos/list/',


    and then modified "actions/addEdit.php" and "ONSERVER.php" pages accordingly. The upload works fine.. files are getting uploaded.. but all the videos do not appear on the "All site videos" page. Any Ideas?
    thanks in advance


  • I tryed to upgrade from a prior version. I had the problem, that my embedded videos objects where not found. Then I went back to the old version, and videos where still not available. I compared the database with a backup - the objects where still available but I found out that in elggentity_subtypes the class was changed from empty to IzapVideos . I deleted the field and now my movies ara available again.

    What can I do to use the new version with the existing embedded videos?

    One more issue: Why don't you have the size of the player either in config menue or available for change in a css file? I have a different theme and I have to reduce the size - and it is not very comfortable to do this in every upgrade again.

    But - a really nice plugin!


  • @westor:
    I need some more info. Can you tell me from which version you did this upgrade?

  • @izap 

    By what other people are saying, this sounds like a great plugin. I'm having a problem making it work though. :(

    When I upload a video (onserver), I get an error "Form is missing __token or __ts fields".

    Any ideas?


  • @Alice
    v1.7 security traps on actions...

  • @Dhrup, @izap

    So does that mean that this version is not compatible with Elgg 1.7 yet?

  • @izap,

    Iam getting "videos having error" message and videos are going under trash.

    Size: 445.62 KB

    Any ideas?

    thanks in advance

  • @Dhrup & @Altealice:
    You just need to increase max upload limit in your php.ini or .htaccess. This would make it work. This plugin is fully compatible with Elgg 1.7, 1.6 and 1.5.


  • @ashwin:
    Did you try this videos directly from command line. Just try to encode that videos from your command line and let me know results.

  • @izap,

    ok, i will let you know the results. coming back to my earlier question. I want to be able to upload multiple videos from the upload form. Could you please tell me steps to do it or is it not possible at all? Once Iam done I can send the code back to you.





We are leading elgg providers. We have implemented complex combination of applications like "elgg + elasticsearch + cloud infrastructure + comet server for active pages"


  • Category: Media
  • License: GNU General Public License (GPL) version 2
  • Updated: 2015-3-13
  • Downloads: 61760
  • Recommendations: 95

Other Projects

View iZAP's plugins