Opened 20 months ago
Last modified 16 months ago
#10344 new defect
Unable to preview video in Liferay
Reported by: | Anantrao Subhanrao Patil | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | ffmpeg |
Version: | 6.0 | Keywords: | |
Cc: | Anantrao Subhanrao Patil | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
- Install Latest FFMPEG on RHEL 8.6 OS
- Enable FFMPEG from Liferay portal
- Upload video file in Liferay DMS
- Open file .
- Below error in the logs
java.lang.Exception: FFMPEG command ffmpeg -y -i /mnt/liferay/liferay-dxp-7.4.13.u31/tomcat-9.0.56/temp/20230505064311231VTIHKGSL.mp4 -b:v 1200000 -vf scale=min(640\,iw):-2 -r 1 /mnt/liferay/liferay-dxp-7.4.13.u31/tomcat-9.0.56/temp/20230505064311233KDTHQUQF.ogv failed with exit status 1
at com.liferay.document.library.video.internal.converter.DLVideoFFMPEGVideoConverter._runFFMPEGCommand(DLVideoFFMPEGVideoConverter.java:218) ~?:?
at com.liferay.document.library.video.internal.converter.DLVideoFFMPEGVideoConverter.generateVideoPreview(DLVideoFFMPEGVideoConverter.java:72) ~?:?
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:372) ~[portal-impl.jar:?]
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:412) [portal-impl.jar:?]
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:483) [portal-impl.jar:?]
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:98) [portal-impl.jar:?]
at com.liferay.document.library.kernel.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:36) [portal-kernel.jar:?]
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.generate(VideoProcessorMessageListener.java:32) [portal-impl.jar:?]
at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36) [portal-impl.jar:?]
at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
at com.liferay.portal.messaging.internal.SerialDestination$1.run(SerialDestination.java:59) [bundleFile:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ?:1.8.0_202
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ?:1.8.0_202
at java.lang.Thread.run(Thread.java:748) ?:1.8.0_202
Attachments (3)
Change History (4)
by , 20 months ago
Attachment: | gdb_commands_output.PNG added |
---|
by , 20 months ago
Attachment: | gdb_ffmpeg.PNG added |
---|
by , 20 months ago
Attachment: | loglevel_snapshot.PNG added |
---|
comment:1 by , 16 months ago
Priority: | critical → minor |
---|