Madhura Raut:
Juan Gonzalez P:
Madhura Raut:
Hi,
I read tht WIKI link. and performed the stpes accordingly. But currently whenever i upload a video in avi or wmv or mov format at tht time in media gallery it shows me tht video as an image. And whenever I click on tht video to preview it shows me as in the screenshot attached
Ok I know why it doesn't work for you. Xuggler needs the file extension to determine video container, so change video title and add the original file extension.
I tried what you said. But still not working at my end :-(
Here is one more thing I tried:-
I had placed portal-ext.properties in tomcat-7.0.23\webapps\ROOT\WEB-INF. So i shifted it to tomcat-7.0.23\webapps\ROOT\WEB-INF\classes and got the following errors on my log:
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorre
ct
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
11:17:35,659 ERROR [VideoProcessorImpl:366] com.liferay.portal.kernel.exception.
SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: docume
nt_thumbnail/19/251/11003/11566.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documen
tlibrary.NoSuchFileException: document_thumbnail/19/251/11003/11566.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generate
ThumbnailXuggler(VideoProcessorImpl.java:291)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generate
Video(VideoProcessorImpl.java:360)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateV
ideo(VideoProcessorImpl.java:75)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateV
ideo(VideoProcessorUtil.java:31)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageLi
stener.doReceive(VideoProcessorMessageListener.java:34)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseM
essageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
vokerMessageListener.java:65)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDes
tination.java:101)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._r
unTask(ThreadPoolExecutor.java:669)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.ru
n(ThreadPoolExecutor.java:580)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thu
mbnail/19/251/11003/11566.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore
.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(Stor
eProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.ad
dFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStore
Impl.java:98)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStore
Impl.java:171)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStore
Util.java:186)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFi
leToStore(DLPreviewableProcessor.java:184)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThum
bnailImages(VideoProcessorImpl.java:186)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generate
ThumbnailXuggler(VideoProcessorImpl.java:282)
... 10 more
In my portal-ext.properties file i have:
xuggler.enabled=true
Please sign in to flag this as inappropriate.