Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to xuggler generate thumbnail image for video.
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 generation might not be immediate. Do you see a thumbnail when you come back later?
Nothing.
Are Image Magick and Ghostscript need install too ?
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:
- https://github.com/liferay/liferay-portal/blob/6.2/portal-impl/src/com/liferay/portlet/documentlibrary/util/VideoProcessorImpl.java
- 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.
Powered by Liferay™