Foren

issue installing Xuggler

thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Please can anyone tell how to solve this issue regarding Xuggler. I have already placed this line on my portal-ext.properties----editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor as suggested by this link-----https://dev.liferay.com/discover/portal/-/knowledge_base/7-0/publishing-basic-web-content but my mp4 video cannot be previewed. So I thought may Xuggler is necessary. But while installing Xuggler I'm facing this issue. Please help.
thumbnail
David H Nebinger, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Likely means there's an OS exception in your logs probably pointing at a permissions error not being able to add the jar to ROOT/WEB-INF/lib.
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Hello David,
I'm just getting this much in my console and in my ROOT/WEB-INF/lib there is this jar present from before. Still I'm not able to preview uploaded videos. Can you please help?
thumbnail
Juan Gonzalez, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Ujjainee.

Which Liferay version and patch level do you have?
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
I'm using Liferay DXP. Sorry I dont know what is patch level. How to check it if you may please tell me then I can check and tell you.
thumbnail
Juan Gonzalez, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Ujjainee Sarkar:
I'm using Liferay DXP. Sorry I dont know what is patch level. How to check it if you may please tell me then I can check and tell you.


Ok let's guess you haven't got the required patch level.

Can you set this property in your portal-ext.properties:

xuggler.jar.url=https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/


and restart Liferay? Then try to install Xuggler again from Control Panel.
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Hello Juan,
I tried the way you wrote but to no use. Same issue is arising again.
thumbnail
Juan Gonzalez, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Then, please follow David's advice and check your logs to see what is actually happening. Probably it's an issue about permissions.
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Hello Juan and David,
I got only this information in my log regarding xuggler.
07:45:09,958 ERROR [http-nio-8080-exec-7][XugglerImpl:135] Liferay does not have the Xuggler native libraries installed. In order to generate video and audio previews, please follow the instructions for Xuggler in the Server Administration section of the Control Panel at: http://<server>/group/control_panel/manage/-/server/external-services. Error message is: no xuggle in java.library.path
07:45:16,398 INFO  [http-nio-8080-exec-1][JarUtil:79] Downloading https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar to E:\Liferay7\liferay-dxp-digital-enterprise-tomcat-7.0-sp1-20161027112321352\liferay-dxp-digital-enterprise-7.0-sp1\tomcat-8.0.32\webapps\ROOT\WEB-INF\lib\xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar</server>



Is ther no other way of previewing audios and videos other than xuggler?
thumbnail
Juan Gonzalez, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Ujjainee Sarkar:
Hello Juan and David,
I got only this information in my log regarding xuggler.
07:45:09,958 ERROR [http-nio-8080-exec-7][XugglerImpl:135] Liferay does not have the Xuggler native libraries installed. In order to generate video and audio previews, please follow the instructions for Xuggler in the Server Administration section of the Control Panel at: http://<server>/group/control_panel/manage/-/server/external-services. Error message is: no xuggle in java.library.path
07:45:16,398 INFO  [http-nio-8080-exec-1][JarUtil:79] Downloading https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar to E:\Liferay7\liferay-dxp-digital-enterprise-tomcat-7.0-sp1-20161027112321352\liferay-dxp-digital-enterprise-7.0-sp1\tomcat-8.0.32\webapps\ROOT\WEB-INF\lib\xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar</server>



Is ther no other way of previewing audios and videos other than xuggler?


Are there any other log after that part? Seems it can't download that file. Are you using any kind of proxy between your Liferay server and Internet?

About your second question: no, there aren't any other video/audio preview out of the box.
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Yes Juan,
We have our office proxy. We don't have access to open network.
thumbnail
Juan Gonzalez, geändert vor 6 Jahren.

RE: issue installing Xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Ujjainee Sarkar:
Yes Juan,
We have our office proxy. We don't have access to open network.


Ok so then you should manually download jar from here:

https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar

copy it to here:

E:\Liferay7\liferay-dxp-digital-enterprise-tomcat-7.0-sp1-20161027112321352\liferay-dxp-digital-enterprise-7.0-sp1\tomcat-8.0.32\webapps\ROOT\WEB-INF\lib\


then restart Liferay. After that, you should be able to enable Xuggler from Control Panel.
thumbnail
Ujjainee Sarkar, geändert vor 6 Jahren.

RE: issue installing Xuggler

Regular Member Beiträge: 127 Beitrittsdatum: 20.07.16 Neueste Beiträge
Thanks Juan! I will try it and let you know about the progress!!!
Gabriel Carrillo, geändert vor 6 Jahren.

RE: issue installing Xuggler

New Member Beitrag: 1 Beitrittsdatum: 22.06.17 Neueste Beiträge
Worked for me, thanks Juan!
Taruchit Goyal, geändert vor 5 Jahren.

RE: issue installing Xuggler

Junior Member Beiträge: 60 Beitrittsdatum: 16.03.18 Neueste Beiträge

Hello Gabriel,

.mp4 video is getting supported properly. However, .swf video gets loaded but does not work.
Can you suggest some ways to resolve the same?

I am unable to play the videos when count goes up from 3. Can you suggest some solution for the same?

Moreover, can you suggest a way to determine the list of file formats supported by Xuggler?

Since, Liferay 7.1 is the upcoming version, can you confirm if Xuggler is compatible with it, and if the steps for setting up the same are any different?

Thanks

Taruchit