A few MP4 videos are not playing
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Some MP4 videos are not functioning correctly.
-
Steps to Reproduce:
1) Startup Liferay 7.3 SP1
2) Install Xuggler.
3) Upload some MP4 videos
Expected Behavior: All the videos should be played.
Observed Behavior: While some videos are playing, others are not.
Resolution
- The observed behavior is a known DXP issue. The issue comes from Xuggler, a third-party library used to generate video previews.
- However, since Xuggler fails to encode these videos, this issue cannot be addressed at the Liferay code level. However, on DXP 7.4, FFMPEG could generate the preview for these videos using the other preview generator.
- As a result, the workaround can be:
(I) Try to convert or fix the videos: since the issue has been recorded with just a few videos, not all of them, try to create the videos in the same format or size as the ones they can play, since which videos it can encode is a limitation from Xuggler.
(II) Try to update to DXP 7.4, since the videos worked fine on that version.
Did this article resolve your issue ?