Foren

Xuggle 64-bit

Sebastian Wikholm, geändert vor 12 Jahren.

Xuggle 64-bit

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
Ive been trying to get xuggle to work on iferay 6.1 GA1 installed on a Windows Server 2008 R2 (64-bit) with jdk 1.6.0 20 64-bit(tested with 1.6.0 30 also) with mysql 5.5.20.

There is a 64-bit build available but it doesn seem to work...

when looking at the directory where the preview files should be generated, a file is created for a second but is deleted right away. the error in the log is:

08:42:14,348 ERROR [VideoProcessorImpl:448] com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to determine CODEC_TYPE_VIDEO encoder for E:\lray\tomcat-7.0.23\temp\liferay\document_preview\55013.1.0.mp4
com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to determine CODEC_TYPE_VIDEO encoder for E:\lray\tomcat-7.0.23\temp\liferay\document_preview\55013.1.0.mp4
	at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:660)
	at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:1)
	at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:128)
Caused by: java.lang.RuntimeException: Unable to determine CODEC_TYPE_VIDEO encoder for E:\lray\tomcat-7.0.23\temp\liferay\document_preview\55013.1.0.mp4
	at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.prepareVideo(LiferayVideoConverter.java:414)
	at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.doConvert(LiferayVideoConverter.java:174)
	at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.convert(LiferayVideoConverter.java:78)
	at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:657)


This seems to be a false positive, ie it doesnt get the codec of the file because the file does not exist...

Any help would be appreciated
thumbnail
Juan Gonzalez P, geändert vor 12 Jahren.

RE: Xuggle 64-bit

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Sebastian,

Did you test in 32 bits to confirm that?

Is the file a video file? Did you check it?
Sebastian Wikholm, geändert vor 12 Jahren.

RE: Xuggle 64-bit

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
I tried the 32-bit version but it doesnt like to be run on a 64-bit java, it gave another error message indicating just that

I tested a lot of different video files, mp4, wmv, avis with different codecs. All of them failed the same way
thumbnail
Juan Gonzalez P, geändert vor 12 Jahren.

RE: Xuggle 64-bit

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Yep, of course. You can check in 32 bit machine so we can discard that and focus in other things.
Sebastian Wikholm, geändert vor 12 Jahren.

RE: Xuggle 64-bit

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
Ok I can confirm that the 32-bit version works as intended.. (btw my messageboard problem at (http://www.liferay.com/community/forums/-/message_boards/message/12651700) persist even on the 32-bit version

The 64-bit version is downloaded here:
http://code.google.com/p/xuggle/issues/detail?id=240

the file:
http://xuggle.googlecode.com/issues/attachment?aid=2400010000&name=xuggle_3_4_64bit.rar&token=ledgzhzvZ4hoxxpPMwNvXaLiXUc%3A1329987731359

Might be something missing in 64-bit version?
Sebastian Wikholm, geändert vor 12 Jahren.

RE: Xuggle 64-bit

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
Anything new about this issue?
Sebastian Wikholm, geändert vor 11 Jahren.

RE: Xuggle 64-bit

Regular Member Beiträge: 104 Beitrittsdatum: 10.03.11 Neueste Beiträge
Anything new about this issue?
thumbnail
Juan Gonzalez P, geändert vor 11 Jahren.

RE: Xuggle 64-bit

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Nop. I guess it's a matter of right installation. Just check where you have to place the files and what environment variables you have to set for your windows 64 bits environment (you have to install for yourself instead the .exe that installs automatically).

If not, you can compile for your environment (using 3.4 sources of course).