Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Sebastian Wikholm
Xuggle 64-bit
22. Februar 2012 22:43
Antwort

Sebastian Wikholm

Rang: Junior Member

Nachrichten: 76

Eintrittsdatum: 10. März 2011

Neue 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:

 108: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
 2com.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
 3    at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:660)
 4    at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:1)
 5    at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:128)
 6Caused 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
 7    at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.prepareVideo(LiferayVideoConverter.java:414)
 8    at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.doConvert(LiferayVideoConverter.java:174)
 9    at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.convert(LiferayVideoConverter.java:78)
10    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
Juan Gonzalez
RE: Xuggle 64-bit
22. Februar 2012 23:13
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2798

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Sebastian,

Did you test in 32 bits to confirm that?

Is the file a video file? Did you check it?
Sebastian Wikholm
RE: Xuggle 64-bit
22. Februar 2012 23:57
Antwort

Sebastian Wikholm

Rang: Junior Member

Nachrichten: 76

Eintrittsdatum: 10. März 2011

Neue 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
Juan Gonzalez
RE: Xuggle 64-bit
22. Februar 2012 23:58
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2798

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Yep, of course. You can check in 32 bit machine so we can discard that and focus in other things.
Sebastian Wikholm
RE: Xuggle 64-bit
23. Februar 2012 01:03
Antwort

Sebastian Wikholm

Rang: Junior Member

Nachrichten: 76

Eintrittsdatum: 10. März 2011

Neue 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
RE: Xuggle 64-bit
14. März 2012 01:09
Antwort

Sebastian Wikholm

Rang: Junior Member

Nachrichten: 76

Eintrittsdatum: 10. März 2011

Neue Beiträge

Anything new about this issue?
Sebastian Wikholm
RE: Xuggle 64-bit
27. März 2012 23:26
Antwort

Sebastian Wikholm

Rang: Junior Member

Nachrichten: 76

Eintrittsdatum: 10. März 2011

Neue Beiträge

Anything new about this issue?
Juan Gonzalez
RE: Xuggle 64-bit
27. März 2012 23:43
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2798

Eintrittsdatum: 28. Oktober 2008

Neue 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).