How to xuggler generate thumbnail image for video.

Jin suku, modified 7 Years ago. New Member Posts: 5 Join Date: 5/17/17 Recent Posts

Hi,

Recenly i installed xuggler for my liferay.

- Liferay Portal Community Edition 6.2 CE GA6 (Newton / Build 6205 / January 6, 2016)

- CentOS 7, Jboss 7.1.3

After few times intall error, i got success.

Setting in properties

dl.file.entry.preview.enabled=true
dl.file.entry.thumbnail.enabled=true

dl.file.entry.preview.video.mime.types=video/avi,video/mp4,video/mpeg,video/ogg,video/quicktime,video/x-flv,video/x-m4v,video/x-ms-wmv,video/x-msvideo

 

- Checked enabled xuggler on control panel.

 

But when i upload a file mp4, thumbnail image not generate. Checked log but nothing happen, no error log. File uploaded success.

Any idea ?

thumbnail
David H Nebinger, modified 7 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts

Thumbnail generation might not be immediate.  Do you see a thumbnail when you come back later?

Jin suku, modified 7 Years ago. New Member Posts: 5 Join Date: 5/17/17 Recent Posts

Nothing.

Are Image Magick and Ghostscript need install too ?

thumbnail
Sergio González, modified 7 Years ago. Expert Posts: 301 Join Date: 1/7/10 Recent Posts

Hey Jin,

You don't need Image Magick or Ghostcript. Installing Xuggler should be enough. 

I would suggest changing the logging level of the following classes to INFO to see if it provides any additional information: 

  1. https://github.com/liferay/liferay-portal/blob/6.2/portal-impl/src/com/liferay/portlet/documentlibrary/util/VideoProcessorImpl.java
  2. https://github.com/liferay/liferay-portal/blob/6.2/portal-impl/src/com/liferay/portal/xuggler/XugglerImpl.java

 

Also ensure that the portal property xuggler.enabled is set to true. 

https://github.com/liferay/liferay-portal/blob/6.2/portal-impl/src/com/liferay/portlet/documentlibrary/util/VideoProcessorImpl.java